Hi LRN,<br><br>Sorry for the late reply.<br>I tried the command you suggested, but gstreamer gives me this<br><br>'<font style="font-size: 10pt;" color="#000000" face="Arial">Setting
pipeline to PAUSED ...</font><font style="font-size: 10pt;" color="#000000" face="Arial"><br>Pipeline is PREROLLING ...' <br><br>and then stalls.<br><br>Dont rightly know why this is happening. <br>I'd encountered this before with my own adaptations and didnt find a reason why.<br>
<br>Any ideas?<br></font><br><br><div class="gmail_quote">2009/10/6 LRN <span dir="ltr"><<a href="mailto:lrn1986@gmail.com">lrn1986@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">Kaustubh Khade wrote:<br>
> Hi,<br>
><br>
> I'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<br>
> using ffenc_libmp3lame (currently im just using a mp3 file as input.<br>
> gst-launch filesrc location=Desktop/nana\ patekar.mp3 ! decodebin name= dec<br>
> dec. ! queue ! audioconvert ! ffenc_libmp3lame ! filesink<br>
> 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\<br>
> In\ The\ Name.mpg ! decodebin name= dec dec. ! queue ! ffenc_mpeg4 !<br>
> filesink location=Desktop/Rage_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>
> 'filesrc location=Desktop/Rage\ Against\ The\ Machine\ -\ Killing\ In\ The\<br>
> Name.mpg'<br>
><br>
> demux it and use the 'ffenc_mpeg4' and similarly 'audioconvert !<br>
> ffenc_libmp3lame' and use 'avimux' to create an avi.<br>
><br>
> Could someone help me out here?<br>
><br>
> Kaustubh<br>
><br>
><br>
</div></div>Something like this:<br>
gst-launch-0.10 filesrc location=Desktop/Rage\ Against\ The\ Machine\ -\<br>
Killing\ In\ The\ Name.mpg ! decodebin name=dec avimux name=avm dec.src0<br>
! queue ! ffenc_mpeg4 ! avm.video_0 dec.src1 ! queue ! ffenc_libmp3lame<br>
! avm.audio_0 avm.src ! filesink location=/Desktop/Rage_gstreamer_av.avi<br>
(untested)<br>
Assumes that src0 corresponds to video tracks and src1 to audio tracks<br>
(which may or may not be the case, but usually it is).<br>
<br>
------------------------------------------------------------------------------<br>
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA<br>
is the only developer event you need to attend this year. Jumpstart your<br>
developing skills, take BlackBerry mobile applications to market and stay<br>
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;<br>
<a href="http://p.sf.net/sfu/devconf" target="_blank">http://p.sf.net/sfu/devconf</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>