Collection of Audio Renderer fixes for 1.3.0 beta (2 Viewers)

LJG

Retired Team Member
  • Premium Supporter
  • March 3, 2012
    457
    179
    Home Country
    United Kingdom United Kingdom
    Hello again. Just to say that I have unticked 'enable timestretch' and the lipsync issue after pause has gone away.

    I also noticed that I was getting some judder on panning shots on a particular recorded tv show.
    I tried the same scene without MPAR (just default sound device) and the judder was not there.
    Once I had unticked 'enable timestretch' in MPAR, I tried the same scene again with MPAR, and it was judder free.

    So, for me, MPAR seems to work much better with 'enable timestretch' unticked.

    I am not really too sure what this means, but if you need more info, let me know. I am happy to use it as it is though, so thanks!

    lisa
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Hello again. Just to say that I have unticked 'enable timestretch' and the lipsync issue after pause has gone away.

    I also noticed that I was getting some judder on panning shots on a particular recorded tv show.
    I tried the same scene without MPAR (just default sound device) and the judder was not there.
    Once I had unticked 'enable timestretch' in MPAR, I tried the same scene again with MPAR, and it was judder free.

    So, for me, MPAR seems to work much better with 'enable timestretch' unticked.

    I am not really too sure what this means, but if you need more info, let me know. I am happy to use it as it is though, so thanks!

    It means that there is some bug in the reference clock and/or audio hardware clock code in MPAR that is exposed only on specific HW configurations. Hopefully the re-write of the timestrecth timekeeping code will help this issue.
     

    Jelmo

    Portal Pro
    September 8, 2007
    711
    55
    Home Country
    Germany Germany
    Hi

    Just a small story before i will come to the problem.

    In the past i have used Win7 x64. MEPO 1.3 / LAV / Reclock

    HTPC --> HDMI ---> TV ( which only supports 50Hz )
    HTPC --> Realtek HD Audio --> Stereo Reciever

    As you can see, i had to use Reclock to set a proper video value for matching the movie stuff. Mostly PAL speedup to 25Hz.
    Du to the usage of Reclock i was able to set via MCE Remote the Volume on the HTPC. For me this was a Killer Feature over MepoAudiorender.
    So one Remote on the table should be enough ;)
    Since Online Video also uses the Mepo Codec Setting ( Video ) - i was able to view every content on f.e. Youtube. Even if the content had no chance for a proper video value. F.e. an Video form Youtube witch has a framerate of 30fps ---> Reclock is unable to set 25 or 50. So Reclock has ignored the PALspeed setting and viewed to file as orginal. It makes sense that the playback wasn´t in sync, but not important for this little clips.

    Summary : My system was able to view non conform clip with Reclock together


    No i have chanegd my system to Win8 x64 --- please do not argue that is not supported yet. Better we have a lock now, as we will wait for end of october.


    Win8 x64. MEPO 1.3 / LAV / MePoAudiorender

    HTPC --> HDMI ---> TV ( which only supports 50Hz )
    HTPC --> Realtek HD Audio --> Stereo Reciever

    What i have found out now, that i can use the MePoAudiorender under Win8 and i´m able to control the volume via MCE Remote. So i guess something has changed in the OS.
    So the only Killer Feature for Win7 does not exist in Win8 ... :) All my video content ( 23,9Hz ) are in sync @25fps. Wonderfull Mepo1.3 works out of the box without any other stuff.

    So time to setup Online Videos as ever ..... but most times the connection timed out. MP4 could not played. I have tried with a other LAV version, Online Videos version. Nothing. Some files play fine ... some not. Then i checked the AudioDevice back to Default and .... every video plays fine. So no codec problem or something else. The Audiorender makes the difference. So i have tested some more also with other sites. And the showstopper is the MePoAudiorender.
    My solution @this moment is to set the Audiodevice to Default if i will watch some Online stuff, and set it to MePoAudiorender if i like to play some movies.


    So here is my question. Is there any chance to implement an feature to the MePoAudiorender that PALspeedup/down only works if possible.

    F.E

    Video 23,9 Hz --> 25Hz works ( 50Hz TV ) ---> do PALspeedup
    Video 29,x Hz --> 25 does not work / 30 does not match to the TV / 50 does not work / 60 does not match to the TV ---> i will only passthru the video untouched


    Regards,
    Daniel
     
    Last edited:

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    No i have chanegd my system to Win8 x64 --- please do not argue that is not supported yet. Better we have a lock now, as we will wait for end of october.

    I won't, althou it wont be officially possible to support until I have a dev PC with Windows 8 licence in it.

    What i have found out now, that i can use the MePoAudiorender under Win8 and i´m able to control the volume via MCE Remote. So i guess something has changed in the OS.
    So the only Killer Feature for Win7 does not exist in Win8 ... :) All my video content ( 23,9Hz ) are in sync @25fps. Wonderfull Mepo1.3 works out of the box without any other stuff.

    If you are able to control volume then it means one of the following:

    1) WASAPI Exclusive mode is not enabled in MPAR (all audio will be resampled by the OS mixer and all audio will be mixed down/up by MPAR to match the OS audio channel setting)
    2) MPAR is not connected in the graph (not likely when timestretch seems to work)
    3) OS is broken and ignores WASAPI exclusive stream setting (highly unlikely)
    4) Some bug in MPAR (with Windows 8 WASAPI stack) what causes WASAPI exclusive mode not to be used (hard to say until I get Win8 on dev PC)

    So, probably the WASAPI exclusive mode is not turned on. A log would help.


    So time to setup Online Videos as ever ..... but most times the connection timed out. MP4 could not played. I have tried with a other LAV version, Online Videos version. Nothing. Some files play fine ... some not. Then i checked the AudioDevice back to Default and .... every video plays fine. So no codec problem or something else. The Audiorender makes the difference. So i have tested some more also with other sites. And the showstopper is the MePoAudiorender.
    My solution @this moment is to set the Audiodevice to Default if i will watch some Online stuff, and set it to MePoAudiorender if i like to play some movies.

    Please open a new thread about the problematic online content and provide the audio renderer log.

    So here is my question. Is there any chance to implement an feature to the MePoAudiorender that PALspeedup/down only works if possible.

    Video 23,9 Hz --> 25Hz works ( 50Hz TV ) ---> do PALspeedup
    Video 29,x Hz --> 25 does not work / 30 does not match to the TV / 50 does not work / 60 does not match to the TV ---> i will only passthru the video untouched

    MPAR already has such setting. MaxBias and MinBias (only registry access at the moment if I remember correctly) can be used to control the speedup / slowdown behavior. By default those are 1,1 and 0,9 so 23,9 Hz --> 25Hz is done but 29,x Hz --> 25 is not done.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Im using this with MP 1.2.3 , but I'm not sure if it is actually changes the fps or not. Which value do I look at to see if it's changed the fps, for example if I'm playing a 23.96fps file with 24hz display.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Found a bug that someone using MP1.3A/MP1.3B and 5.1 optical needs to confirm

    My setup is
    MP1.2.3 using mpaudiorenderer_1.3.0beta_v1.zip
    All filters/codecs set to LAV 0.5.4
    LAV Audio settings - Bitstreaming Formats: All boxes unticked / Mixing: disabled / Speaker Configuration: 5.1
    Receiver is 5.1 connected via optical spdif

    When I play this file using default audio renderer it plays fine
    When I play using mpaudiorenderer all the dialog comes from the right front speaker only and I get a background hiss from the other speakers.

    mkv audio is AC-3 2 channel audio
    Audio
    ID : 2
    Format : AC-3
    Format/Info : Audio Coding 3
    Mode extension : CM (complete main)
    Format settings, Endianness : Big
    Muxing mode : Header stripping
    Codec ID : A_AC3
    Duration : 14s 240ms
    Bit rate mode : Constant
    Bit rate : 384 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Bit depth : 16 bits
    Compression mode : Lossy
    Stream size : 668 KiB (6%)
    Language : English
    Default : Yes
    Forced : No
    Download: Broken_Audio.mkv (10mb)

    I havn't had any problems using the audio renderer with 5.1 dts or 5.1 ac3
     
    Last edited:

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,736
    1,196
    Alingsås
    Home Country
    Sweden Sweden
    I have a question: Is MPAR supposed to be able to handle multi-channel AAC audio properly and output 5.1 AC3 using that option? I've setup MPAR to encode AC3 and have setup LAVF audio filters with mixing enabled and output set to 5.1 channels (this works very well if I use ReClock's AC3 encode option), but I only seem to get Stereo output using MPAR.

    I'm using the MPAR that's distributed with the current GIT build. I'd love to be able to ditch ReClock for built in functionality, but not having proper surround sound is kinda a dealbreaker for me.

    Emph
     
    Last edited:

    LJG

    Retired Team Member
  • Premium Supporter
  • March 3, 2012
    457
    179
    Home Country
    United Kingdom United Kingdom
    Hi Emph,

    I use MPAR with multichannel AAC, I don't re-encode though, I use WASAPI and it is picked up by my amp as PCM 5.1, I don't select any of the mixing or re-encode options.
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,736
    1,196
    Alingsås
    Home Country
    Sweden Sweden
    Thanks for the headsup, lisag, I'll try that when I get off my lazy ass and move from XP to Win7. :LOL: Hmmm, maybe I will have some time during the holidays. :whistle:

    Emph
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    I'm using the MPAR that's distributed with the current GIT build. I'd love to be able to ditch ReClock for built in functionality, but not having proper surround sound is kinda a dealbreaker for me.

    Thanks for the headsup, lisag, I'll try that when I get off my lazy ass and move from XP to Win7. :LOL: Hmmm, maybe I will have some time during the holidays. :whistle:

    Windows XP is not supported - so it is odd if you are using MPAR on XP as it wont work :)
     

    Users who are viewing this thread

    Top Bottom