<br><br><div class="gmail_quote">On Tue, Apr 21, 2009 at 7:15 AM, vikram kf <span dir="ltr">&lt;<a href="mailto:ved.kpl@gmail.com">ved.kpl@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;">

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.</blockquote><div>Yes, use git head (or core release tarballs) and pass -e to gst-launch, this way ctrl+c will send EOS to the pipeline.<br><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>
<div><div></div><div class="h5"><br>
On Tue, Apr 21, 2009 at 2:36 PM, Jyoti &lt;<a href="mailto:jyoti.d@allaboutif.com">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>&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">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">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><br clear="all"><br>-- <br>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>