<div class="gmail_quote"><div class="gmail_quote">Hi,<br><br>I&#39;m looking for a command line argument to do the following<br><br>1. Read a .mpg file<br>2. Transcode the video component to mpeg4 (using ffenc_mpeg4)<br>3. Transcode the audio component to mp3<br>



4. mux this to an AVI file.<br>



<br>I know that I can use the following code to create a mp3 transcoded
file using ffenc_libmp3lame (currently im just using a mp3 file as
input.<br>gst-launch filesrc location=Desktop/nana\ patekar.mp3 !
decodebin name= dec dec. ! queue ! audioconvert ! ffenc_libmp3lame !
filesink location=Desktop/nana.mp3<br>

<br>I used this to get the video component in mpeg4 encoding in an AVI file.<br>gst-launch
filesrc location=Desktop/Rage\ Against\ The\ Machine\ -\ Killing\ In\
The\ Name.mpg ! decodebin name= dec dec. ! queue ! ffenc_mpeg4 !
filesink location=Desktop/Rage_<div>gstreamer_v.avi<br>

<br>I just dont know how to do it together.<br><br>I want something that would take this file <br>&#39;filesrc location=Desktop/Rage\ Against\ The\ Machine\ -\ Killing\ In\ The\ Name.mpg&#39;<br><br>demux it and use the &#39;ffenc_mpeg4&#39; and similarly &#39;audioconvert ! ffenc_libmp3lame&#39; and use &#39;avimux&#39; to create an avi.<br>







<br>Could someone help me out here?</div><br>
Kaustubh<br></div>
</div><br>