<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Aurelin and All<br></blockquote><div><br>    Thanks for your reply. I am replying on behalf of Pawan<br><br>The output of gst-launch is as below.<br><br>balakrishnan@bglldtw126:~/Bala/Work$ 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. } <br>
<br>(gst-launch-0.10:18379): GLib-GObject-WARNING **: cannot register existing type `GstSignalProcessor&#39;<br><br>(gst-launch-0.10:18379): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0&#39; failed<br>
<br>(gst-launch-0.10:18379): GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type `&lt;invalid&gt;&#39;<br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>Setting CapsSetting CapsPipeline is PREROLLED ...<br>
Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br></div><div><br>So the pipeline goes into playing mode and is stuck in there.<br><br>So at this instant the output.mp4 is 0 bytes in size <br>However when i forcefully (ctrl C)  terminate the pipeline <br>
the output.mp4 ( find attached with the mail) is 317 bytes in size which is of course not playable.<br><br>I have  attached the logs with the following option<br>GST_DEBUG=qtmux:5,filesink:5,queue:5<br><br>Looking att that i feel the pipeline is somewhere stuck in the queue.<br>
<br>the avidmux continuously runs with out any problems  so have not taken the same.<br><br>I have also attached the sources for audiopass and the videopass elements mentioned below.<br><br>Please see the same and do let me know your observations<br>
<br>Thanks<br>Bala<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 17 Sep 2009 09:27:59 +0200<br>
From: Aurelien Grimaud &lt;<a href="mailto:gstelzz@yahoo.fr">gstelzz@yahoo.fr</a>&gt;<br>
Subject: Re: [gst-devel] Gstreamer pipeline to convert from avi to mp4<br>
        format !!<br>
To: Discussion of the development of GStreamer<br>
        &lt;<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>
Message-ID: &lt;<a href="mailto:4AB1E4FF.3070909@yahoo.fr">4AB1E4FF.3070909@yahoo.fr</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hi,<br>
<br>
Could you post the output of your gst-launch ? What does &quot;does not write<br>
out any data&quot; means ? Stuck in preroll ?, not negotiated ?<br>
Did you try to GST_DEBUG it ?<br>
Should give hints on what happens ...<br>
<br>
Aurelien<br>
<br>
Kumar, Pawan a ?crit :<br>
&gt;<br>
&gt; Hi All,<br>
&gt;<br>
&gt;      I am looking for a Gstreamer pipeline to convert from avi to mp4<br>
&gt; format. Here mp4 should contain the same the elementary Audio and<br>
&gt; Video streams as stored in avi.<br>
&gt;<br>
&gt;     test_h264_aac.avi : (Video.h264, Audio.aac) -----------&gt;<br>
&gt; output_h264_aac.mp4 : (Video.h264, Audio.aac)<br>
&gt;<br>
&gt;     So I do not want to decode the elementary streams and again encode<br>
&gt; it back before mux-ing with the MP4<br>
&gt;<br>
&gt;    I tried with the below pipeline.<br>
&gt;<br>
&gt;     gst-launch-0.10 filesrc location=test_h264_aac.avi ! avidemux<br>
&gt; name=demux { qtmux name=mux ! filesink location=output.mp4 } { demux.<br>
&gt; ! queue ! audiopass ! mux. } { demux. ! queue ! videopass ! mux. }<br>
&gt;<br>
&gt;      Here audiopass, and videopass  are gstreamer plugins, which pass<br>
&gt; through the audio and video elementary streams as it. These elements<br>
&gt; are used only for caps negotiation of  the audio and video src pads of<br>
&gt; AVI demuxer with the audio and video sink pads of the MP4 muxer.<br>
&gt;<br>
&gt;       This pipeline does not write out any Data.<br>
&gt;<br>
&gt;      Can somebody please suggest me a pipeline to do the conversion<br>
&gt; mentioned above ?<br>
&gt;<br>
&gt;<br>
&gt; Thanks,<br>
&gt; /Pawan<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; ------------------------------------------------------------------------------<br>
&gt; Come build with us! The BlackBerry&amp;reg; Developer Conference in SF, CA<br>
&gt; is the only developer event you need to attend this year. Jumpstart your<br>
&gt; developing skills, take BlackBerry mobile applications to market and stay<br>
&gt; ahead of the curve. Join us from November 9&amp;#45;12, 2009. Register now&amp;#33;<br>
&gt; <a href="http://p.sf.net/sfu/devconf" target="_blank">http://p.sf.net/sfu/devconf</a><br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>- bala<br>