Thanks for the info. And sorry for the inconvenience. Below is the error messages on the receiver pipeline. <br>I did set gst debug level to 1.<br><br>Setting pipeline to PAUSED ...<br>Pipeline is live and does not need PREROLL ...<br>
Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br><span style="color: rgb(153, 0, 0);"><b>0:00:02.411903894  4462  0x8b64b30 ERROR               ffmpeg :0:: time base not set</b><br>ERROR: from element /GstPipeline:pipeline0/ffmux_mp4:ffmux_mp40: Could not configure supporting library.<br>
Additional debug info:<br>gstffmpegmux.c(485): gst_ffmpegmux_collected (): /GstPipeline:pipeline0/ffmux_mp4:ffmux_mp40:<br>Failed to write file header - check codec settings</span><br>Execution ended after 2171823723 ns.<br>
Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>Setting pipeline to NULL ...<br>FREEING pipeline ...<br><br><br>I tried with the muxmp4 also but I the pipeline throws the following errors and exits.<br>
<br>Setting pipeline to PAUSED ...<br>Pipeline is live and does not need PREROLL ...<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br><b>ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data flow error.</b><br>
Additional debug info:<br>gstbasesrc.c(2330): gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:<br>streaming task paused, reason not-negotiated (-4)<br>Execution ended after 74215528 ns.<br>Setting pipeline to PAUSED ...<br>
Setting pipeline to READY ...<br>Setting pipeline to NULL ...<br>FREEING pipeline ...<br><br><br>Pipeline I used is for receiver is:<br><br>gst-launch udpsrc caps=&quot;application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, profile-level-id=(string)4d4033, sprop-parameter-sets=(string)\&quot;Z01AM5JSAoP2AiAAAAMDACAAAAYR4wZJ\\,aO4CvIA\\=\&quot;, payload=(int)96, ssrc=(guint)250263704, clock-base=(guint)2304826711, seqnum-base=(guint)52740&quot; uri=udp://<a href="http://239.220.8.13:5002">239.220.8.13:5002</a> ! queue2 ! rtph264depay ! mp4mux ! filesink location=~/Desktop/test.mp4<br>
<br><br><br><div class="gmail_quote">On Tue, Apr 21, 2009 at 6:49 PM, thiagoss <span dir="ltr">&lt;<a href="mailto:thiagossantos@gmail.com">thiagossantos@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div class="im">On Tue, Apr 21, 2009 at 9:54 AM, Jyoti <span dir="ltr">&lt;<a href="mailto:jyoti.d@allaboutif.com" target="_blank">jyoti.d@allaboutif.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


But I am getting error on ffmux_mp4 element.<br>So why are those errors shown?<br></blockquote></div><div><br>The log you sent seems to have nothing about the error you receive on the console (at least, I couldn&#39;t find it). If you don&#39;t feel like going further into the problem with ffmux_mp4 you can try mp4mux from -bad instead. But maybe someone out there knows gst-ffmpeg and the answer for your problem.<br>


<br></div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Attached is the log of the receiver pipeline. <br>And I could not get the EOS part you mentioned. <br>


Could you please elaborate on that?<br>
</blockquote></div><div><br>When you are recording from live pipelines and you stop gst-launch with ctrl+c, it simply shuts the pipeline down, no EOS is sent. Some muxers need to send data after they receive EOS to finish the file properly, if no EOS is received the file ends up in an unconsistent state.<br>


A new feature has been added to git head and will be in the next core release (the prerelease is already up, you might try it from there)<br><br> </div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<br>Thanks<br><br><div class="gmail_quote"><div>On Tue, Apr 21, 2009 at 3:45 PM, vikram kf <span dir="ltr">&lt;<a href="mailto:ved.kpl@gmail.com" target="_blank">ved.kpl@gmail.com</a>&gt;</span> wrote:<br></div>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
The pipeline needs to shut down gracefully. You will have to send eos<br>
to pipeline.<br>
Ctrl-C won&#39;t work as the pipeline is shut down abruptly.<br>
But I guess, eos feature is recently added for gst-launch.<br>
</div><div><div></div><div><br><div><div></div><div>
On Tue, Apr 21, 2009 at 2:36 PM, Jyoti &lt;<a href="mailto:jyoti.d@allaboutif.com" target="_blank">jyoti.d@allaboutif.com</a>&gt; wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I am trying to save a live stream in a file. Below are the pipelines &amp; error<br>
&gt; messages.<br>
&gt;<br>
&gt; Sender side Pipeline:<br>
&gt; gst-launch gstrtpbin name=rtpbin filesrc<br>
&gt; location=~/Desktop/h264-aac/alien.mp4 ! qtdemux name=d d. ! rtph264pay !<br>
&gt; rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5002<br>
&gt; host=239.220.8.13 rtpbin.send_rtcp_src_0 ! udpsink port=5003<br>
&gt; host=239.220.8.13 sync=false async=false udpsrc port=5007 !<br>
&gt; rtpbin.recv_rtcp_sink_0<br>
&gt;<br>
&gt; Receiver side Pipeline:<br>
&gt; gst-launch udpsrc caps=&quot;application/x-rtp, media=(string)video,<br>
&gt; clock-rate=(int)90000, encoding-name=(string)H264,<br>
&gt; profile-level-id=(string)4d4033,<br>
&gt; sprop-parameter-sets=(string)\&quot;Z01AM5JSAoP2AiAAAAMDACAAAAYR4wZJ\\,aO4CvIA\\=\&quot;,<br>
&gt; ssrc=(guint)2050116617, payload=(int)96, clock-base=(guint)3965693777,<br>
&gt; seqnum-base=(guint)4980&quot; port=5002 ! queue2 ! rtph264depay ! ffmux_mp4 !<br>
&gt; filesink location=~/Desktop/test.mp4<br>
&gt;<br>
&gt; ERROR:<br>
&gt;<br>
&gt; Setting pipeline to PAUSED ...<br>
&gt; Pipeline is live and does not need PREROLL ...<br>
&gt; Setting pipeline to PLAYING ...<br>
&gt; New clock: GstSystemClock<br>
&gt; ERROR: from element /GstPipeline:pipeline0/ffmux_mp4:ffmux_mp40: Could not<br>
&gt; configure supporting library.<br>
&gt; Additional debug info:<br>
&gt; gstffmpegmux.c(485): gst_ffmpegmux_collected ():<br>
&gt; /GstPipeline:pipeline0/ffmux_mp4:ffmux_mp40:<br>
&gt; Failed to write file header - check codec settings<br>
&gt; Execution ended after 2126051332 ns.<br>
&gt; Setting pipeline to PAUSED ...<br>
&gt; Setting pipeline to READY ...<br>
&gt; Setting pipeline to NULL ...<br>
&gt; FREEING pipeline ...<br>
&gt;<br>
&gt; Can anyone suggest the way to save live stream.<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; PS : The file I am streaming on sender side has H264 video content.<br>
&gt;<br>
&gt;<br>
</div></div></div></div><div><div></div><div>&gt; ------------------------------------------------------------------------------<br>
&gt; Stay on top of everything new and different, both inside and<br>
&gt; around Java (TM) technology - register by April 22, and save<br>
&gt; $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.<br>
&gt; 300 plus technical and hands-on sessions. Register today.<br>
&gt; Use priority code J9JMT32. <a href="http://p.sf.net/sfu/p" target="_blank">http://p.sf.net/sfu/p</a><br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">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>
&gt;<br>
<br>
------------------------------------------------------------------------------<br>
Stay on top of everything new and different, both inside and<br>
around Java (TM) technology - register by April 22, and save<br>
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.<br>
300 plus technical and hands-on sessions. Register today.<br>
Use priority code J9JMT32. <a href="http://p.sf.net/sfu/p" target="_blank">http://p.sf.net/sfu/p</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">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>
</div></div></blockquote></div><br>
<br>------------------------------------------------------------------------------<br>
Stay on top of everything new and different, both inside and<br>
around Java (TM) technology - register by April 22, and save<br>
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.<br>
300 plus technical and hands-on sessions. Register today.<br>
Use priority code J9JMT32. <a href="http://p.sf.net/sfu/p" target="_blank">http://p.sf.net/sfu/p</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">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></blockquote></div></div></div><br><br clear="all"><br>-- <br><div><div></div><div class="h5">Thiago Sousa Santos<br><br>Embedded Systems and Pervasive Computing Lab (Embedded)<br>Center of Electrical Engineering and Informatics (CEEI)<br>
Federal University of Campina Grande (UFCG)<br>


</div></div><br>------------------------------------------------------------------------------<br>
Stay on top of everything new and different, both inside and<br>
around Java (TM) technology - register by April 22, and save<br>
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.<br>
300 plus technical and hands-on sessions. Register today.<br>
Use priority code J9JMT32. <a href="http://p.sf.net/sfu/p" target="_blank">http://p.sf.net/sfu/p</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>
<br></blockquote></div><br>