After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 680336 - playbin: audio/subtitle stream switching needs improving
playbin: audio/subtitle stream switching needs improving
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.11.x
Other Linux
: Normal major
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
playback
Depends on:
Blocks:
 
 
Reported: 2012-07-20 18:09 UTC by Tim-Philipp Müller
Modified: 2016-02-21 12:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Python script demonstrating the problem (2.25 KB, text/x-python)
2013-05-30 22:38 UTC, Brendan Long
Details

Description Tim-Philipp Müller 2012-07-20 18:09:12 UTC
Simply doesn't work for me at all. Playback just locks up a few seconds after switching.
Comment 1 Tim-Philipp Müller 2012-09-16 22:26:28 UTC
Not completely broken anymore. Mostly works. Have seen a/v sync problem after switching audio tracks though, which might be a stream synchronizer bug (?).
Comment 2 Brendan Long 2013-05-30 22:38:33 UTC
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
Comment 3 Sebastian Dröge (slomo) 2013-08-16 10:33:05 UTC
Still a problem with latest git master? There were a few related changes since May.
Comment 4 Brendan Long 2013-08-16 16:31:30 UTC
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.
Comment 5 Sebastian Dröge (slomo) 2013-08-19 08:38:47 UTC
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?
Comment 6 Tim-Philipp Müller 2016-02-21 12:21:00 UTC
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!