gstreamer-1.0 doesn't work

Sebastian Dröge sebastian at centricular.com
Tue May 6 12:13:28 PDT 2014


On Mo, 2014-05-05 at 02:43 -0700, kostya wrote:
> I have trouble with gstreamer-1.0.
> Command 
> 
> /gst-launch-0.10 -e -v rtspsrc
> location=rtsp://192.168.0.70/udpstream_ch1_stream1 latency=0 ! rtph264depay
> ! "video/x-h264,width=1280,height=720,framerate=(fraction)25/1" ! avimux !
> filesink location=~/stream.avi/
> 
> works fine. But if execute exactly command with gst-launch-1.0 there is
> result
> /
> ERROR: from element
> /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: Internal data
> flow error.
> Additional debug info:
> gstbasesrc.c(2865): gst_base_src_loop ():
> /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1:
> streaming task paused, reason not-negotiated (-4)/
> 
> Why is it happened?

Check the GStreamer debug logs, they will contain all informations about
why negotiation has failed in that pipeline. But maybe it all works
already if you add h264parse in front of the muxer.

Note however that h264 inside AVI is never going to work properly
because of design constraints in AVI. Better use a modern container
format.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140506/3bb5b70d/attachment.sig>


More information about the gstreamer-devel mailing list