GNOME Bugzilla – Bug 680336
playbin: audio/subtitle stream switching needs improving
Last modified: 2016-02-21 12:21:00 UTC
Simply doesn't work for me at all. Playback just locks up a few seconds after switching.
Not completely broken anymore. Mostly works. Have seen a/v sync problem after switching audio tracks though, which might be a stream synchronizer bug (?).
Created attachment 245683 [details] Python script demonstrating the problem This is still a problem. The attached scripts demonstrates that if you switch tracks, audio and video both stop for a couple of seconds and (usually) eventually come back. If you do a flushing seek right afterwards, the audio and video generally work instantly, but sometimes it locks up so hard you have to kill it with kill -9. Here's how I run it: ./playbin-switchtrack.py https://dl.dropboxusercontent.com/u/61100892/test.mkv or: ./playbin-switchtrack.py https://dl.dropboxusercontent.com/u/61100892/test.mkv --seek
Still a problem with latest git master? There were a few related changes since May.
It looks like it's working better. I don't see any lockups, and it seems to work most of the time. I still see problems with the video or audio occasionally stopping.
Do you know why it is stopping? No data flowing anymore, buffers outside the segment, deadlock in one of the threads? And it's only stopping, not blocking the complete process and especially audio or video still continues?
Haven't seen problems related to this for a while, I think it works fine these days (and gst-validate does test this a little bit too). Please re-open if you still have problems, thanks!