Gstreamer issue on mac osx
Gerard Toonstra
gtoonstra at gmail.com
Tue Jan 15 16:38:30 PST 2013
Hi there,
I have an IP cam that is configured to output UDP multicast. I'm getting video on Ubuntu Linux (12.10), but on Mac OSX there are issues.
See here the output of two consecutive runs. The first one hangs, is aborted. The second one reports a "subclass rejected caps" issue,
resulting in failure to negotiate.
Does anyone know what the problem could be? Missing libraries, incorrect versions?
I installed gstreamer from here:
http://docs.gstreamer.com/display/GstSDK/Installing+on+Mac+OS+X
Running Mountain Lion on Mac OSX mini: 12.2.0 Darwin Kernel Version 12.2.0
new-host-3:bin gt$ GST_DEBUG=2 ./gst-launch-0.10 -vvv udpsrc multicast-group=239.255.12.12 port=5004 auto-multicast=true caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264,payload=(int)96,width=(int)1280,height=(int)720" ! rtph264depay ! ffdec_h264 ! video/x-raw-yuv ! ffmpegcolorspace ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:00.126765000 499 0x10078bb00 WARN bin gstbin.c:2399:gst_bin_do_latency_func:<pipeline0> failed to query latency
New clock: GstSystemClock
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 46696132000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...
new-host-3:bin gt$ GST_DEBUG=2 ./gst-launch-0.10 -vvv udpsrc multicast-group=239.255.12.12 port=5004 auto-multicast=true caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264,payload=(int)96,width=(int)1280,height=(int)720" ! rtph264depay ! ffdec_h264 ! video/x-raw-yuv ! ffmpegcolorspace ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:00.152357000 519 0x100763700 WARN bin gstbin.c:2399:gst_bin_do_latency_func:<pipeline0> failed to query latency
New clock: GstSystemClock
0:00:00.166522000 519 0x100819050 WARN rtph264depay gstrtph264depay.c:280:gst_rtp_h264_depay_negotiate:<rtph264depay0> overriding property setting based on caps
0:00:00.166550000 519 0x100819050 WARN rtph264depay gstrtph264depay.c:288:gst_rtp_h264_depay_negotiate:<rtph264depay0> overriding property setting based on caps
0:00:00.166558000 519 0x100819050 WARN basertpdepayload gstbasertpdepayload.c:246:gst_base_rtp_depayload_setcaps:<rtph264depay0> Subclass rejected caps 0x102005440
0:00:00.166588000 519 0x100819050 WARN basesrc gstbasesrc.c:2633:gst_base_src_loop:<udpsrc0> error: Internal data flow error.
0:00:00.166596000 519 0x100819050 WARN basesrc gstbasesrc.c:2633:gst_base_src_loop:<udpsrc0> error: streaming task paused, reason not-negotiated (-4)
0:00:00.166653000 519 0x100819050 ERROR ffmpeg gstffmpegdec.c:2359:gst_ffmpegdec_frame:<ffdec_h2640> no codec context
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2633): gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 14420000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...
Rgds,
Gerard
More information about the gstreamer-devel
mailing list