I used RTSP streaming input, and then wanted to use RTSP output to view the video on another PC, but it failed to run.
This is my configuration file:
[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=4
num-sources=2
uri=rtsp://admin:a1111111@192.168.1.64/cam/realmonitor?channel=1&subtype=0
gpu-id=0
cudadec-memtype=0
[streammux]
gpu-id=0
batch-size=2
batched-push-timeout=-1
## Set muxer output width and height
width=1920
height=1080
nvbuf-memory-type=0
[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File
type=2
sync=0
source-id=0
gpu-id=0
[sink1]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File
type=4
sync=0
codec=1
bitrate=200000
rtsp-port=8554
udp-port=5400
source-id=0
gpu-id=0
The error log is:
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***
** ERROR: <main_11:640>: Failed to set pipeline to PAUSED
Quitting
ERROR from sink_sub_bin_udpsink1: Could not get/set settings from/on resource.
Debug info: gstmultiudpsink.c(1278): gst_multiudpsink_configure_client (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/GstUDPSink:sink_sub_bin_udpsink1:
Could not join multicast group: Error joining multicast group: No such device
ERROR from sink_sub_bin_udpsink1: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Debug info: gstbasesink.c(5265): gst_base_sink_change_state (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/GstUDPSink:sink_sub_bin_udpsink1:
Failed to start
App run failed
terminate called after throwing an instance of 'class_loader::LibraryUnloadException'
what(): Attempt to unload library that class_loader is unaware of.
Aborted (core dumped)