how to switch audio tracks in totem for a mkv file with two streams

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

how to switch audio tracks in totem for a mkv file with two streams

Andre1984
Dear all,
Could you help figure out a way to specify an audiostream while playing video?
Thank you
Andrey
Reply | Threaded
Open this post in threaded view
|

Re: how to switch audio tracks in totem for a mkv file with two streams

Andre1984
or rather how to modify the line to specify an audiostream played?
gst-launch-1.0 filesrc location= test.ts ! decodebin ! nvoverlaysink
Reply | Threaded
Open this post in threaded view
|

Re: how to switch audio tracks in totem for a mkv file with two streams

Arun Raghavan-4
On Thu, 18 May 2017, at 06:05 PM, Andre1984 wrote:
> or rather how to modify the line to specify an audiostream played?
> gst-launch-1.0 filesrc location= test.ts ! decodebin ! nvoverlaysink

decodebin exposes all available streams. For your case, you should use
playbin instead, with uri=file://$PWD/test.ts video-sink=nvoverlaysink
and the current-audio property to select the audio stream.

-- Arun
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel