how to deal with multi audio tracks ?

Stefan Kost ensonic at hora-obscura.de
Sun May 1 04:16:11 PDT 2011


Am 29.04.2011 06:38, schrieb wei qinbo:
> Hi guys,
> I'm trying to play movies which has multi audio tracks. What i would like to do
> is to handle these audio tracks: switch to one audio track or mix them together
> during playback.
> 
I you are using playbin2 you can already switch them using the "current-audio"
property. Mixing is not supported there. Could you elaborate the use case for
mixing here? The multiple audio-tracker usually refer to different languages or
encodings (e.g. mp3 stereo, ac3 5.1).

Stefan

> I tried to use adder element, it' seems work when mixing. but i don't know how
> to switch audio when playback. I just unlinked one audio decoder and the adder
> to disable the audio track. but then all audios are gone:(
> 
> Help please~
> 
> 
> Regards,
> ToTo
> 
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list