Impossible to play a rtsp stream

Tim-Philipp Müller t.i.m at zen.co.uk
Mon Jul 16 05:36:04 PDT 2012


On Mon, 2012-07-16 at 13:57 +0200, Dominik Schröder wrote:

Hi Dominik,

> At the moment, I can play a local stored mpeg4 .avi file. The problem
> is to play a rtsp stream.
> 
> If I try: gst-launch -v rtspsrc
> location=rtsp://172.16.10.151:5544/cif ! qtdemux name=t ! queue !
> h264dec ! fastoverlaysink t.
> 
> I get the following error output: 
> element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc3:
> Internal data flow error.
> streaming task paused, reason not-linked (-1)

> I have gstreamer-0.10.22, gst-plugins-good-0.10.14 and
> gst-plugins-0.10.22 installed on my system.
> 
> Can anybody help me with this problem?

There is no need for qtdemux in this case. Just depayloaders and
decoders (for each stream).

Try:

gst-launch-0.10 -v rtspsrc location=rtsp://172.16.10.151:5544/cif !
rtph264depay ! h264dec ! fastoverlaysink

or even

gst-launch-0.10 -v uridecodebin uri=rtsp://172.16.10.151:5544/cif !
fastoverlaysink

(requires decoder element to have a rank and proper pad templates)

or even

gst-launch-0.10 -v playbin2 uri=rtsp://172.16.10.151:5544/cif
video-sink=fastoverlaysink

(depends a bit on your decoder + sink elements)

Cheers
 -Tim



More information about the gstreamer-devel mailing list