MediaPortal Audio renderer - better video playback quality (5 Viewers)

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Re: AW: MediaPortal Audio renderer - better video playback quality

    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 :)).
     

    Attachments

    • mpaudiorenderer_endofstream.zip
      104.9 KB

    mironicus

    Portal Pro
    March 9, 2008
    688
    44
    AW: MediaPortal Audio renderer - better video playback quality

    tourettes

    Thank you! The new mpaudiorenderer.ax works fine with the file. But somehow the logs show this again

    24-07-2010 21:08:48.426 [ efc] rtTime: 81293.368 ms rtSampleTime: 90781.250 ms diff -9487.882 ms
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Re: AW: MediaPortal Audio renderer - better video playback quality

    @tourettes

    Thank you! The new mpaudiorenderer.ax works fine with the file. But somehow the logs show this again

    24-07-2010 21:08:48.426 [ efc] rtTime: 81293.368 ms rtSampleTime: 90781.250 ms diff -9487.882 ms

    That is completely ok. It just tells us that what ever program was used to create the mkv (or the splitter itself) is sending the audio to us quite early. Audio renderer will match those timestamps to the real stream time so the A/V sync itself should be ok.
     

    Seeco

    Portal Pro
    October 15, 2007
    241
    7
    Linköping
    Home Country
    Sweden Sweden
    OK, that fixed it :) Another question, maybe daft. It says in the install guide that "AC3 encode should be disabled". Does that refer to the AC3 decoder under "codecs" in ffdshow audio?
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    what about donations??? I'm going for holidays in couple of days, so I have to do it now :)

    I'm currently trying to search some different amplifier (5.1) models that would be suitable for the job (I don't want to buy something that is just not working in all cases) . Btw HDMI 1.4a would be good to have since it supports 3D. In few next years it could be something that MP needs to have worked on (not nescessary by me, but better to have not to upgrade again to be able to test and debug).

    For example Onkyo TX-SR308 or TX-SR508 seem quite promising (but was Onkyo the one people are having issues with Windows 7 and EDID handshake?)
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    OK, that fixed it :) Another question, maybe daft. It says in the install guide that "AC3 encode should be disabled". Does that refer to the AC3 decoder under "codecs" in ffdshow audio?

    ffdshow -> output

    In there only "16 bit integer" and "connect as PCM first" options should be selected. The PCM one is a new feature (half years? :)) and it was not there in the previous ffdshow version I had installed on my dev PC.
     

    iosub

    Portal Pro
    April 26, 2006
    572
    30
    San Sebastian
    what about donations??? I'm going for holidays in couple of days, so I have to do it now :)

    I'm currently trying to search some different amplifier (5.1) models that would be suitable for the job (I don't want to buy something that is just not working in all cases) . Btw HDMI 1.4a would be good to have since it supports 3D. In few next years it could be something that MP needs to have worked on (not nescessary by me, but better to have not to upgrade again to be able to test and debug).

    For example Onkyo TX-SR308 or TX-SR508 seem quite promising (but was Onkyo the one people are having issues with Windows 7 and EDID handshake?)
    I have an onkyo TX-NR905, no problems.. is HDMI 1.3 --

    just in case I'm out... send me a PM on how to do the donation, ok??

    Thanks
    Iosu
     

    red5goahead

    MP Donator
  • Premium Supporter
  • November 24, 2007
    695
    144
    Italy, North West
    Home Country
    Italy Italy
    Re: AW: MediaPortal Audio renderer - better video playback quality

    @tourettes

    Thank you! The new mpaudiorenderer.ax works fine with the file. But somehow the logs show this again

    24-07-2010 21:08:48.426 [ efc] rtTime: 81293.368 ms rtSampleTime: 90781.250 ms diff -9487.882 ms

    That is completely ok. It just tells us that what ever program was used to create the mkv (or the splitter itself) is sending the audio to us quite early. Audio renderer will match those timestamps to the real stream time so the A/V sync itself should be ok.

    If that kind of information is avaiable why could not display it on the video renderer display info. Could be usefully.
     

    Users who are viewing this thread

    Top Bottom