Playback broken/stuttering after pause or seek
#1
Hello everyone,

I just switched my htpc from WHS 2011 to xubuntu and xbmc 11.0. It works really well and Linux is much more conervative with the limited resources on the machine. One thing though is really bugging me: After (un-)pausing or seeking while playing a movie the video playback is totally screwed. While the audio plays just fine, the video stutters heavilly. I've recorded a small video to demonstrate the problem (WARNING: may contain Battlestar Galactica spoilers! 0:10 to 0:15 should be save):

http://www.youtube.com/watch?v=wPNfSoZSkHk

Without pausing or seeking the movies are shown without any problem. Even stopping and continuing at the stored position works fine. I'm not really sure about this, but I think I've seen similar behavior while running xbmc 10 on WHS on the same machine but there it could be 'fixed' by pausing and unpausing again.

Videos are stored on a local hard drive. The htpc is an AMD E-350 Zacate (ASRock E350M1 AMD A50M So.FM1 Dual Channel DDR3 Mini-ITX Retail) with onboard video, hardware accelerated via vdpau.

This is the output of vainfo:
Code:
libva: libva version 0.32.0
libva: User requested driver 'xvba'
libva: Trying to open /usr/lib/va/drivers/xvba_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.32
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
vainfo: Supported profile and entrypoints
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD

Here is a debug log while trying to seek in an episode of "2 Broke Girls":
http://dl.dropbox.com/u/18449425/xbmc.log
Note that the first seek worked (most times it doesn't), the second broke.

Any help with this problem would be appreciated!

Greetings
Roben[/code]
Oh damn, should have used the search function, sorry guys.
Anyways, I hope my information contains any value.
Reply
#2
Here is someone else who uploaded a video/information on youtube:
http://www.youtube.com/watch?v=IWrZb5juG-Y

Disabling the settings he mentions does not help in my case. I guess it also depends on driver settings.
Reply
#3
This is caused by releasing video surfaces too early. They get reused/overwritten before rendered to display. I have implemented direct support for XVBA which is currently under testing. Check out this thread:
http://forum.xbmc.org/showthread.php?tid=116996
Reply
#4
Thanks, man, your build rocks! No more stuttering, everything is fine :-)
Reply

Logout Mark Read Team Forum Stats Members Help
Playback broken/stuttering after pause or seek0