<p>Hi All,</p>
<div>     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.</div>
<div>           <br>    test_h264_aac.avi : (Video.h264, Audio.aac) -----------&gt; output_h264_aac.mp4 : (Video.h264, Audio.aac) </div>
<p>    So I do not want to decode the elementary streams and again encode it back before mux-ing with the MP4</p>
<p>   I tried with the below pipeline.</p>
<p>    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. }</p>
<p>     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.</p>

<p>      This pipeline does not write out any Data.</p>
<div>     Can somebody please suggest me a pipeline to do the conversion mentioned above ?</div>
<div> </div>
<div> </div>
<div>Thanks,</div>
<div>/Pawan</div>
<div> </div>