<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'<br><br>(gst-launch-0.10:18379): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed<br>
<br>(gst-launch-0.10:18379): GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type `<invalid>'<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 <<a href="mailto:gstelzz@yahoo.fr">gstelzz@yahoo.fr</a>><br>
Subject: Re: [gst-devel] Gstreamer pipeline to convert from avi to mp4<br>
format !!<br>
To: Discussion of the development of GStreamer<br>
<<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>><br>
Message-ID: <<a href="mailto:4AB1E4FF.3070909@yahoo.fr">4AB1E4FF.3070909@yahoo.fr</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
<br>
Could you post the output of your gst-launch ? What does "does not write<br>
out any data" 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>
><br>
> Hi All,<br>
><br>
> I am looking for a Gstreamer pipeline to convert from avi to mp4<br>
> format. Here mp4 should contain the same the elementary Audio and<br>
> Video streams as stored in avi.<br>
><br>
> test_h264_aac.avi : (Video.h264, Audio.aac) -----------><br>
> output_h264_aac.mp4 : (Video.h264, Audio.aac)<br>
><br>
> So I do not want to decode the elementary streams and again encode<br>
> it back before mux-ing with the MP4<br>
><br>
> I tried with the below pipeline.<br>
><br>
> gst-launch-0.10 filesrc location=test_h264_aac.avi ! avidemux<br>
> name=demux { qtmux name=mux ! filesink location=output.mp4 } { demux.<br>
> ! queue ! audiopass ! mux. } { demux. ! queue ! videopass ! mux. }<br>
><br>
> Here audiopass, and videopass are gstreamer plugins, which pass<br>
> through the audio and video elementary streams as it. These elements<br>
> are used only for caps negotiation of the audio and video src pads of<br>
> AVI demuxer with the audio and video sink pads of the MP4 muxer.<br>
><br>
> This pipeline does not write out any Data.<br>
><br>
> Can somebody please suggest me a pipeline to do the conversion<br>
> mentioned above ?<br>
><br>
><br>
> Thanks,<br>
> /Pawan<br>
><br>
> ------------------------------------------------------------------------<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>
><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>
><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>- bala<br>