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

Arun Raghavan arun at arunraghavan.net
Wed May 31 02:25:53 UTC 2017


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


More information about the gstreamer-devel mailing list