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 613765 - Allow switching between video tracks
Allow switching between video tracks
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: Movie player
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on: 615085
Blocks:
 
 
Reported: 2010-03-24 03:18 UTC by erlehmann
Modified: 2011-04-06 22:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description erlehmann 2010-03-24 03:18:00 UTC
<a href="http://daten.dieweltistgarnichtso.net/video/testbild2-stereo.ogv">test case</a>
Comment 1 erlehmann 2010-03-24 03:34:05 UTC
I'd suggest to have an option to play both streams at the same time, either having two pictures or picture-in-picture.
Comment 2 Bastien Nocera 2010-04-07 14:31:15 UTC
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).
Comment 3 Bastien Nocera 2010-04-07 16:00:03 UTC
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).
Comment 4 erlehmann 2010-04-07 17:34:37 UTC
(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".
Comment 5 Bastien Nocera 2010-04-07 17:44:07 UTC
Cool, so playbin2's "current-video" property doesn't work. See bug 615085.
Comment 6 Bastien Nocera 2011-04-06 22:01:41 UTC
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