24p and audio sync issues

  Thread Rating:
  • 7 Votes - 4.71 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #181
@torcar - can you give us a debug log? Start one of the problem files and let it run till a few minutes past the issue. Sounds like the timestamps are borked in them.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
robl45 Offline
Fan
Posts: 350
Joined: Mar 2011
Reputation: 0
Post: #182
i used the AE build, it was better on xvid/avi files, but still had the same issue that the regular build does, the missing counter ramps up, maybe not at first, but then randomly it would just get out of sync.
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #183
Hi torcar - from what I can see in your log and from your description it is almost certainly bad timestamps in those files. As a test you can try demux/remux them with mkvmerge or eac3to.

A patch was submitted recently for review that attempts to fail a little more gracefully when these are encountered, and it may help with these files, but there's no set timeframe for inclusion or not into master.

I would try the demux/remux on the file(s) and see if it helps as about the only short-term workaround.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
torcar Offline
Member
Posts: 99
Joined: Apr 2012
Reputation: 0
Location: Norway
Post: #184
@DDDamian: Ok, will try that as soon as possible.

FYI: I have about 500-600 .mkv's and the problem seems to be present on as good as all of them... (Haven't tried ALL of them, but I also haven't found any that does not go out of sync yet)

Thanks so far Smile

System: XBMC Frodo Final, HTPC: AMD 6450 1GB, Intel i5 2400S, 8GB DDR3, ASUS P8H61-M PRO, OCZ SSD Agility 3, NYXboard Hybrid Remote
Surround: NAD M15HD2, NAD M25, B&W 803 Diamond, B&W DB1, B&W HTM4, Pioneer KRP-600A / Panasonic 65VT50
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #185
Big ouch - I thought this was limited to a few files. Can you focus on one known problematic one and see if it happens at a fixed location in the file? If so, a sample uploaded of that portion would be beneficial.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
torcar Offline
Member
Posts: 99
Joined: Apr 2012
Reputation: 0
Location: Norway
Post: #186
Will do that.

One question though... Is there any way I can actually see when it gets out of sync or do I just have to register it with my eyes and ears?
Some movies aren't that easy to spot sync-problems in before you get to scenes with talking, shooting, knocking etcWink

System: XBMC Frodo Final, HTPC: AMD 6450 1GB, Intel i5 2400S, 8GB DDR3, ASUS P8H61-M PRO, OCZ SSD Agility 3, NYXboard Hybrid Remote
Surround: NAD M15HD2, NAD M25, B&W 803 Diamond, B&W DB1, B&W HTM4, Pioneer KRP-600A / Panasonic 65VT50
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #187
Press "O" while watching a movie and watch dropped frames ("Drop: xx"). If there are timestamp issues this should increment.

In the log, look for any Discontinuity errors *after* Pull-up correction" has been applied.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
torcar Offline
Member
Posts: 99
Joined: Apr 2012
Reputation: 0
Location: Norway
Post: #188
Sorry, took a while to do all the testing.

I have now tested about 15 different .mkv's. A mix of 720p, 1080p, DD5.1 and DTS. All of them display the same symptoms with some variation regarding when the sync-issues start... but usually within less than 30 minutes. Most often within 0-10 minutes.
I have also tested the same files on a Popcorn Hour C-200, a WDTV gen.3 and of course on the XBMC rig using MPC in windows... all without any flaws im kinda sorry to say;/


I see both dropped frames increasing, and several discontinuity errors in the log-file.

System: XBMC Frodo Final, HTPC: AMD 6450 1GB, Intel i5 2400S, 8GB DDR3, ASUS P8H61-M PRO, OCZ SSD Agility 3, NYXboard Hybrid Remote
Surround: NAD M15HD2, NAD M25, B&W 803 Diamond, B&W DB1, B&W HTM4, Pioneer KRP-600A / Panasonic 65VT50
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #189
@torcar - this is starting to point more to buffering/caching than anything else. Try copy a movie to a local drive and let it play completely through while monitoring the OSD periodically.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
torcar Offline
Member
Posts: 99
Joined: Apr 2012
Reputation: 0
Location: Norway
Post: #190
Will do. Not sure if I'll have the time before the weekend, but I will post back as soon as I've tried.

System: XBMC Frodo Final, HTPC: AMD 6450 1GB, Intel i5 2400S, 8GB DDR3, ASUS P8H61-M PRO, OCZ SSD Agility 3, NYXboard Hybrid Remote
Surround: NAD M15HD2, NAD M25, B&W 803 Diamond, B&W DB1, B&W HTM4, Pioneer KRP-600A / Panasonic 65VT50
find quote
Post Reply