Error:Could not configure supporting library

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error:Could not configure supporting library

General195
hi,all:
   I want to receive H.264 live stream and convert to MPEG2 TS and save to *.ts file.
VIDEO_CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264"
LATENCY=200
this is my command:
gst-launch -v gstrtpbin name=rtpbin latency=$LATENCY \
     udpsrc caps=$VIDEO_CAPS port=4234 ! rtph264depay ! queue ! ffmux_mpegts ! queue ! filesink location=h264_mp2t.ts
but, I receive error log as follow: Any one can help me!!

Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0.GstPad:src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src: caps = video/x-h264
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-h264
/GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0.GstPad:video_0: caps = video/x-h264
ERROR: from element /GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0: Could not configure supporting library.
Additional debug info:
gstffmpegmux.c(551): gst_ffmpegmux_collected (): /GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0:
Failed to write file header - check codec settings
Execution ended after 19881715 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0.GstPad:video_0: caps = NULL
/GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...




09年新晋3D主流网游《天下贰》,网易六年亿资打造

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error:Could not configure supporting library

Thiago Sousa Santos-2


2009/10/19 libing195 <[hidden email]>
hi,all:
   I want to receive H.264 live stream and convert to MPEG2 TS and save to *.ts file.
VIDEO_CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264"
LATENCY=200
this is my command:
gst-launch -v gstrtpbin name=rtpbin latency=$LATENCY \
     udpsrc caps=$VIDEO_CAPS port=4234 ! rtph264depay ! queue ! ffmux_mpegts ! queue ! filesink location=h264_mp2t.ts
but, I receive error log as follow: Any one can help me!!
 
We recommend using mpegtsmux instead of ffmux_mpegts.


Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0.GstPad:src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src: caps = video/x-h264
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-h264
/GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0.GstPad:video_0: caps = video/x-h264
ERROR: from element /GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0: Could not configure supporting library.
Additional debug info:
gstffmpegmux.c(551): gst_ffmpegmux_collected (): /GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0:
Failed to write file header - check codec settings
Execution ended after 19881715 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0.GstPad:video_0: caps = NULL
/GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...




09年新晋3D主流网游《天下贰》,网易六年亿资打造
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Thiago Sousa Santos

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel