Suppressing other audio in multitrack stream.

Brendan Long self at brendanlong.com
Mon Jul 15 09:56:37 PDT 2013


On 07/15/2013 06:21 AM, Mohammad-Gmail wrote:
>
> -          Suppress all audios except 1^st that can be played? If I
> use flags=0x01. It suppresses all audios. If I use flags = 0x03, all
> audio tracks are decoded even if onlt 1^st is played, taking memory
> and cpu processing
>
I don't think you can do this in playbin.

> -          How can I select track to be played? Do I need to restart
> from pipeline creation, if I change my track?
>
You select the track to be played with the "current-audio" property
<http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-playbin.html#GstPlayBin--current-audio>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130715/32582267/attachment.html>


More information about the gstreamer-devel mailing list