After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 599001 - ERROR: from element /GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0: Could not configure supporting library
ERROR: from element /GstPipeline:pipeline0/ffmux_mpegts:ffmux_mpegts0: Could ...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-libav
0.10.9
Other Linux
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-20 00:58 UTC by General195
Modified: 2010-05-11 04:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description General195 2009-10-20 00:58:34 UTC
I want to receive H.264 live stream and convert to MPEG2 TS and save to *.ts file.
this is my command:

VIDEO_CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264"
LATENCY=200

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, is there something wrong?

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 ...
Comment 1 Sebastian Dröge (slomo) 2010-05-10 10:31:29 UTC
You should use mpegtsmux instead of ffmux_mpegts. The ffmpeg muxers often don't work as expected in GStreamer.

Does it work after changing the muxer?
Comment 2 General195 2010-05-11 00:49:46 UTC
 Thanks  Sebastian Dröge,
 
     My pipeline was constructed as follow:
     
     udpsrc--> rtph264depay--> mpegtsmux -->rtpmp2tpay-->udpsink
    
     It works very well.
Comment 3 Sebastian Dröge (slomo) 2010-05-11 04:19:16 UTC
Ok, then let's close this one.