[gst-devel] Gstreamer pipeline to convert from avi to mp4 format !!

Kumar, Pawan kpawan at gmail.com
Thu Sep 17 07:53:36 CEST 2009

Hi All,
     I am looking for a Gstreamer pipeline to convert from avi to mp4
format. Here mp4 should contain the same the elementary Audio and Video
streams as stored in avi.

    test_h264_aac.avi : (Video.h264, Audio.aac) ----------->
output_h264_aac.mp4 : (Video.h264, Audio.aac)

    So I do not want to decode the elementary streams and again encode it
back before mux-ing with the MP4

   I tried with the below pipeline.

    gst-launch-0.10 filesrc location=test_h264_aac.avi ! avidemux
name=demux { qtmux name=mux ! filesink location=output.mp4 } { demux. !
queue ! audiopass ! mux. } { demux. ! queue ! videopass ! mux. }

     Here audiopass, and videopass  are gstreamer plugins, which pass
through the audio and video elementary streams as it. These elements are
used only for caps negotiation of  the audio and video src pads of AVI
demuxer with the audio and video sink pads of the MP4 muxer.

      This pipeline does not write out any Data.
     Can somebody please suggest me a pipeline to do the conversion
mentioned above ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090917/66579a9c/attachment.htm>

More information about the gstreamer-devel mailing list