GNOME Bugzilla – Bug 523164
Switching audio tracks requires seeking to work
Last modified: 2009-04-01 17:26:36 UTC
Hi, currently switching audio tracks requires one to seek afterwards to get the new track and sometimes, if not seeking, playback just hangs. Attached is a patch that seeks to the current position when switching audio tracks. The same is probably also necessary when switching subtitle tracks, I can't test this here though.
(In reply to comment #0) <snip> > The same is probably also necessary when switching subtitle tracks, I can't > test this here though. Actually, that already works fine.
Created attachment 107532 [details] [review] switch-track.diff
According to Tim we need to do the same for subtitle tracks still... so my patch includes it there too ;)
Is again a bug in playbin, maybe bug #522203. At least that the seeking workaround doesn't work looks much like that bug, there are two NEWSEGMENT events sent which let timestamps go wild and starve the pipeline.
I believe this isn't an issue any longer with playbin2. I'm hoping to port totem over to playbin2 in this release cycle, so not sure it's worth spending time figuring out why this doesn't work right or how to hack around it. We've lived with it for so long we'll manage another month.
*** Bug 540253 has been marked as a duplicate of this bug. ***
*** Bug 547770 has been marked as a duplicate of this bug. ***
Can I please comment on this. I have been doing research on gstreamer / totem and evangilising the benefits of gstreamer over ffmpeg/mplayer/vlc. This bug is one of the issues I see that prods user's into switching over th alternatives like VLC and mplayer (users typically just expect it to work and dont consider seeking backwards to get their playback stream preferences correct). I'm concerned that Tim may not have the time needed to port playbin2 in the current gnome release. Can I please appeal to getting this fixed in the current cycle as it would be a big step forward in apparent quality to most users. Thanks for the great software.
> I'm concerned that Tim may not have the time needed to port playbin2 in the > current gnome release. Can I please appeal to getting this fixed in the > current cycle as it would be a big step forward in apparent quality to > most users. Thanks for the great software. It's not really just me. To deploy playbin2 in this cycle we'd have needed a concerted effort on the side of the GStreamer team (stabilise/finalise the APIs, implement any missing features, investigate and fix all regressions quickly, and make sure everything gets released in time too). I didn't see that happening, so this has to wait for the next cycle, sorry. Maybe someone finds a way to make the above hack work reliably in the meantime.
Major severity bug if you ask me. When it comes to non-english speaking world, DVD's and its backup are pretty much guarantied to have multiple audio streams. And current GStreamer is helpless here... Patch doesn't really work, it insta seeks back a second or so with sound freezing in 90% of cases. Any progress on playbin2+totem combo?
We switched to playbin2 in trunk, so should be fixed.