GNOME Bugzilla – Bug 613765
Allow switching between video tracks
Last modified: 2011-04-06 22:01:41 UTC
<a href="http://daten.dieweltistgarnichtso.net/video/testbild2-stereo.ogv">test case</a>
I'd suggest to have an option to play both streams at the same time, either having two pictures or picture-in-picture.
We can probably implement switching between the videos using the "Angle" menu item (and keyboard shortcut) and the "current-video" and "n-video" playbin properties (untested).
For testing purposes, what are the 2 videos supposed to be? And do you know of any other players that would be able to switch between the video tracks (some way to check Totem against a playing video would be nice).
(In reply to comment #3) > For testing purposes, what are the 2 videos supposed to be? One is showing a Gstreamer videotestsrc standard test image. The other is showing a pattern of concentric cirles also taken from a videotestsrc. The method of generation is detailed at <http://blog.dieweltistgarnichtso.net/mehrfachvideo-mit-gstreamer> (in German). > And do you know of > any other players that would be able to switch between the video tracks (some > way to check Totem against a playing video would be nice). I do not know of such a player and currently use "gst-launch-0.10 filesrc location=testbild2-stereo.ogv ! decodebin name=d ! queue ! xvimagesink d. ! queue ! xvimagesink".
Cool, so playbin2's "current-video" property doesn't work. See bug 615085.
And fixed for GNOME 3.2! commit 1066d8aea423ebc4dbbe3a7e4ec460c93b0237fc Author: Bastien Nocera <hadess@hadess.net> Date: Wed Apr 6 22:59:48 2011 +0100 main: Add ability to switch video tracks We can now switch video tracks, when multiple angles aren't available. Also make sure that the Angle menu is only enabled when there are multiple video tracks, or angles available. https://bugzilla.gnome.org/show_bug.cgi?id=613765