Can't get RTSP stream

Nicolas Dufresne nicolas at ndufresne.ca
Wed Apr 18 01:05:45 UTC 2018


Le mardi 17 avril 2018 à 11:15 -0700, AtomicJosh a écrit :
> I can't seem to get Gstreamer to load a RTSP stream from an IP
> camera. I have
> verified the camera works with VLC. This running on a Nvidia TX2
> running L4T
> 28.2 (based on Ubuntu 16.04). GStreamer version is 1.8.3. The
> pipelines I
> have tried are with playbin and rtspsrc. Here are the respective
> terminal
> outputs:
> 
> tegra at tegra-ubuntu:~$ gst-launch-1.0 rtspsrc
> location=rtsp://192.168.2.119/554/h264 ! rtph264depay ! h264parse !
> omxh264dec ! nveglglessink
> Setting pipeline to PAUSED ...

If you pick a recent GStreamer version and avoids nvivida's plugins,
does it still fails ?

> 
> Using winsys: x11
> Pipeline is live and does not need PREROLL ...
> Got context from element 'eglglessink0': gst.egl.EGLDisplay=context,
> display=(GstEGLDisplay)NULL;
> Progress: (open) Opening Stream
> Progress: (connect) Connecting to rtsp://192.168.2.119/554/h264
> Progress: (open) Retrieving server options
> Progress: (open) Retrieving media info
> Progress: (request) SETUP stream 0
> Progress: (open) Opened Stream
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> Progress: (request) Sending PLAY request
> Progress: (request) Sending PLAY request
> Progress: (request) Sent PLAY request
> 
> #### It pauses here for about three minutes. Looking at the system
> monitor,
> it gradually uses more CPU and memory until reaching about 105% on
> CPU, then
> giving the following error ####
> 
> (gst-launch-1.0:2461): GStreamer-WARNING **: failed to create thread:
> Error
> creating thread: Resource temporarily unavailable
> 
> ----------------------------------------
> 
> tegra at tegra-ubuntu:~$ gst-launch-1.0 playbin
> uri=rtsp://192.168.2.119/554
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Progress: (open) Opening Stream
> Progress: (connect) Connecting to rtsp://192.168.2.119/554/
> Progress: (open) Retrieving server options
> Progress: (open) Retrieving media info
> Progress: (request) SETUP stream 0
> Progress: (open) Opened Stream
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> Progress: (request) Sending PLAY request
> Progress: (request) Sending PLAY request
> Progress: (request) Sent PLAY request
> 
> #### It pauses here for about three minutes. Looking at the system
> monitor,
> it gradually uses more CPU and memory until reaching about 105% on
> CPU, then
> giving the following error ####
> 
> (gst-launch-1.0:2645): GStreamer-WARNING **: failed to create thread:
> Error
> creating thread: Resource temporarily unavailable
> 
> ----------------------------------------
> 
> I can use nvgstplayer-1.0 to play saved video and the script from
> here
> (https://jkjung-avt.github.io/tx2-camera-with-python/) can
> successfully play
> video from the camera built into the TX2. Any ideas on how to resolve
> this
> error?
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180417/cc3a4571/attachment.sig>


More information about the gstreamer-devel mailing list