multitrack video

Miroslav Míšek miroslav.misek at gmail.com
Wed Jul 24 15:55:30 PDT 2013


Hi,

thanks for replay.
I tried that and it does not work for me unfortunatelly.
num = self.player.get_property('n-audio')
return 0, even if avi file has 2 audio streams.

I just added this to Example 2.3 of
http://pygstdocs.berlios.de/pygst-tutorial/playbin.html

Any idea what I am doing wrong please?

Thanks,
Miroslav Misek


On Tue, Jul 23, 2013 at 2:50 PM, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:

> 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
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130725/a9f59a56/attachment-0001.html>


More information about the gstreamer-devel mailing list