hi,all:<br>&nbsp;&nbsp; I want to receive H.264 live stream and convert to MPEG2 TS and save to *.ts file.<br>this is my command:<br><br>
VIDEO_CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264"<br>
LATENCY=200<br><br>gst-launch -v gstrtpbin name=rtpbin latency=$LATENCY \<br>&nbsp;&nbsp;&nbsp;&nbsp; udpsrc caps=$VIDEO_CAPS port=4234 ! rtph264depay ! queue ! ffmux_mpegts ! queue ! filesink location=h264_mp2t.ts<br><br>but, I receive error log as follow: Any one can help me? Thanks lot!<br><br>Setting pipeline to PAUSED ...<br>/GstPipeline:pipeline0/GstUDPSrc:udpsrc0.GstPad:src:
caps = application/x-rtp, media=(string)video, clock-rate=(int)90000,
encoding-name=(string)H264, payload=(int)96<br>Pipeline is live and does not need PREROLL ...<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br>/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src: caps = video/x-h264<br>/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:sink:
caps = application/x-rtp, media=(string)video, clock-rate=(int)90000,
encoding-name=(string)H264, payload=(int)96<br>/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264<br>/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-h264<br>/GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0.GstPad:video_0: caps = video/x-h264<br>ERROR: from element /GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0: Could not configure supporting library.<br>Additional debug info:<br>gstffmpegmux.c(551): gst_ffmpegmux_collected (): /GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0:<br>Failed to write file header - check codec settings<br>Execution ended after 19881715 ns.<br>Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>/GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0.GstPad:video_0: caps = NULL<br>/GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0.GstPad:src: caps = NULL<br>/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = NULL<br>/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = NULL<br>/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src: caps = NULL<br>/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:sink: caps = NULL<br>/GstPipeline:pipeline0/GstUDPSrc:udpsrc0.GstPad:src: caps = NULL<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br><div><br>--<br>
<div>李兵<br>海信网络科技股份有限公司<br>研究发展部<br>0532-80874414<br>15954811012<br><a href="mailto:libing@hisense.com">libing@hisense.com</a><br></div>
</div><br><br><span title="neteasefooter"/><hr/>
<a href="http://allyes.nie.163.com/main/adfclick?db=afanie&bid=1258,613,23&cid=147,4,1&sid=1355&show=ignore&url=http://tx2.163.com/fab.html">"雪见"杨幂邀你共品3D国韵网游《天下贰》,海报免费领</a>
</span>