• Hardware Platform (Jetson / GPU): Jetson AGX Orin Developer Kit
• DeepStream Version: 7.1
• JetPack Version (valid for Jetson only): Jetpack 6.1[L4T 36.4.0]
• TensorRT Version: TensorRT v100300
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs): Bug: NVIDIA Deepstream sample Python app not working with RTSP streams
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
Run Docker container:
sudo docker run -it --rm --runtime nvidia --net=host -w /opt/nvidia/deepstream/deepstream-7.1 -v /tmp/.X11-unix/:/tmp/.X11-unix nvcr.io/nvidia/deepstream:7.1-triton-multiarch
Installation:
./install.sh
./user_additional_install.sh
./user_deepstream_python_apps_install.sh --version 1.2.0
apt-get install -y --reinstall libflac8 libmp3lame0 libxvidcore4 ffmpeg
apt install python3-numpy python3-opencv -y
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
Test 1: Failed
Command:
GST_DEBUG=3 python3 deepstream_imagedata-multistream.py 'rtsp://<ip-address>:8554' frames
Output:
Frames will be saved in frames
Creating Pipeline
Creating streamux
Creating source_bin 0
Creating source bin
source-bin-00
Creating Pgie
Creating nvvidconv1
Creating filter1
Creating tiler
Creating nvvidconv
Creating nvosd
Is it Integrated GPU? : 1
Creating nv3dsink
Atleast one of the sources is live
Adding elements to Pipeline
Linking elements in the Pipeline
Now playing...
1 : rtsp://<ip-address>:8554
Starting pipeline
0:00:00.106439095 5439 0xaaaade2f3210 ERROR nvvideodisplay display_x11.c:77:gst_nv_video_display_x11_new: failed to open X11 display connection
0:00:00.106504052 5439 0xaaaade2f3210 ERROR nvvideodisplay display.c:105:gst_nv_video_display_new: couldn't create display. GST_NV_VIDEO_WINSYS = (null)
0:00:00.106520275 5439 0xaaaade2f3210 ERROR nv3dsink gstnv3dsink.c:245:gst_nv3dsink_start:<nv3d-sink> failed to create new display
0:00:00.106537939 5439 0xaaaade2f3210 WARN basesink gstbasesink.c:5878:gst_base_sink_change_state:<nv3d-sink> error: Failed to start
Error: gst-core-error-quark: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. (4): ../libs/gst/base/gstbasesink.c(5878): gst_base_sink_change_state (): /GstPipeline:pipeline0/GstNv3dSink:nv3d-sink:
Failed to start
Exiting app
Test 2: Passed
Command:
gst-launch-1.0 -e urisourcebin uri="rtsp://<ip-address>:8554" ! queue ! parsebin ! queue ! h264parse ! mpegtsmux ! filesink location=rtsp.ts
Output:
(gst-plugin-scanner:3758): GStreamer-WARNING **: 03:48:05.958: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstmplex.so': libmjpegutils-2.1.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:3758): GStreamer-WARNING **: 03:48:06.245: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvoaacenc.so': libvo-aacenc.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:3758): GStreamer-WARNING **: 03:48:06.287: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstmpeg2enc.so': libmjpegutils-2.1.so.0: cannot open shared object file: No such file or directory
/bin/bash: line 1: lsmod: command not found
/bin/bash: line 1: modprobe: command not found
(gst-plugin-scanner:3758): GStreamer-WARNING **: 03:48:06.492: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstopenh264.so': libopenh264.so.6: cannot open shared object file: No such file or directory
(gst-plugin-scanner:3758): GStreamer-WARNING **: 03:48:06.522: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstfaad.so': libfaad.so.2: cannot open shared object file: No such file or directory
(Argus) Error FileOperationFailed: Connecting to nvargus-daemon failed: No such file or directory (in src/rpc/socket/client/SocketClientDispatch.cpp, function openSocketConnection(), line 205)
(Argus) Error FileOperationFailed: Cannot create camera provider (in src/rpc/socket/client/SocketClientDispatch.cpp, function createCameraProvider(), line 107)
(gst-plugin-scanner:3758): GStreamer-WARNING **: 03:48:06.755: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Pipeline is PREROLLED ...
Prerolled, waiting for progress to finish...
Progress: (connect) Connecting to rtsp://<ip-address>:8554
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
Redistribute latency...
Progress: (request) Sending PLAY request
Redistribute latency...
Progress: (request) Sent PLAY request
Redistribute latency...
Redistribute latency...
Redistribute latency...
^Chandling interrupt.
Interrupt: Stopping pipeline ...
EOS on shutdown enabled -- Forcing EOS on the pipeline
Waiting for EOS...
Got EOS from element "pipeline0".
EOS received - stopping pipeline...
Execution ended after 0:00:36.479905755
Setting pipeline to NULL ...
Freeing pipeline ...