[confirm] - TV Lipsync problem when using FFDSHOW on MP 1.3.0 Beta

Discussion in 'MP 1.3.0 Beta & RC' started by greybox, December 27, 2012.

?

Did you know that FFDSHOW has a feature that helps to fight the station logo pixel burn-in issue?

  1. I use the logoaway feature of FFDSHOW

    8.3%
  2. I didn't know there is a logoaway feature in FFDSHOW

    50.0%
  3. I don't care about burn-in problem.

    41.7%
  1. greybox
    • Premium Supporter

    greybox MP Donator

    Joined:
    January 23, 2009
    Messages:
    575
    Likes Received:
    70
    Ratings:
    +97 / 0
    Home Country:
    Canada Canada
    Show System Specs
    When using FFDSHOW codec, there is a lipsync problem in TV with MP 1.3.0. Beta - audio is 0.5-1 seconds behind the video. The problem is noticeable in live and recorded TV, standard and HD.

    If I switch the codec to LAV the problem disappears. I would blame FFDSHOW, but I use FFDSHOW in 1.2.3 and I never had any lipsync problem.

    I know that the official codec of choice is LAV now. But LAV is missing logoaway feature (https://forum.team-mediaportal.com/...the-screen-burn-in-problem.96872/#post-748993) and doesn't handle subtitles and closed captions as good as FFDSHOW. I love FFDSHOW and am currently using build 4486.

    Steps to reproduce:
    1. Select FFDSHOW as your video decoder.
    2. Playback live or recorded video.

    Logs attached. By the way, from the log you might see I that aero is disabled. This is not the cause of the problem. We discussed this problem before (https://forum.team-mediaportal.com/...nitor-and-windows-7-aero-theme-enabled.96628/) Aero in dual motitor systems causes lots of fideo drops. With aero disabled I have zero or almost zero drops, so I always disable aero and again, I never had problems with similar setup in 1.2.3.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,313
    Likes Received:
    6,257
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,293 / 9
    Home Country:
    France France
    Show System Specs
    Hi, you can try to add ffdshow as post process filter and lav video as decoder :)
    Does it change something ?
    Thanks.
     
  4. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,538
    Likes Received:
    2,830
    Location:
    Cambridge
    Ratings:
    +4,132 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    I'll take a look - I originally put in the workaround to make FFDShow usable for TV, so maybe something has got broken along the way....

    That said (and I know you have specific reasons for using it), FFDShow has a bug/feature related to A/V sync handling that makes it a bad choice for TV, so I don't recommend it.

    Tony
     
  5. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,538
    Likes Received:
    2,830
    Location:
    Cambridge
    Ratings:
    +4,132 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    OK - the problem is that the FFDShow workaround is only enabled if FFDShow video decoder is directly connected to the output pin of TsReader.ax (otherwise it doesn't know that FFDShow video decoder is in the graph).

    From the TsReader log:

    26-12-2012 21:13:17.431 [19d4]audPin:CompleteConnect() ok, filter: ffdshow Audio Decoder
    26-12-2012 21:13:17.445 [19d4]vidPin:CompleteConnect() ok, filter: Core CC Parser
    26-12-2012 21:13:17.485 [19d4]vidPin:CompleteConnect() ok, filter: Core CC Parser
    26-12-2012 21:13:17.485 [19d4]subPin:CompleteConnect() ok, filter: MediaPortal DVBSub3

    ....the video pin is connected to the 'Core CC Parser' filter, not FFDShow video decoder.

    Tony
     
  6. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,538
    Likes Received:
    2,830
    Location:
    Cambridge
    Ratings:
    +4,132 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Attached is a version of TsReader.ax with a mod to allow the FFDShow sync workaround to be forced 'on' via a registry value.

    Close MP, replace TsReader.ax in the MP program folder with the attached version, open MP, play some TV to get the registry key created (with the default setting), then open regedit and navigate to:

    HKEY_CURRENT_USER\Software\Team MediaPortal\TsReader

    In there you should find an entry called "ForceFFDShowSyncFix" - change the value from 0 to 1 to enable the override.

    Hopefully that will fix the problem - if it doesn't then there may be a problem with the intermediate 'Core CC parser' filter not passing discontinuity info down the filter chain to FFDShow video decoder.

    Tony
     

    Attached Files:

    • Like Like x 1
  7. greybox
    • Premium Supporter

    greybox MP Donator

    Joined:
    January 23, 2009
    Messages:
    575
    Likes Received:
    70
    Ratings:
    +97 / 0
    Home Country:
    Canada Canada
    Show System Specs
    Tony: I followed your instructions and the problem has gone now!
    Thank you!!! Thank you!!! Thank you!!! :):):)

    Core CC parser causes stuttering on this computer (although it works fine on my second (client) PC), so I have to disable it anyways until I find out what the problem is.

    Will you be distributing the new TsReader.ax and the registry fix for the next version?
     
    Last edited: December 31, 2012
  8. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,538
    Likes Received:
    2,830
    Location:
    Cambridge
    Ratings:
    +4,132 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
  9. greybox
    • Premium Supporter

    greybox MP Donator

    Joined:
    January 23, 2009
    Messages:
    575
    Likes Received:
    70
    Ratings:
    +97 / 0
    Home Country:
    Canada Canada
    Show System Specs
    Thank you!
    Do the FFDSHOW programmers have a public bugtracking system? Is it possible for us to report the problem?
     
  10. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,313
    Likes Received:
    6,257
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,293 / 9
    Home Country:
    France France
    Show System Specs
  11. greybox
    • Premium Supporter

    greybox MP Donator

    Joined:
    January 23, 2009
    Messages:
    575
    Likes Received:
    70
    Ratings:
    +97 / 0
    Home Country:
    Canada Canada
    Show System Specs
    MP 1.3.0 RC: same problem because it came with old TsReader.ax
     
    Last edited: February 11, 2013
Loading...

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!