but I can not find out put file out_res.mp4
when I set sink0 type is 4, but I can not find out put rtsp url. I try to use rtsp://localhost:8554/ds_test but fail.
please help me think you very much
Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• 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)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
• The pipeline being used
VPI: ii libnvvpi1 1.1.15 arm64 NVIDIA Vision Programming Interface library
Vulkan: 1.2.70
jetson-stats:
Version 3.1.2
Works on Python 3.6.9
DeepStream Version 6.0.1 TensorRT Version 8.0.1.6
Issue Type questions
• How to reproduce the issue ?
When using the configuration file I wrote, the problems I described will occur
• The pipeline being used(config file)
hi!
I still can’t get the RTSP URL, and the logs are normal.
how can I setup the rtsp port and udp port correctly in myenv. ?
in config file? or os environment?
Could you test your config file with a fakesink first to make sure your stream in your env works well?
You cannot use the mix sink mode. In your config file, you set the rtsp-port and set the output-file at the same time.
If you want to set sink the rtsp mode:
[sink0]
enable=0
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
#1=h264 2=h265
codec=1
sync=0
bitrate=4000000
# set below properties in case of RTSPStreaming
rtsp-port=8554
udp-port=5400
when I enable sink0 The following faults have occurred
dvadmin@dvadmin-desktop:~/wxp/tensorrtx/DeepStream-Yolo$ deepstream-app -c deepstream_app_config_copy4.txt
(gst-plugin-scanner:923): GStreamer-WARNING **: 17:53:29.226: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtritonserver.so: cannot open shared object file: No such file or directory
(gst-plugin-scanner:923): GStreamer-WARNING **: 17:53:29.229: 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
** ERROR: <create_udpsink_bin:603>: Failed to create 'sink_sub_bin_encoder1'
** ERROR: <create_udpsink_bin:676>: create_udpsink_bin failed
** ERROR: <create_sink_bin:781>: create_sink_bin failed
** ERROR: <create_processing_instance:815>: create_processing_instance failed
** ERROR: <create_pipeline:1326>: create_pipeline failed
** ERROR: <main:688>: Failed to create pipeline
Quitting
App run failed
when I add udp-buffer-size=100000 in sink0,no error is reported in the log, I use cv2.VideoCapture(‘rtsp://localhost:8554/ds-test’)try to receive RTSP, but fail, error log is below:
import cv2
>>> cap = cv2.VideoCapture('rtsp://localhost:8554/ds-test')
[tcp @ 0x334c6200] Connection to tcp://localhost:8554?timeout=0 failed: Connection refused
[ WARN:0] global /home/dvadmin/wxp/opencv-4.5.1/modules/videoio/src/cap_gstreamer.cpp (1825) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module source reported: Could not open resource for reading and writing.
[ WARN:0] global /home/dvadmin/wxp/opencv-4.5.1/modules/videoio/src/cap_gstreamer.cpp (914) open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0] global /home/dvadmin/wxp/opencv-4.5.1/modules/videoio/src/cap_gstreamer.cpp (501) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
[ERROR:0] global /home/dvadmin/wxp/opencv-4.5.1/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.5.1) /home/dvadmin/wxp/opencv-4.5.1/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): rtsp://localhost:8554/ds-test in function 'icvExtractPattern'