How to choose an audio track in a multi-language video?

#1

is there a way to select the desired audio track while playing a video with ofVideoPlayer?

In the specific I am interested in GStreamer based players (used on Linux with OF 0.10.1). It can decode and play very well formats like Matroska (mkv) that may have more than one audio channel, but I can’t find a way to select which one will go to the output.

Any hints?
Thank you
Davide

#2

You would need to setup a custom pipeline using ofGstVideoUtils instead of using the video player. The video player will just select the first one and there’s no way to select a different one