[gst-devel] mov multiple audio

ivan zoli ivan_zoli at fastwebnet.it
Wed May 19 12:14:20 CEST 2010


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?

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100519/3647253d/attachment.htm>


More information about the gstreamer-devel mailing list