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

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    I would say to try all combinations of the following for PCM:

    • sample rates: 32.0KHz, 44.1KHz, 48.0KHz
    • bitrates: 640 kbps, 504 kbps, 448 kbps, 384 kbps, 320 kbps

    Also for Ac3 should be tested for 2.0, 5.1 and 6.1 (DD-EX). Maybe also 2.1 . long time ago was brodcasted by Sky through SkyBox
    Should follow all ffdshow audio output

    1/0/0
    2/0/0 (DD 2.0)
    3/0/0
    2/0/1
    3/0/1
    2/0/2
    3/0/2
    3/2/1
    3/2/2

    and the combination with lfe


    1/0/0 + LFE
    2/0/0 + LFE
    3/0/0 + LFE
    2/0/1 + LFE
    3/0/1 + LFE
    2/0/2 + LFE
    3/0/2 + LFE (DD 5.1)
    3/2/1 + LFE (DD-EX 6.1)
    3/2/2 + LFE (DD-EX 7.1)

    With AC3 there is no point in testing any of those. All are looking exactly the same for audio card. Only the 32 / 44.1 / 48 is different.
     

    red5goahead

    MP Donator
  • Premium Supporter
  • November 24, 2007
    695
    144
    Italy, North West
    Home Country
    Italy Italy
    I would say to try all combinations of the following for PCM:

    • sample rates: 32.0KHz, 44.1KHz, 48.0KHz
    • bitrates: 640 kbps, 504 kbps, 448 kbps, 384 kbps, 320 kbps

    Also for Ac3 should be tested for 2.0, 5.1 and 6.1 (DD-EX). Maybe also 2.1 . long time ago was brodcasted by Sky through SkyBox
    Should follow all ffdshow audio output

    1/0/0
    2/0/0 (DD 2.0)
    3/0/0
    2/0/1
    3/0/1
    2/0/2
    3/0/2
    3/2/1
    3/2/2

    and the combination with lfe


    1/0/0 + LFE
    2/0/0 + LFE
    3/0/0 + LFE
    2/0/1 + LFE
    3/0/1 + LFE
    2/0/2 + LFE
    3/0/2 + LFE (DD 5.1)
    3/2/1 + LFE (DD-EX 6.1)
    3/2/2 + LFE (DD-EX 7.1)

    With AC3 there is no point in testing any of those. All are looking exactly the same for audio card. Only the 32 / 44.1 / 48 is different.

    Off course. I mean try the audio card for 1,2,3,4,5,6 ch. Anway wait for your solution.. :D
     

    tourettes

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

    Hi,

    here are my logfiles

    There were no issues in the log.

    1) you aren't using the latest binary. Latest one should log 0.80 as the version number

    2) please provide cleaner logs. The log contained huge amount of stuff -> takes too much time to analyse it properly. Delete the log and then use as short use case as possile to reproduce the issue and save the log. Then same for the other issue.
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    Off course. I mean try the audio card for 1,2,3,4,5,6 ch. Anway wait for your solution.. :D
    The point is that when sending an AC3 bitstream the audio card does not know or care about the number of channels, speaker configuration, bit-depth or bitrate. The bitstream is sent as if it were a 16 bit stereo PCM audio stream at the corresponding sampling rate.
     

    red5goahead

    MP Donator
  • Premium Supporter
  • November 24, 2007
    695
    144
    Italy, North West
    Home Country
    Italy Italy
    Off course. I mean try the audio card for 1,2,3,4,5,6 ch. Anway wait for your solution.. :D
    The point is that when sending an AC3 bitstream the audio card does not know or care about the number of channels, speaker configuration, bit-depth or bitrate. The bitstream is sent as if it were a 16 bit stereo PCM audio stream at the corresponding sampling rate.

    ok. but tourettes should different numbers of channels to the audio renderer . or not?
    Xonar DX seems work fine with 2 ch. but not with 6 ch. in wasapi excl. event driven mode.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Off course. I mean try the audio card for 1,2,3,4,5,6 ch. Anway wait for your solution.. :D
    The point is that when sending an AC3 bitstream the audio card does not know or care about the number of channels, speaker configuration, bit-depth or bitrate. The bitstream is sent as if it were a 16 bit stereo PCM audio stream at the corresponding sampling rate.

    ok. but tourettes should different numbers of channels to the audio renderer . or not?
    Xonar DX seems work fine with 2 ch. but not with 6 ch. in wasapi excl. event driven mode.

    When using PCM then there is a difference. But when using AC3 bitstream all data is always encapsuled into stereo 16 bit stream where sample rate can be 32 / 44.1 or 48 KHz.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    WASAPI test tool is availabled for a download (took a bit more work than I expected...)

    https://forum.team-mediaportal.com/637142-post4.html

    It has shown few issues with the audio renderer

    1) speaker position data was not correct
    2) we need to query with both WAVEFORMATEXTENSIBLE and WAVEFORMATEX structs when negotiating the stream format (this doesn't make any sense to me... but I cannot write the drivers - also MSDN says that some drivers behave "oddly" :))
    3) Nvidia is as well requiring the 24 samples to be padded into 32 bit ones in some cases
     

    red5goahead

    MP Donator
  • Premium Supporter
  • November 24, 2007
    695
    144
    Italy, North West
    Home Country
    Italy Italy
    Xonar Dx driver PCI_DX_100407_6_12_8_1780Vista

    EXCLUSIVE: off EVENT DRIVEN: off
    -------------------------------------------------------------------------
    48000 16 6 576000 12 65534 22 16 63 - Format works ok
    48000 24 6 864000 18 65534 22 24 63 - Format works ok
    48000 32 6 1152000 24 65534 22 24 63 - Format works ok
    48000 32 6 1152000 24 65534 22 32 63 - Format works ok
    48000 32 6 1152000 24 65534 22 32 63 - Format works ok

    EXCLUSIVE: on EVENT DRIVEN: off
    -------------------------------------------------------------------------
    44100 16 1 88200 2 1 0 - Format works ok
    44100 16 2 176400 4 1 0 - Format works ok
    44100 16 2 176400 4 65534 22 16 3 - Format works ok
    44100 24 2 264600 6 65534 22 24 3 - Format works ok
    44100 16 4 352800 8 65534 22 16 51 - Format works ok
    44100 24 4 529200 12 65534 22 24 51 - Format works ok
    48000 16 1 96000 2 1 0 - Format works ok
    48000 16 2 192000 4 1 0 - Format works ok
    48000 16 2 192000 4 65534 22 16 3 - Format works ok
    48000 24 2 288000 6 65534 22 24 3 - Format works ok
    48000 16 4 384000 8 65534 22 16 51 - Format works ok
    48000 24 4 576000 12 65534 22 24 51 - Format works ok
    96000 16 1 192000 2 1 0 - Format works ok
    96000 16 2 384000 4 1 0 - Format works ok
    96000 16 2 384000 4 65534 22 16 3 - Format works ok
    96000 24 2 576000 6 65534 22 24 3 - Format works ok
    96000 16 4 768000 8 65534 22 16 51 - Format works ok
    96000 24 4 1152000 12 65534 22 24 51 - Format works ok
    192000 16 1 384000 2 1 0 - Format works ok
    192000 16 2 768000 4 1 0 - Format works ok
    192000 16 2 768000 4 65534 22 16 3 - Format works ok
    192000 24 2 1152000 6 65534 22 24 3 - Format works ok
    192000 16 4 1536000 8 65534 22 16 51 - Format works ok
    192000 24 4 2304000 12 65534 22 24 51 - Format works ok

    EXCLUSIVE: off EVENT DRIVEN: on
    -------------------------------------------------------------------------
    48000 16 6 576000 12 65534 22 16 63 - Format works ok
    48000 24 6 864000 18 65534 22 24 63 - Format works ok
    48000 32 6 1152000 24 65534 22 24 63 - Format works ok
    48000 32 6 1152000 24 65534 22 32 63 - Format works ok
    48000 32 6 1152000 24 65534 22 32 63 - Format works ok

    EXCLUSIVE: on EVENT DRIVEN: on
    -------------------------------------------------------------------------
    44100 16 1 88200 2 1 0 - Format works ok
    44100 16 2 176400 4 1 0 - Format works ok
    44100 16 2 176400 4 65534 22 16 3 - Format works ok
    44100 24 2 264600 6 65534 22 24 3 - Format works ok
    44100 16 4 352800 8 65534 22 16 51 - Format works ok
    44100 24 4 529200 12 65534 22 24 51 - Format works ok
    48000 16 1 96000 2 1 0 - Format works ok
    48000 16 2 192000 4 1 0 - Format works ok
    48000 16 2 192000 4 65534 22 16 3 - Format works ok
    48000 24 2 288000 6 65534 22 24 3 - Format works ok
    48000 16 4 384000 8 65534 22 16 51 - Format works ok
    48000 24 4 576000 12 65534 22 24 51 - Format works ok
    96000 16 1 192000 2 1 0 - Format works ok
    96000 16 2 384000 4 1 0 - Format works ok
    96000 16 2 384000 4 65534 22 16 3 - Format works ok
    96000 24 2 576000 6 65534 22 24 3 - Format works ok
    96000 16 4 768000 8 65534 22 16 51 - Format works ok
    96000 24 4 1152000 12 65534 22 24 51 - Format works ok
    192000 16 1 384000 2 1 0 - Format works ok
    192000 16 2 768000 4 1 0 - Format works ok
    192000 16 2 768000 4 65534 22 16 3 - Format works ok
    192000 24 2 1152000 6 65534 22 24 3 - Format works ok
    192000 16 4 1536000 8 65534 22 16 51 - Format works ok
    192000 24 4 2304000 12 65534 22 24 51 - Format works ok

    AC3 - EXCLUSIVE: on EVENT DRIVEN: off
    -------------------------------------------------------------------------

    AC3 - EXCLUSIVE: on EVENT DRIVEN: on
    -------------------------------------------------------------------------
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Xonar Dx driver PCI_DX_100407_6_12_8_1780Vista

    So, Xonar doesn't support 6 or 8 channels with exclusive mode? Broken drivers? Or do we have some wrong speaker configure mask? Or it could be some Xonar setting that limits those.
     

    Users who are viewing this thread

    Top Bottom