[gst-devel] what is pipeline for avi to mp4 transcoding

Balakrishnan Natarajan balakrishnan.2005 at gmail.com
Wed Sep 16 11:08:17 CEST 2009


Hi All,

     I am looking for a Gstreamer pipeline to do the following.

 -  Convert from AVI format to MP4 Format, *The MP4 should contain the same
the elementary Audio and Video streams as that of 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.

Thanks and Regards
Bala
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090916/1a272385/attachment.htm>


More information about the gstreamer-devel mailing list