But I am getting error on ffmux_mp4 element.<br>So why are those errors shown?<br>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>
<br>Thanks<br><br><div class="gmail_quote">On Tue, Apr 21, 2009 at 3:45 PM, vikram kf <span dir="ltr"><<a href="mailto:ved.kpl@gmail.com">ved.kpl@gmail.com</a>></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'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 class="h5"><br>
On Tue, Apr 21, 2009 at 2:36 PM, Jyoti <<a href="mailto:jyoti.d@allaboutif.com">jyoti.d@allaboutif.com</a>> wrote:<br>
> Hi all,<br>
><br>
> I am trying to save a live stream in a file. Below are the pipelines & error<br>
> messages.<br>
><br>
> Sender side Pipeline:<br>
> gst-launch gstrtpbin name=rtpbin filesrc<br>
> location=~/Desktop/h264-aac/alien.mp4 ! qtdemux name=d d. ! rtph264pay !<br>
> rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5002<br>
> host=239.220.8.13 rtpbin.send_rtcp_src_0 ! udpsink port=5003<br>
> host=239.220.8.13 sync=false async=false udpsrc port=5007 !<br>
> rtpbin.recv_rtcp_sink_0<br>
><br>
> Receiver side Pipeline:<br>
> gst-launch udpsrc caps="application/x-rtp, media=(string)video,<br>
> clock-rate=(int)90000, encoding-name=(string)H264,<br>
> profile-level-id=(string)4d4033,<br>
> sprop-parameter-sets=(string)\"Z01AM5JSAoP2AiAAAAMDACAAAAYR4wZJ\\,aO4CvIA\\=\",<br>
> ssrc=(guint)2050116617, payload=(int)96, clock-base=(guint)3965693777,<br>
> seqnum-base=(guint)4980" port=5002 ! queue2 ! rtph264depay ! ffmux_mp4 !<br>
> filesink location=~/Desktop/test.mp4<br>
><br>
> ERROR:<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>
> ERROR: from element /GstPipeline:pipeline0/ffmux_mp4:ffmux_mp40: Could not<br>
> configure supporting library.<br>
> Additional debug info:<br>
> gstffmpegmux.c(485): gst_ffmpegmux_collected ():<br>
> /GstPipeline:pipeline0/ffmux_mp4:ffmux_mp40:<br>
> Failed to write file header - check codec settings<br>
> Execution ended after 2126051332 ns.<br>
> Setting pipeline to PAUSED ...<br>
> Setting pipeline to READY ...<br>
> Setting pipeline to NULL ...<br>
> FREEING pipeline ...<br>
><br>
> Can anyone suggest the way to save live stream.<br>
><br>
> Thanks<br>
><br>
> PS : The file I am streaming on sender side has H264 video content.<br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------------<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>
><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>