Hi all,<br><br>I am trying to save a live stream in a file. Below are the pipelines & error messages.<br><br>Sender side Pipeline:<br>gst-launch gstrtpbin name=rtpbin filesrc location=~/Desktop/h264-aac/alien.mp4 ! qtdemux name=d d. ! rtph264pay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5002 host=239.220.8.13 rtpbin.send_rtcp_src_0 ! udpsink port=5003 host=239.220.8.13 sync=false async=false udpsrc port=5007 ! rtpbin.recv_rtcp_sink_0<br>
<br>Receiver side Pipeline:<br>gst-launch udpsrc caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, profile-level-id=(string)4d4033, sprop-parameter-sets=(string)\"Z01AM5JSAoP2AiAAAAMDACAAAAYR4wZJ\\,aO4CvIA\\=\", ssrc=(guint)2050116617, payload=(int)96, clock-base=(guint)3965693777, seqnum-base=(guint)4980" port=5002 ! queue2 ! rtph264depay ! ffmux_mp4 ! 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 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<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>