[gst-devel] mov multiple audio

Marco Ballesio gibrovacco at gmail.com
Thu May 20 10:46:47 CEST 2010


On Wed, May 19, 2010 at 1:20 PM, Ivan Zoli <ivan.z at tiscali.it> wrote:
> Hallo,
> I'm trying to record and .mov file with multiple audio tracks.
> By now the file produced are playble with QuickTime,
> but I hear both the tracks downmixed.
> If I try the same pipeline with a .avi file (avimux), for example,
> it works. Can anyone help me?

Can you please elaborate what you mean for "it works"? Do you want to
play only one particular track? If it's so, by which means you want to
select the audio track?

Regards

> That's a sample of the pipeline I use:
> gst-launch -v videotestsrc num-buffers=300 ! \
>   video/x-raw-yuv,format=\(fourcc\)I420,width=640,height=480,frametate=\(fraction\)30/1
> ! \
>   x264enc ! \
>   queue name=video \
>   audiotestsrc num-buffers=100 blocksize=3200 ! \
>   audio/x-raw-int,rate=16000,channels=1,width=16,depth=16 ! \
>   queue name=audio \
>   audiotestsrc num-buffers=100 wave=9 blocksize=3200 ! \
>   audio/x-raw-int,rate=16000,channels=1,width=16,depth=16 ! \
>   queue name=audio2 \
>   ffmux_mov name=mux ! \
>   filesink location=test.mov  \
>   video.src ! mux.video_00 \
>   audio.src ! mux.audio_00 \
>   audio2.src ! mux.audio_01
>
> I suppose that should be possible to set different language for
> the two audio streams, in order to be selectable by the player,
> but I don't know how.
>
> Thank you
>
> Ivan
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>




More information about the gstreamer-devel mailing list