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

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

    did some quick tests. screenshot/logs attached and video details out of MPC-HC

    attachment.php

    OnkelChris. 24 fps on 60 refresh rate is not a good start... ;)
     

    OnkelChris

    Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    AW: Re: AW: MediaPortal Audio renderer - better video playback quality

    OnkelChris. 24 fps on 60 refresh rate is not a good start... ;)

    hmmm... did this on my "dev" system... what input should I use? can't change refreshrate... thought the new renderer would be capable of this..?!
     

    tourettes

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

    OnkelChris. 24 fps on 60 refresh rate is not a good start... ;)

    hmmm... did this on my "dev" system... what input should I use? can't change refreshrate... thought the new renderer would be capable of this..?!

    24 / 48 / 72 fps is not close enough for 60Hz, difference is more than 6%. More than 6% speed up / slow down is just much too noticerable so there is no point in supporting such (even when it would be technically really easy). Just think about all physical laws just "running" approx one quater faster, it will look really unnatural.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    I've tried also with 50 HZ plasma refresh rate tahn 75 Hz. but the speedup seems not active. ;)

    Please post the logs. ! stats are showing the speed up (bias non 1.0 value) but the graph indeed shows that the speed up is not done.

    Of course.

    I would say that if you check with graphedit you are seeing that some other audio renderer is used / connected to the audio decoder:

    12-07-2010 21:38:25.350 [970]WAVEFORMATEX:
    12-07-2010 21:38:25.350 [970] nAvgBytesPerSec 576000
    12-07-2010 21:38:25.351 [970] nBlockAlign 12
    12-07-2010 21:38:25.351 [970] nChannels 6
    12-07-2010 21:38:25.351 [970] nSamplesPerSec 48000
    12-07-2010 21:38:25.351 [970] wBitsPerSample 16
    12-07-2010 21:38:25.351 [970] wFormatTag 65534
    12-07-2010 21:38:25.351 [970] WAVE_FORMAT_EXTENSIBLE
    12-07-2010 21:38:25.351 [970] dwChannelMask 63
    12-07-2010 21:38:25.351 [970] GUID {00000001-0000-0010-8000-00AA00389B71}

    Make sure that ffdshow audio decoder is configured to

    1) stereo output
    2) 16 bit integer samples only
    3) SPDIF and all other passhtru are disabled

    I have updated the first post to contain audio decoder recommendation / settings.
     

    red5goahead

    MP Donator
  • Premium Supporter
  • November 24, 2007
    695
    144
    Italy, North West
    Home Country
    Italy Italy
    I would say that if you check with graphedit you are seeing that some other audio renderer is used / connected to the audio decoder:
    1) stereo output
    2) 16 bit integer samples only
    3) SPDIF and all other passhtru are disabled

    I have updated the first post to contain audio decoder recommendation / settings.

    Yes. new audio renderer is not connected.

    57759147.jpg


    But I don't understand why. I've a Dolby Digital live card so the passthrough option is not activated (never)

    Audio outside ffdshow decoder is pcm and 16 bit. I choose an Mvk with ac3 2.0 for the test.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    But I don't understand why. I've a Dolby Digital live card so the passthrough option is not activated (never)

    Only following formats were asked from the audio renderer. 00000001-0000-0010-8000-00AA00389B71 is PCM's GUID.

    WAVEFORMATEX:
    nAvgBytesPerSec 0
    nBlockAlign 0
    nChannels 6
    nSamplesPerSec 48000
    wBitsPerSample 0
    wFormatTag 0

    WAVEFORMATEX:
    nAvgBytesPerSec 0
    nBlockAlign 0
    nChannels 6
    nSamplesPerSec 48000
    wBitsPerSample 0
    wFormatTag 8192

    WAVEFORMATEX:
    nAvgBytesPerSec 576000
    nBlockAlign 12
    nChannels 6
    nSamplesPerSec 48000
    wBitsPerSample 16
    wFormatTag 65534
    WAVE_FORMAT_EXTENSIBLE
    dwChannelMask 63
    GUID {00000001-0000-0010-8000-00AA00389B71}

    WAVEFORMATEX:
    nAvgBytesPerSec 576000
    nBlockAlign 12
    nChannels 6
    nSamplesPerSec 48000
    wBitsPerSample 16
    wFormatTag 65534
    WAVE_FORMAT_EXTENSIBLE
    dwChannelMask 63
    GUID {00000001-0000-0010-8000-00AA00389B71}

    Audio outside ffdshow decoder is pcm and 16 bit. I choose an Mvk with ac3 2.0 for the test.

    Quite odd indeed.
     

    red5goahead

    MP Donator
  • Premium Supporter
  • November 24, 2007
    695
    144
    Italy, North West
    Home Country
    Italy Italy
    Ok. It's working . I force 2/0/0 stereo format in the mixed tab of ffdshow audio decoder. Now the new renderer has been connected to the filter graph. but.... :mad: :D

    The audio became out of synch , the video hastes and audio synch became worst (delayed) minutes after minutes. Note the subtitle remains perfect in synch with the video and there is not any trace of frame lost or stuttering. the Shift-1 info seems perfect.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    The audio became out of synch , the video hastes and audio synch became worst (delayed) minutes after minutes. Note the subtitle remains perfect in synch with the video and there is not any trace of frame lost or stuttering. the Shift-1 info seems perfect.

    Does that happen with all videos? Also with the 1:1 matching ones? Try if changing EnableTimestretching or UseThreadsForResampling settings make any difference.

    Also how CPU load is during the playback?
     

    red5goahead

    MP Donator
  • Premium Supporter
  • November 24, 2007
    695
    144
    Italy, North West
    Home Country
    Italy Italy
    The audio became out of synch , the video hastes and audio synch became worst (delayed) minutes after minutes. Note the subtitle remains perfect in synch with the video and there is not any trace of frame lost or stuttering. the Shift-1 info seems perfect.

    Does that happen with all videos? Also with the 1:1 matching ones? Try if changing EnableTimestretching or UseThreadsForResampling settings make any difference.

    Also how CPU load is during the playback?

    1:1 matching is not possbile for my hw so I can't test it.

    1) The issue is for all files I've tested. Remember I've a lot of experience with reclock. The cpu is loaded about for 40%.

    2) With EnableTimestretching =0 the issue is gone away. But no speedup is performed so I believe is not meaningful

    3) with UseThreadsForResampling=0 the speedup is performed but I've no audio .
     

    Henkie Flits

    Portal Pro
    November 1, 2008
    210
    44
    Home Country
    Netherlands Netherlands
    Really great development Tourettes, thanks everyone for all the hard work.

    Tourettes, can you give an indication of when multiple channel audio support will be added? When this is done I will be more then happy to test. Thanks!
     

    Users who are viewing this thread

    Top Bottom