<br><br><div class="gmail_quote">2009/10/19 libing195 <span dir="ltr">&lt;<a href="mailto:libing195@163.com">libing195@163.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

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=&quot;application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264&quot;<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>

</blockquote><div>&nbsp;</div><div>We recommend using mpegtsmux instead of ffmux_mpegts.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><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"></span><hr>


<a href="http://allyes.nie.163.com/main/adfclick?db=afanie&amp;bid=1254,611,23&amp;cid=145,4,1&amp;sid=1351&amp;show=ignore&amp;url=http://tx2.163.com/fab.html" target="_blank">09年新晋3D主流网游《天下贰》,网易六年亿资打造</a>
<br>------------------------------------------------------------------------------<br>
Come build with us! The BlackBerry(R) Developer Conference in SF, CA<br>
is the only developer event you need to attend this year. Jumpstart your<br>
developing skills, take BlackBerry mobile applications to market and stay<br>
ahead of the curve. Join us from November 9 - 12, 2009. Register now!<br>
<a href="http://p.sf.net/sfu/devconference" target="_blank">http://p.sf.net/sfu/devconference</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></blockquote></div><br><br clear="all"><br>-- <br>Thiago Sousa Santos<br>