multitrack video

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Jul 23 05:50:07 PDT 2013


On Tue, 2013-07-23 at 13:14 +0200, Miroslav Míšek wrote:

Hi,

> I am new to gstreamer, I would like to write simple vidoe player in
> it, but I found one problem. I have movie file (avi) with more than
> one audio track. Is it possible somehow to get list of these audio
> tracks and choose one of them for output?

Yes, playbin (playbin2 in 0.10) has properties for that, like "n-audio",
and "current-audio", and you can get more information about the tracks
via the action signals, see gst-inspect-1.0 playbin.

Cheers
 -Tim




More information about the gstreamer-devel mailing list