Run YOLOV3 on RTP feed

Hello,
I have a camera and Xavier connected on the same network. The camera is giving RTP feed and I am able to visualise that feed on Xavier using this code

gst-launch-1.0 udpsrc port=8884 caps=application/x-rtp ! rtpjitterbuffer latency=10 ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! autovideosink

Then, I tried to run YOLOV3 using deepstream on the live feed using this command

gst-launch-1.0 udpsrc port=8884 caps=application/x-rtp ! rtpjitterbuffer latency=10 ! rtph264depay ! h264parse ! nvv4l2decoder ! m.sink_0 nvstreammux name=m batch-size=10 width=800 height=600 ! nvinfer config-file-path= ../sources/objectDetector_Yolo/config_infer_primary_yoloV3.txt batch-size=1 unique-id=1 ! nvtracker ll-lib-file=/opt/nvidia/deepstream/deepstream-4.0/lib/libnvds_mot_klt.so ! nvmultistreamtiler rows=1 columns=1 width=1280 height=720 ! nvvideoconvert ! nvdsosd ! nvegltransform ! nveglglessink sync=0

Apparently, the output that I’m getting is too much delayed (approx 3 seconds).

I also tried to modify the file sources/deepstream_app_config_yoloV3.txt by changing the line

uri=file://../../samples/streams/sample_1080p_h264.mp4

to

uri=udp://192.168.1.75:8884 caps=application/x-rtp ! rtpjitterbuffer latency=10 ! rtph264depay ! h264parse

Here, 192.168.1.75 is the IP address of my camera.
But, I am getting this error

ERROR from source: Could not get/set settings from/on resource.
Debug info: gstudpsrc.c(1563): gst_udpsrc_open (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstURIDecodeBin:src_elem/GstUDPSrc:source:
bind failed: Error binding to address: Cannot assign requested address

Please help.

Hi,

Do you update the source type from URI(=2 or 3) into RTSP(=4)?
If not, could you update the config and try it again?

You can find the detail change need to be applied in this comment:
https://devtalk.nvidia.com/default/topic/1058086/deepstream-sdk/how-to-run-rtp-camera-in-deepstream-on-nano/post/5366807/#5366807

Thanks.