- Thread starter
- #161
Re: AW: MediaPortal Audio renderer - better video playback quality
Ok, I think I have found the issue. Source filter / splitter is sending the end of stream even as soon as it has finished reading / splitting the file (see the physical end of the file). At that point the WASAPI (and directsound as well) buffers & client were stopped. At was happening on all files, but since audio is not as much in advance in majority of files as it was in your file (muxing related) the issue was not "visible" with other content. On most of the cases only the last second would get lost.
Please test the attached revision to see if it cures the end of audio missing issue (nothing else is fixed and no one else should bother with this binary. Especially since the binary contains a bit of extra logging - every WASAPI buffer filling request is logged
).
One possibility is that the resampling is done, please disable the resampling feature in registry.
You mean "EnableTimestretching"? I set this to 0, no change.
I also enabled FFDShow audio decoder to process uncompressed sound, so it did go into the filter chain. The same happens, the sounds goes away. Video and Audio is in synch the whole time. It just does not play the last 9-10 seconds audio. You can test it yourself now.
I can reproduce the issue on my dev PC. In exlcusive mode audio is stopped approx 9 seconds before the end of the video file (no audio / video sync drifting is happening, sounds like the audio just stops). Something weird going on...
Ok, I think I have found the issue. Source filter / splitter is sending the end of stream even as soon as it has finished reading / splitting the file (see the physical end of the file). At that point the WASAPI (and directsound as well) buffers & client were stopped. At was happening on all files, but since audio is not as much in advance in majority of files as it was in your file (muxing related) the issue was not "visible" with other content. On most of the cases only the last second would get lost.
Please test the attached revision to see if it cures the end of audio missing issue (nothing else is fixed and no one else should bother with this binary. Especially since the binary contains a bit of extra logging - every WASAPI buffer filling request is logged
Sweden