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

chefkoch

Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,635
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    AW: Open source DirectShow Audio Renderer available

    It seems to be a localization / encoding issue. I used the following batch file and got this result.
    ListDevices.png

    Using exactly the string which is written here as device, crashes the test app. Same crash happens also if you simply use a string as device which does not even exists.
    Anything about the encoding issue?
    List devices detects "Audio-Gerôt" instead of "Audio-Gerät"?
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Re: AW: Open source DirectShow Audio Renderer available

    List devices detects "Audio-Gerôt" instead of "Audio-Gerät"?

    That is MS sample code :)

    btw. did I say that I hate every single thing that reletes localization? :D
     

    davidf

    Retired Team Member
  • Premium Supporter
  • April 3, 2006
    796
    348
    Scotland
    Home Country
    Scotland Scotland
    Exclusive Mode (cheap version) now works on Nvidia :D. Unfortunately there has been some microglitches introduced with v8/9, nothing at all shows in the logs when it is happening and my ION isn't up to showing the graph. I'll regress the directshow helper back a few versions and see if I can pinpoint the introduction of the stutter.

    Yes, it should be the dshowhelper, unless audio renderer has grown more CPU hungry. Please test as well with the DS audio renderer.

    Stutter is gone with just the DS renderer - and is considerably less with the MS codecs (but then there is the 10 second loss of audio on HD TV). Guess it's gone just beyond the ability if the ION chipset. I'll have a play around and see if I can figure anything else out.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Exclusive Mode (cheap version) now works on Nvidia :D. Unfortunately there has been some microglitches introduced with v8/9, nothing at all shows in the logs when it is happening and my ION isn't up to showing the graph. I'll regress the directshow helper back a few versions and see if I can pinpoint the introduction of the stutter.

    Yes, it should be the dshowhelper, unless audio renderer has grown more CPU hungry. Please test as well with the DS audio renderer.

    Stutter is gone with just the DS renderer - and is considerably less with the MS codecs (but then there is the 10 second loss of audio on HD TV). Guess it's gone just beyond the ability if the ION chipset. I'll have a play around and see if I can figure anything else out.

    CPU performance "wall" should be visible as a dropped samples in the log.
     

    Henkie Flits

    Portal Pro
    November 1, 2008
    210
    44
    Home Country
    Netherlands Netherlands
    Tourettes, here are my results of the test tool, I don't know if you are still interested in these?
    Anyways, I have a ATI HD5450 on order so it will be interesting to see what kind of change will come in a few days, also regarding this test tool. I will post these results when I get the card.

    EXCLUSIVE: off EVENT DRIVEN: off
    -------------------------------------------------------------------------
    48000 16 1 96000 2 1 0 - Format works ok
    48000 16 1 96000 2 65534 22 16 4 - Format works ok
    48000 24 1 144000 3 1 0 - Format works ok
    48000 24 1 144000 3 65534 22 24 4 - Format works ok
    48000 32 1 192000 4 65534 22 24 4 - Format works ok
    48000 32 1 192000 4 1 0 - Format works ok
    48000 32 1 192000 4 65534 22 32 4 - Format works ok
    48000 32 1 192000 4 3 0 - Format works ok
    48000 32 1 192000 4 65534 22 32 4 - 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 1 0 - Format works ok
    48000 24 2 288000 6 65534 22 24 3 - Format works ok
    48000 32 2 384000 8 65534 22 24 3 - Format works ok
    48000 32 2 384000 8 1 0 - Format works ok
    48000 32 2 384000 8 65534 22 32 3 - Format works ok
    48000 32 2 384000 8 3 0 - Format works ok
    48000 32 2 384000 8 65534 22 32 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
    48000 32 4 768000 16 65534 22 24 51 - Format works ok
    48000 32 4 768000 16 65534 22 32 51 - Format works ok
    48000 32 4 768000 16 65534 22 32 51 - Format works ok
    48000 16 6 576000 12 65534 22 16 1551 - Format works ok
    48000 16 6 576000 12 65534 22 16 63 - Format works ok
    48000 24 6 864000 18 65534 22 24 1551 - Format works ok
    48000 24 6 864000 18 65534 22 24 63 - Format works ok
    48000 32 6 1152000 24 65534 22 24 1551 - Format works ok
    48000 32 6 1152000 24 65534 22 24 63 - Format works ok
    48000 32 6 1152000 24 65534 22 32 1551 - Format works ok
    48000 32 6 1152000 24 65534 22 32 63 - Format works ok
    48000 32 6 1152000 24 65534 22 32 1551 - Format works ok
    48000 32 6 1152000 24 65534 22 32 63 - Format works ok
    48000 16 8 768000 16 65534 22 16 1599 - Format works ok
    48000 16 8 768000 16 65534 22 16 255 - Format works ok
    48000 24 8 1152000 24 65534 22 24 1599 - Format works ok
    48000 24 8 1152000 24 65534 22 24 255 - Format works ok
    48000 32 8 1536000 32 65534 22 24 1599 - Format works ok
    48000 32 8 1536000 32 65534 22 24 255 - Format works ok
    48000 32 8 1536000 32 65534 22 32 1599 - Format works ok
    48000 32 8 1536000 32 65534 22 32 255 - Format works ok
    48000 32 8 1536000 32 65534 22 32 1599 - Format works ok
    48000 32 8 1536000 32 65534 22 32 255 - Format works ok

    EXCLUSIVE: on EVENT DRIVEN: off
    -------------------------------------------------------------------------
    48000 16 2 192000 4 1 0 - Format works ok
    48000 16 2 192000 4 65534 22 16 3 - Format works ok

    EXCLUSIVE: off EVENT DRIVEN: on
    -------------------------------------------------------------------------
    48000 16 1 96000 2 1 0 - Format works ok
    48000 16 1 96000 2 65534 22 16 4 - Format works ok
    48000 24 1 144000 3 1 0 - Format works ok
    48000 24 1 144000 3 65534 22 24 4 - Format works ok
    48000 32 1 192000 4 65534 22 24 4 - Format works ok
    48000 32 1 192000 4 1 0 - Format works ok
    48000 32 1 192000 4 65534 22 32 4 - Format works ok
    48000 32 1 192000 4 3 0 - Format works ok
    48000 32 1 192000 4 65534 22 32 4 - 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 1 0 - Format works ok
    48000 24 2 288000 6 65534 22 24 3 - Format works ok
    48000 32 2 384000 8 65534 22 24 3 - Format works ok
    48000 32 2 384000 8 1 0 - Format works ok
    48000 32 2 384000 8 65534 22 32 3 - Format works ok
    48000 32 2 384000 8 3 0 - Format works ok
    48000 32 2 384000 8 65534 22 32 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
    48000 32 4 768000 16 65534 22 24 51 - Format works ok
    48000 32 4 768000 16 65534 22 32 51 - Format works ok
    48000 32 4 768000 16 65534 22 32 51 - Format works ok
    48000 16 6 576000 12 65534 22 16 1551 - Format works ok
    48000 16 6 576000 12 65534 22 16 63 - Format works ok
    48000 24 6 864000 18 65534 22 24 1551 - Format works ok
    48000 24 6 864000 18 65534 22 24 63 - Format works ok
    48000 32 6 1152000 24 65534 22 24 1551 - Format works ok
    48000 32 6 1152000 24 65534 22 24 63 - Format works ok
    48000 32 6 1152000 24 65534 22 32 1551 - Format works ok
    48000 32 6 1152000 24 65534 22 32 63 - Format works ok
    48000 32 6 1152000 24 65534 22 32 1551 - Format works ok
    48000 32 6 1152000 24 65534 22 32 63 - Format works ok
    48000 16 8 768000 16 65534 22 16 1599 - Format works ok
    48000 16 8 768000 16 65534 22 16 255 - Format works ok
    48000 24 8 1152000 24 65534 22 24 1599 - Format works ok
    48000 24 8 1152000 24 65534 22 24 255 - Format works ok
    48000 32 8 1536000 32 65534 22 24 1599 - Format works ok
    48000 32 8 1536000 32 65534 22 24 255 - Format works ok
    48000 32 8 1536000 32 65534 22 32 1599 - Format works ok
    48000 32 8 1536000 32 65534 22 32 255 - Format works ok
    48000 32 8 1536000 32 65534 22 32 1599 - Format works ok
    48000 32 8 1536000 32 65534 22 32 255 - Format works ok

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

    AC3 - EXCLUSIVE: on EVENT DRIVEN: off
    -------------------------------------------------------------------------
    48000 16 2 192000 4 146 0 - Format works ok

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


    WASAPI-test.exe version: 3 tested: 2526 ok: 89
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    EXCLUSIVE: on EVENT DRIVEN: off
    -------------------------------------------------------------------------
    48000 16 2 192000 4 1 0 - Format works ok
    48000 16 2 192000 4 65534 22 16 3 - Format works ok

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

    AC3 - EXCLUSIVE: on EVENT DRIVEN: off
    -------------------------------------------------------------------------
    48000 16 2 192000 4 146 0 - Format works ok

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

    What card that was? It has really limited support for the exclusive mode.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    New version available in: https://forum.team-mediaportal.com/637138-post3.html


    ChannelMaskOverride_5_1

    Override the channel mask for 5.1 stream types. Use this to fix incompatibilities with the speak configuration between driver and the audio decoder. Disabled / zero by default. For ASUS Xonar use "1551".

    ChannelMaskOverride_7_1

    Override the channel mask for 7.1 stream types. Use this to fix incompatibilities with the speak configuration between driver and the audio decoder. Disabled / zero by default.



    • Added channel mask override settings for 5.1 and 7.1 stream types. This is required for example ASUS Xonar
    • Try WAVEFORMATEXin format negotiation if the WAVEFORMATEXTENSIBLE is reported to be unsupported by the driver.
     

    robyf

    Retired Team Member
  • Premium Supporter
  • June 20, 2005
    1,076
    278
    55
    Bolzano
    Home Country
    Italy Italy
    Results with my ASRock ION 330:

    - Works with wasapi exclusive mode now, providing I set off useeventmode
    - No audible glitches in audio
    - Channel changing really faster
    - No drops in audiorenderer.log

    using cyberling as video decoder (H.264).

    So great work so far!!
     

    Henkie Flits

    Portal Pro
    November 1, 2008
    210
    44
    Home Country
    Netherlands Netherlands
    tourettes: this is with my system you can see under my username: I now have the HD3200 IGP which will be replaced with the HD5450 in a few days.
     

    red5goahead

    MP Donator
  • Premium Supporter
  • November 24, 2007
    695
    144
    Italy, North West
    Home Country
    Italy Italy
    New version available in: https://forum.team-mediaportal.com/637138-post3.html


    ChannelMaskOverride_5_1

    Override the channel mask for 5.1 stream types. Use this to fix incompatibilities with the speak configuration between driver and the audio decoder. Disabled / zero by default. For ASUS Xonar use "1551".

    ChannelMaskOverride_7_1

    Override the channel mask for 7.1 stream types. Use this to fix incompatibilities with the speak configuration between driver and the audio decoder. Disabled / zero by default.



    • Added channel mask override settings for 5.1 and 7.1 stream types. This is required for example ASUS Xonar
    • Try WAVEFORMATEXin format negotiation if the WAVEFORMATEXTENSIBLE is reported to be unsupported by the driver.

    It doesn't work with Xonar. Usual error

    05-09-2010 20:24:25.517 [ de4] WASAPIRenderer::CheckMediaType WASAPI client refused the format: (0x88890008)
     

    Users who are viewing this thread

    Top Bottom