I’m trying to receive live stream video from my icamera2 inside my network for the purpose of applying computer vision model to detect objects on my AGX. I couldn’t get my gstreamer to connect. My iCamera was configured to receive MJPEG. I was able to successfully connect to my camera from a Windows laptop using VLC. Interested is knowing if anyone has done this successfully. The gstreamer command I used was:
gst-launch-1.0 uridecodebin uri=rtsp://camera ip:8555/test ! nvvidconv ! “video/x-raw(memory:NVMM), width=640, height=360” ! nvegltransform ! nveglglessink window-x=1981 window-y=180
Error I got was:
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://camera ip:8555/test
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
ERROR: from element /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source: Could not open resource for reading.
Additional debug info:
gstrtspsrc.c(5829): gst_rtspsrc_setup_auth (): /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
No supported authentication protocol was found
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
I also tried:
gst-launch-1.0 uridecodebin uri=rtsp://yyyy:xxxx@<my camera’s ip>:8555/test ! nvvidconv ! “video/x-raw(memory:NVMM), width=640, height=360” ! nvegltransform ! nveglglessink window-x=1981 window-y=180
where yyyy is my userid and xxxx is my password
and I got:
Setting pipeline to PAUSED …
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://yyyy:xxxx@camera ip:8555/test
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
ERROR: from element /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source: Could not open resource for reading.
Additional debug info:
gstrtspsrc.c(5829): gst_rtspsrc_setup_auth (): /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
No supported authentication protocol was found
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …