I am trying to stream video from an IP camera over the network to an Xavier, and then run the nvyolo deepstream gstreamer plugin on the xavier.
I have this working gstreamer command line on the Xavier:
gst-launch-1.0 udpsrc port=5050 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! queue ! avdec_h264 ! xvimagesink sync=false -e
However, when I try to code it up with the C API, and adding the nvyolo and nvosd at the end and showing results, I get an error in gst_link_many. If I leave off nvyolo and nvosd, the pipeline runs just fine with the C API. My suspicion is the link between avdec_h264 and nvyolo.
When I try to use nvdec_h264 instead of avdec_h264 on the command line, I get this error:
WARNING: erroneous pipeline: no element "nvdec_h264"
and it fails to create the element nvdec_h264.
How would I go about connecting the pipeline above to nvyolo and nvosd plugin, and if I need nvdec_h264, how would I install that? I have other nv gstreamer plugins installed without issue from the deepstream sdk folder but the nvdec_h264 is not installed.