Streaming directly from an IP camera

Jack D jackstuff3 at gmail.com
Tue Jun 13 21:14:57 UTC 2017


Greetings,
Is it possible to stream directly from an IP camera?
All of the examples I have been able to find indicate that a client/server
or host/target must be created in order to stream from a camera.

I have tried udp, tcp, rtsp without much luck.
Here is an example of one of my attempts, which displayed a black window
for a few moments before it stopped.  Any help or pointing out my errors is
appreciated.

gst-launch-1.0 rtspsrc location=rtsp://192.168.2.8:554 ! decodebin ! gtksink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://192.168.2.8:554
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not
read from resource.
Additional debug info:
gstrtspsrc.c(5893): gst_rtspsrc_try_send ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not receive message. (System error)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170613/2c8cf5e4/attachment.html>


More information about the gstreamer-devel mailing list