hi,all:<br>&nbsp;&nbsp; I want to receive H.264 live stream and convert to MPEG2 TS and save to *.ts file.<br>VIDEO_CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264"<br>LATENCY=200<br>this is my command:<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>but, I receive error log as follow: Any one can help me!!<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><br><br><br><span title="neteasefooter"/><hr/>
<a href="http://allyes.nie.163.com/main/adfclick?db=afanie&bid=1254,611,23&cid=145,4,1&sid=1351&show=ignore&url=http://tx2.163.com/fab.html">09年新晋3D主流网游《天下贰》,网易六年亿资打造</a>
</span>