The Audio Renderer has an issue with some hardware / reference clock generation | Page 3

Discussion in 'Area 51 - Testing Area' started by tourettes, February 25, 2013.

Thread Status:
Not open for further replies.
  1. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    No problem - I thought that might be the case - there are a lot of seeks in the log... :)


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    BTW - what do all the "SynchCorrection::GetMatchingSampleForTime: Not Enough Data" messages in the AudioRenderer log mean ? (90000 of them !)
     
    Last edited: March 1, 2013
  4. davidf
    • Team MediaPortal

    davidf Development Group

    Joined:
    April 3, 2006
    Messages:
    796
    Likes Received:
    310
    Occupation:
    Application Architect
    Location:
    Scotland
    Ratings:
    +336 / 0
    Home Country:
    Scotland Scotland
    Show System Specs
    It means that there are 1 or less samples for the time point(stream time). I.e. There is nothing in the wasapi buffer. It also means drift is forecast rather than calculated as it will use the last sample time and infer the current time by following where it's gradient would be now.

    If that line appears more than occassionly then something is seriously wrong.

    In this case the data is turning up late as you can see by the drops
     
  5. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    WASAPI renderer filter is probably running out of data. Is it live tv?

    edit, david was faster :)
     
    Last edited: March 1, 2013
  6. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    The log lines are there in both the 'TsReader' and 'LAV' splitter logs from FreakyJ (165000 lines in the 'LAV' splitter version), and it's a recording according to the info in TsReader.log :confused:
     
    Last edited: March 1, 2013
  7. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    01-03-2013 18:15:47.266 [ bc0] Using HW clock
    01-03-2013 18:17:01.699 [ 12fc] SynchCorrection::GetMatchingSampleForTime: Not Enough Data

    So it takes for 1 min 13 seconds "until" the WASAPI buffers start to run on the edge.

    Please set LogSampleTimes = 1 in the registry (HKEY_CURRENT_USER\Software\Team MediaPortal\Audio Renderer), it will give more info on the buffery status.
     
  8. FreakyJ
    • Team MediaPortal

    FreakyJ Development Group

    Joined:
    July 25, 2010
    Messages:
    4,021
    Likes Received:
    839
    Gender:
    Male
    Ratings:
    +1,424 / 1
    Home Country:
    Germany Germany
    sure I will turn it on and watch some tv.
    I was now watching all the time with the Tv @50Hz and it was working fine, so I assume I should switch to 60Hz again for the test?
     
  9. FreakyJ
    • Team MediaPortal

    FreakyJ Development Group

    Joined:
    July 25, 2010
    Messages:
    4,021
    Likes Received:
    839
    Gender:
    Male
    Ratings:
    +1,424 / 1
    Home Country:
    Germany Germany
    here are the live tv logs I talked about in my previous post, I watched a half hour on Zdf_info

    Tv @50Hz
    live Tv
    TsReader + Lav for the rest + MPAR
     
  10. FreakyJ
    • Team MediaPortal

    FreakyJ Development Group

    Joined:
    July 25, 2010
    Messages:
    4,021
    Likes Received:
    839
    Gender:
    Male
    Ratings:
    +1,424 / 1
    Home Country:
    Germany Germany
    new logs
    - Tv @60Hz
    - LogSampleTimes = 1
    - watched a recording

    Result: after some time there were heavy stuttering in the sound => I stopped Playback and posted logs here
     
  11. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    A thought - TsReader uses calls to IMediaSeeking::GetCurrentPosition() - http://msdn.microsoft.com/en-gb/library/windows/desktop/dd407028(v=vs.85).aspx - to keep track of the relationship of sample timestamps to playback position (for various reasons).

    I wonder if this method takes into account the heavy clock pulling which is happening here (bias = 0.96) - if it doesn't, it might explain why TsReader might be having problems - although the clock is running slow, so it shouldn't be running out of data - doesn't make much sense at the moment.....:confused:
     
Loading...
Thread Status:
Not open for further replies.

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!