Studdery video playback
#1
I have been using XBMC for a few years now and I am loving it. But I have one Tv show that doesn't play properly. The video shudders and jumps around a little bit but the audio is fine. I have got it to play on XBMC on my xbox by switching the playback method from MPlayer to the built in ffmpeg based dvd player. But I see no option like that in the Linux version. The PC is running XBMC 10.1 and Ubuntu 10.10 and is streaming the media via samba from a Ubuntu 11.04 PC. Here is the log file:

10:34:46 T:3055736704 M:521719808 NOTICE: DVDPlayer: Opening: smb://192.168.2.50/tv shows/Spaced/Spaced - Season 1/Spaced 01x01.avi
10:34:46 T:3055736704 M:521719808 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
10:34:46 T:2837969776 M:521719808 NOTICE: Creating InputStream
10:34:50 T:2837969776 M:516866048 NOTICE: Creating Demuxer
10:34:53 T:2837969776 M:492208128 NOTICE: Opening video stream: 0 source: 256
10:34:53 T:2837969776 M:492208128 NOTICE: Creating video codec with codec id: 13
10:34:53 T:2837969776 M:491954176 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2
10:34:53 T:2837969776 M:491954176 NOTICE: Creating video thread
10:34:53 T:2837969776 M:491954176 NOTICE: Opening audio stream: 1 source: 256
10:34:53 T:2837969776 M:491954176 NOTICE: Finding audio codec for: 86017
10:34:53 T:2837969776 M:491954176 NOTICE: Creating audio thread
10:34:53 T:2829577072 M:491819008 NOTICE: running thread: video_thread
10:34:53 T:2806516592 M:491819008 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
10:34:53 T:2806516592 M:491778048 NOTICE: Creating audio device with codec id: 86017, channels: 2, sample rate: 48000, no pass-through
10:34:53 T:2829577072 M:491778048 NOTICE: fps: 25.000000, pwidth: 700, pheight: 400, dwidth: 700, dheight: 400
10:34:53 T:2829577072 M:491778048 NOTICE: Display resolution DESKTOP : 1024x768 @ 50.00 - Full Screen (12)
10:34:55 T:3055736704 M:485126144 NOTICE: Using GL_TEXTURE_2D
10:34:55 T:3055736704 M:485126144 NOTICE: GL: ARB shaders support detected
10:34:55 T:3055736704 M:485126144 NOTICE: GL: Selecting Single Pass ARB YUV2RGB shader
10:34:55 T:3055736704 M:485126144 NOTICE: GL: No vertex shader, fixed pipeline in use
10:34:55 T:3055736704 M:485126144 NOTICE: GL: NPOT texture support detected
10:34:55 T:3055736704 M:485126144 NOTICE: GL: Using GL_ARB_pixel_buffer_object
10:35:01 T:2806516592 M:504270848 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
10:35:02 T:2829577072 M:504549376 WARNING: Previous line repeats 1 times.
10:35:02 T:2829577072 M:504549376 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
10:35:02 T:2837969776 M:504418304 WARNING: CDVDPlayer::CheckPlayerInit(1) - Ignoring too large delay of 12000700.000000
10:35:02 T:2806516592 M:504954880 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
10:35:04 T:2829577072 M:510910464 WARNING: Previous line repeats 1 times.
10:35:04 T:2829577072 M:510910464 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
10:35:16 T:3055736704 M:556990464 WARNING: Previous line repeats 7 times.
10:35:16 T:3055736704 M:556990464 NOTICE: CDVDPlayer::CloseFile()
10:35:16 T:3055736704 M:556990464 NOTICE: DVDPlayer: waiting for threads to exit
10:35:16 T:2837969776 M:556990464 NOTICE: CDVDPlayer::OnExit()
10:35:16 T:2837969776 M:556990464 NOTICE: DVDPlayer: closing audio stream
10:35:16 T:2837969776 M:556990464 NOTICE: Closing audio stream
10:35:16 T:2837969776 M:556990464 NOTICE: Waiting for audio thread to exit
10:35:16 T:2806516592 M:556990464 ERROR: AddPackets - failed to add leftover bytes to render
10:35:16 T:2806516592 M:556990464 NOTICE: thread end: CDVDPlayerAudio::OnExit()
10:35:16 T:2837969776 M:556990464 NOTICE: Closing audio device
10:35:16 T:2837969776 M:556949504 NOTICE: Deleting audio codec
10:35:16 T:2837969776 M:556949504 NOTICE: DVDPlayer: closing video stream
10:35:16 T:2837969776 M:556949504 NOTICE: Closing video stream
10:35:16 T:2837969776 M:556949504 NOTICE: waiting for video thread to exit
10:35:16 T:2829577072 M:556986368 NOTICE: thread end: video_thread
10:35:16 T:2837969776 M:556986368 NOTICE: deleting video codec
10:35:16 T:2837969776 M:556986368 NOTICE: CDVDPlayer::OnExit() deleting demuxer
10:35:16 T:2837969776 M:559407104 NOTICE: CDVDPlayer::OnExit() deleting input stream
10:35:18 T:3055736704 M:559403008 NOTICE: DVDPlayer: finished waiting
10:35:18 T:3055736704 M:560431104 WARNING: Trying to add unsupported control type 3
10:35:18 T:3055736704 M:560427008 WARNING: Previous line repeats 4 times.
10:35:18 T:3055736704 M:560427008 WARNING: GetLabel - Unknown nodetype requested 12
10:35:18 T:3055736704 M:537149440 NOTICE: CDVDPlayer::CloseFile()
10:35:18 T:3055736704 M:537149440 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
10:35:18 T:3055736704 M:537149440 NOTICE: DVDPlayer: waiting for threads to exit
10:35:18 T:3055736704 M:537149440 NOTICE: DVDPlayer: finished waiting
10:35:20 T:3055736704 M:541650944 WARNING: GetLabel - Unknown nodetype requested 11
10:36:52 T:3055736704 M:559198208 NOTICE: Samba is idle. Closing the remaining connections

Any suggestions? Any help will be very appreciated. Thanks.
Reply
#2
Please turn on debug logging and post the full log on pastebin.
Reply
#3
Thanks for the reply! And done.

http://pastebin.com/8RmDzm7e
Reply
#4
I looked through the log file. I really don't understand what most of it means but to me the interesting stuff is looks like its here:

11:14:19 T:2855267184 M:542461952 DEBUG: CDVDPlayerAudio:: Discontinuity - was:5251532.689839, should be:5241278.158122, error:-10254.531716
11:14:25 T:2863659888 M:542498816 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
11:14:26 T:2863659888 M:542478336 INFO: CDVDPlayerVideo - Stillframe detected, switching to forced 25.000000 fps
11:14:26 T:2863659888 M:542478336 DEBUG: CPullupCorrection: pattern lost
11:14:26 T:2863659888 M:542531584 INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback

Its does that repeatedly until I stop the playback. It plays fine in VLC and Totem Movie Player.
Reply
#5
Could be a poorly muxed file, the audio and video packets are too far apart so the video and audio queues run empty.
Reply
#6
Any way to fix that? Also if that is so I'm curious as to why other media players seem to play it fine :/
Reply

Logout Mark Read Team Forum Stats Members Help
Studdery video playback0