Silence for the first couple of seconds playing a movie
#1
When I start a movie, resume from pause or skip forward or backward, the video always plays a couple of seconds before the sound kicks in. There's no sync problem, it's just silence for a couple of seconds. It's not the end of the world, but it's kind of annoying to for example miss some dialogue after resuming from pause.

I use HDMI for both video and audio output and it doesn't matter if I set to audio output to analog or digital, the issue remains the same.

I had this problem on the XBMC 8.10 build as well as the SVN 17541 PPA build.

Full debug log: http://pastebin.com/f2634155a

I guess the "CDVDPlayerAudio:: Discontinuty" lines are the problem, but I can't figure out how to resolve this. Any ideas?
Code:
14:10:58 T:3066947392 M:2167963648   DEBUG: Update - NEW at 30634:000000037ff07be7 00 Pause mceusb (Pause)
14:10:58 T:3066947392 M:2167963648   DEBUG: OnKey: 230 pressed, action is 12
14:10:58 T:3066947392 M:2167963648   DEBUG: ------------------- GUI_MSG_WINDOW_INIT
14:10:58 T:3066947392 M:2167963648   DEBUG:
14:10:58 T:3066947392 M:2167963648   DEBUG: -------------------
14:10:58 T:3066947392 M:2167963648   DEBUG: Load seekslider.png: 0.0ms (bundled)
14:10:58 T:3066947392 M:2167963648   DEBUG: Load slider_nibFO.png: 0.0ms (bundled)
14:10:58 T:3066947392 M:2167963648   DEBUG: Alloc resources: 0.20ms (0.00 ms skin load, 0.07 ms preload)
14:10:58 T:3066947392 M:2167758848   DEBUG: Load NoCover_1.png: 0.6ms (bundled)
14:10:58 T:3066947392 M:2167758848   DEBUG: Load NoCover_1.png: 0.5ms (bundled)
14:10:58 T:3066947392 M:2167758848   DEBUG: Load black-back.png: 0.1ms (bundled)
14:10:58 T:2884746128 M:2167758848   DEBUG: CDVDPlayerAudio:: Discontinuty - was:8765352.591894, should be:8778991.467679, error:13638.875785
14:10:58 T:3066947392 M:2167607296   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmc/system/ImageLib-i486-linux.so)
14:10:58 T:3066947392 M:2167607296   DEBUG: Unloading: ImageLib-i486-linux.so
14:11:02 T:3066947392 M:2167607296   DEBUG: Update - NEW at 34710:000000037ff07be9 00 Play mceusb (Play)
14:11:02 T:3066947392 M:2167607296   DEBUG: OnKey: 234 pressed, action is 79
14:11:02 T:3066947392 M:2167607296   DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
14:11:02 T:3066947392 M:2167607296   DEBUG:
14:11:02 T:3066947392 M:2167607296   DEBUG: -------------------
14:11:02 T:2884746128 M:2167607296   DEBUG: CDVDPlayerAudio:: Discontinuty - was:9106316.384679, should be:9155453.784576, error:49137.399897


My setup:
Gigabyte GA-MA78GM-S2H (AMD 780G, using onboard Radeon HD 3200)
Athlon 64 X2 5050e
4 GB RAM
Panasonic TH-42PX70

Ubuntu 8.04 32-bit up to date as of 2009-02-03
ATI Catalyst 9.1
XBMC SVN 17541 PPA

For what it's worth, I did not have this issue on the same hardware running XBMC on Windows XP SP3.
Reply
#2
https://wiki.ubuntu.com/PulseAudio

Followed the instructions in the above link to install/configure PulseAudio and now there's no more delay! Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Silence for the first couple of seconds playing a movie0