2009-04-02, 19:54
Hi all, after having XBMC working for ~2 months perfectly, since I upgraded to SVN (after a reinstall / distribution switch), I'm having problems with playback of some of my videos.
Basically, I have around 20 bluray backups, all with FLAC 5.1 audio and h.264/vc-1/mpeg2 video. I have XBMC outputting audio over a HDMI port (Asus P5N7A-VM motherboard - there's a thread on setting it up). And all was working perfectly till an upgrade to SVN head.
About 1/5 of my movies play perfectly (i.e. as they used to). However now when trying to play the rest I get complete audio corruption (sounds like white noise), and the video framerate slows to around 14fps (presumably because audio is the timebase, and it's fubarred).
If I look in the xbmc.log, I can see hundreds of:
18:43:36 T:2688564112 M: 90009600 WARNING: CDVDMessageQueue(video)::Get - retrieved last data packet of queue
18:43:36 T:2680171408 M: 90009600 DEBUG: CDVDPlayerAudio:: Discontinuty - was:1663572728.922333, should be:1663487333.333333, error:-85395.589000
18:43:36 T:2680171408 M: 90009600 DEBUG: CDVDPlayerAudio:: Discontinuty - was:1663658579.777333, should be:1663572333.333333, error:-86246.444000
18:43:37 T:2680171408 M: 90009600 DEBUG: CDVDPlayerAudio:: Discontinuty - was:1663742446.663333, should be:1663658333.333333, error:-84113.330000
18:43:37 T:2680171408 M: 90009600 DEBUG: CDVDPlayerAudio:: Discontinuty - was:1663829269.360333, should be:1663743333.333333, error:-85936.027000
Full log here.
This problem is 100% reproducible, on two completely unique installs on two different distributions (arch linux / ubuntu jaunty). Using SVN rev. 17652 the problem does not exist.
Also, if I turn off '5.1 to stereo downmix', it causes audio playback to fail (with an onscreen error, as the hdmi port is only 2-channel), however after that video playback is fine. Seems to me something like the flac 5.1 is causing dvdplayers audio processing to bork. I think some of the FLAC files are 24bit (as opposed to 16bit).
I can't see any pattern to which files will/won't play, they're all pretty much the same (5.1 FLAC (16/24bit), h.264/vc-1/mpeg2 video 1920x1080, in a MKV container). It _could_ be the 16/24bit audio files, as I don't know which are 24bit or 16bit).
Anybody have any ideas/suffering the same problems?
Thanks in advance, Xanium
Basically, I have around 20 bluray backups, all with FLAC 5.1 audio and h.264/vc-1/mpeg2 video. I have XBMC outputting audio over a HDMI port (Asus P5N7A-VM motherboard - there's a thread on setting it up). And all was working perfectly till an upgrade to SVN head.
About 1/5 of my movies play perfectly (i.e. as they used to). However now when trying to play the rest I get complete audio corruption (sounds like white noise), and the video framerate slows to around 14fps (presumably because audio is the timebase, and it's fubarred).
If I look in the xbmc.log, I can see hundreds of:
18:43:36 T:2688564112 M: 90009600 WARNING: CDVDMessageQueue(video)::Get - retrieved last data packet of queue
18:43:36 T:2680171408 M: 90009600 DEBUG: CDVDPlayerAudio:: Discontinuty - was:1663572728.922333, should be:1663487333.333333, error:-85395.589000
18:43:36 T:2680171408 M: 90009600 DEBUG: CDVDPlayerAudio:: Discontinuty - was:1663658579.777333, should be:1663572333.333333, error:-86246.444000
18:43:37 T:2680171408 M: 90009600 DEBUG: CDVDPlayerAudio:: Discontinuty - was:1663742446.663333, should be:1663658333.333333, error:-84113.330000
18:43:37 T:2680171408 M: 90009600 DEBUG: CDVDPlayerAudio:: Discontinuty - was:1663829269.360333, should be:1663743333.333333, error:-85936.027000
Full log here.
This problem is 100% reproducible, on two completely unique installs on two different distributions (arch linux / ubuntu jaunty). Using SVN rev. 17652 the problem does not exist.
Also, if I turn off '5.1 to stereo downmix', it causes audio playback to fail (with an onscreen error, as the hdmi port is only 2-channel), however after that video playback is fine. Seems to me something like the flac 5.1 is causing dvdplayers audio processing to bork. I think some of the FLAC files are 24bit (as opposed to 16bit).
I can't see any pattern to which files will/won't play, they're all pretty much the same (5.1 FLAC (16/24bit), h.264/vc-1/mpeg2 video 1920x1080, in a MKV container). It _could_ be the 16/24bit audio files, as I don't know which are 24bit or 16bit).
Anybody have any ideas/suffering the same problems?
Thanks in advance, Xanium