Audio and video syncronisation problem with .264 .ts files

Discussion in 'Codecs, External Players' started by robbo100, December 9, 2009.

  1. robbo100
    • Team MediaPortal

    robbo100 Retired Team Member

    Joined:
    May 5, 2009
    Messages:
    1,291
    Likes Received:
    285
    Gender:
    Male
    Occupation:
    Herding Cats
    Location:
    UK
    Ratings:
    +322 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Hi there, I have searched thes forums for a couple of days but can not find help to this problem.

    Config as at the bottom of message.

    My system works fine and is on a completly fresh install after an upgrade, except when I play HD TV or and HD .ts file there is a massive lag between the the audio and video (very poor lip sync). When I press play (or tune to BBC HD / ITV HD), the video starts almost instantly, and then the audio starts about 2 second later and they are instantly out of sync by about 2 seconds (with the video leading the audio). If I press pause button and then unpause, the audio plays for about 2 seconds and then the video starts and things are in sync, however they quickly drift and become almost unsyncronised with an ever increasing difference between the audio and video (always with the video leading the audio).

    It is clearly only a problem with .ts .264 format for recordings and live TV since SD TV and video works fine, as do blue ray discs and .264 MKV files which are DTS encoded.

    The same channels and films worked fine with my old system with 1.0.2 installed and manually set codecs.



    Any ideas?

    Thanks

    Robbo



    MediaPortal Version: 1.1 with latest SVN
    MediaPortal Skin: X-Factor
    Windows Version: XP SP3
    CPU Type: E7400
    HDD: Various - total 1.7TB
    Memory: 2 GB DDR2
    Motherboard: Gigabyte EP41-UD3L
    Video Card: NVIDIA 9400GT
    Video Card Driver: Latest (downloaded on 01/12/09)
    Sound Card: Onboard
    Sound Card AC3: SPDIF
    Sound Card Driver: Latest
    1. TV Card: Pinnacle 300i
    1. TV Card Type: DVB-T
    1. TV Card Driver: TBC
    2. TV Card: Compro Videomate S350
    2. TV Card Type: DVB-S
    2. TV Card Driver: Latest
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec: SAF 4 Beta Defult Config
    MPEG2 Audio Codec: SAF 4 Beta Defult Config
    h.264 Video Codec: SAF 4 Beta DefultC onfig
    Satelite/CableTV Provider: UK Freesat
    HTPC Case:
    Cooling:
    Power Supply:
    Remote: Cyberlink
    TV: Toshiba (not sure of model will check later but 32" and about 3 years old)
    TV - HTPC Connection: HDMI via Denon Amp
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. robbo100
    • Team MediaPortal

    robbo100 Retired Team Member

    Joined:
    May 5, 2009
    Messages:
    1,291
    Likes Received:
    285
    Gender:
    Male
    Occupation:
    Herding Cats
    Location:
    UK
    Ratings:
    +322 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Sorry to post without the log before.

    This is the TS reader log. I deleted todays log, then ran MP and selected BBC HD and allowed it to play for about 15 seconds prior to manually stopping it.

    I think it demonstrates the problem fairly well.

    Any ideas?

    Thanks
     
  4. robbo100
    • Team MediaPortal

    robbo100 Retired Team Member

    Joined:
    May 5, 2009
    Messages:
    1,291
    Likes Received:
    285
    Gender:
    Male
    Occupation:
    Herding Cats
    Location:
    UK
    Ratings:
    +322 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Trying to work out what is going on from my own log it seems that the system is detecting that the audio is in-front of the audio and is intentionally delaying the audio from starting to try to get it synchronised.

    What part of the system would be making this "judgement" for me? If it is not the CODECs that I am using, then might it be part of MP which is causing the problem?

    If so, might it be a good idea for me to post this on a different part of the forum to get some help?

    I would be hugely appreciative of any guidence anyone could give me. :D

    Robbo100
     
  5. hoborg

    hoborg Portal Pro

    Joined:
    June 13, 2008
    Messages:
    4,413
    Likes Received:
    1,593
    Location:
    Nový Jičín
    Ratings:
    +1,621 / 2
    Home Country:
    Czech Republic Czech Republic
    Show System Specs
    Rename *.TS to *.m2ts, should be played just fine after that.
     
  6. robbo100
    • Team MediaPortal

    robbo100 Retired Team Member

    Joined:
    May 5, 2009
    Messages:
    1,291
    Likes Received:
    285
    Gender:
    Male
    Occupation:
    Herding Cats
    Location:
    UK
    Ratings:
    +322 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Thanks hoborg,

    But what can I do about the streaming of HD TV which is played as a .ts file? Is there anyway that I can change that file type to m2ts within MP?

    Thanks

    Robbo100
     
  7. robbo100
    • Team MediaPortal

    robbo100 Retired Team Member

    Joined:
    May 5, 2009
    Messages:
    1,291
    Likes Received:
    285
    Gender:
    Male
    Occupation:
    Herding Cats
    Location:
    UK
    Ratings:
    +322 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
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!