The Audio Renderer has an issue with some hardware / reference clock generation (1 Viewer)

Status
Not open for further replies.

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    I've no idea, but attached are logs playing the same recording from the beginning for about 30 seconds, one with bias = 1.0 and one with bias = 0.95 (set from my modified TsReader.ax three seconds after 'run' - about 16 seconds later the "Not Enough Data" messages start). In both my tests and (I think) in FreakJ's situation (==24Hz on 60Hz display) there won't be any AdjustClock() calls, but I guess that shouldn't make a difference.

    Would you like me to try some different MPAR settings ?
    Actually I can rerpoduce the issue, forcing bias 0.5 causes it to appear (not anything TsReader related as it happens with BDReader as well). Last time when I tested I had some logging commented out for other tests :whistle:
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,930
    2,234
    Ba-Wü
    Germany Germany
    Country flag
    Hello!
    I tested this with 15mins LiveTV and it is working great. No visible dropped frame and also no dropped frames in render stats (Shift+1). No A/V sync problems and no click sounds. Perfect experience! :)
    1.jpg
     
    Last edited:

    husmoaschta

    Portal Pro
    August 15, 2010
    123
    19
    Austria Austria
    If I disable HWbasedRefClock, it seems that audio is in front of video. Logs are attached. Soundcard is a Xonar Essence ST/H6 with analog connected speakers.

    If I enable it, it is the other way round. Will attach logs in next post.


    regards, Winnie[DOUBLEPOST=1362574759][/DOUBLEPOST]Here are the logs with HWbasedRefClock enabled. Everything is tested with LiveTV ...[DOUBLEPOST=1362574888][/DOUBLEPOST]OK, somehow my two posts got merged to one. Hope, you can still see which logs belong to which setting ...
     

    Attachments

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    If I disable HWbasedRefClock, it seems that audio is in front of video. Logs are attached. Soundcard is a Xonar Essence ST/H6 with analog connected speakers.

    If I enable it, it is the other way round. Will attach logs in next post.
    From logs A/V sync is quite hard to debug (almost impossible at least for me). Some extra questions:

    1. How much the A/V sync is off in both cases?
    2. Does the issue happen with other audio HW than Xonar?
    3. Does the issue happen with Arcsoft Audio decoder DLL removed from LAV's install folder?
    4. Does the issue happen with all video files or with some specific videos only? (there is audio stream discontinuity without a stream change in the logs so the video might already contain something funky)
    5. Are GetMatchingSampleForTime related errors happening with all video files?
     

    husmoaschta

    Portal Pro
    August 15, 2010
    123
    19
    Austria Austria
    1. It's less than 1 sec, but still very noticeable (lipsync)
    2. Will try with AMD-HDMI ...
    3. I'm not using LAV-Filters. I use Arcsoft filters directly.
    4. I just tested with LiveTV.
    5. ???

    regards, Winnie
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    1. It's less than 1 sec, but still very noticeable (lipsync)
    So it is off a huge amount, not something like 50 ms which would be hard to spot.

    3. I'm not using LAV-Filters. I use Arcsoft filters directly.
    Could you try the MS audio decoder that ships with the OS? I haven't ever tested MPAR with Arcsoft filters directly so who knows if they expose some bug or are not compatible with live tv at all.

    4. I just tested with LiveTV.
    Please test with some other videos as well.

    audiorenderer.log contains GetMatchingSampleForTime related errors, but we aren't sure if this is related.
     

    husmoaschta

    Portal Pro
    August 15, 2010
    123
    19
    Austria Austria
    This is now with MS-Decoders. Video seems to be late now. Funny.[DOUBLEPOST=1362589034][/DOUBLEPOST]This is now with AS-Decoders again but also with AS AudioRenderer. Everything is perfectly synced ...

    Can these GetMatchingSampleForTime-Errors be responsible for small Hickups in the Video (but no framedrops!)?[DOUBLEPOST=1362589201][/DOUBLEPOST]SH#T!!! posts merged again. Hope, you can differentiate. "ArcSoft-Logs" were written later ...
     

    husmoaschta

    Portal Pro
    August 15, 2010
    123
    19
    Austria Austria
    This is now with AS-Decoders and a Movie. Video is slightly late here.[DOUBLEPOST=1362590515][/DOUBLEPOST]Same movie with AS AudioRenderer is in sync ...
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    https://forum.team-mediaportal.com/threads/audio-renderer-improvements.117176/ new thread with few improvements.

    This thread will be closed for any further commens, please use the new thread and new version(s) of audio renderer.

    @husmoaschta bug that you reported is not solved in that (unfortunately I cannot reproduce the A/V sync issue, nor anyone else has reported it - lets hope we can sort out it in the future).
     
    Last edited:
    Status
    Not open for further replies.

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    F Audio render and font error in my logs General Support 2
    C ARC Audio Renderer Changer: wo kann man es konfigurieren? Video & DVD 15
    Stephen O'Kane [SOLVED] TV Stream stuttering - both Video and Audio Watch / Listen Media 14
    M.Hulot MP plays in Internal Blu-ray-Player-mode always first audio stream not the one I chosen in settings General Support 1
    Golf4 TV-Records werden als Audio-Files importiert ? Allgemeines Support- und Diskussionsforum 0
    W [solved] Incorrect audio being reported Moving Pictures 4
    404 [solved] Live TV...video and audio freeze General Support 20
    ninja 12 Audio dropouts with Dolby / DTS watch/edit Videos 12
    bta489 [solved] DVB-T2 Recordings: Sometimes no Audio after muxing with mkvmerge Tools and other software 2
    T [solved] MP2 Switch off visualisation when listening to audio....PLEASE!!! General 23
    azzuro [fixed] [WIP MP2.3] - Audio files not imported to MP MediaPortal 2 18
    S Remote button to change audio and subtitle on / off General 10
    R [solved] Command / Shortcut for changing subtitles or audio Archive 5
    K Multichannel audio and subtitles for TV not properly supported General Support 4
    Glith Audio out of sync after pause. Rewind 15sec gets it into sync again. MediaPortal 1 Talk 0
    joecrow No Audio after MP Start/Resume from Sleep General Support 0
    C Ability to browse videos and audio by folder General 2
    Lichloathe Offline audio content General 9
    G How best to get cover art for tracks to show up on the Audio Menu (Latest Added, Unplayed)? General 9
    Ralph Holmes Wrong audio source in TV General 1
    CyberSimian [Proposal] Audio description MediaPortal 1 10
    ge2301 [fixed] [MP2-807] Problem when switching player in PiP mode with audio files MediaPortal 2 32
    cladinshadows85 [solved] Audio playing mutiple times over video and crashing General 8
    H Live TV info OSD not displaying number of audio channels General Support 3
    T Moving Pictures...seem to have 'lost' ability to display Movie info. (eg Resolution/Audio) Moving Pictures 2
    Similar threads

























    Top Bottom