Deepstream problem output udp cannot be parsed and played by vlc player

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU)jetson
**• DeepStream Version 6.01
**• JetPack Version (valid for Jetson only) 4.6.1

I refer to the rtsp output code of python to output the udp package, but the streaming media of udp can only be detected and output by the udpsrc of gstreamer, but I want to use the vlc player of windos10 to play udp, how to deal with it

pipline
nvvidconv_postosd.link(caps)
caps.link(encoder)
encoder.link(rtppay)
rtppay.link(sink)

updsink
updsink_port_num = 5400
sink = Gst.ElementFactory.make(“udpsink”, “udpsink_1”)
if not sink:
sys.stderr.write(" Unable to create udpsink")
sink.set_property(‘host’, ‘224.224.255.255’)
sink.set_property(‘port’, updsink_port_num)
sink.set_property(‘async’, False)
sink.set_property(‘sync’, 0)

Currently I can play with udpsrc code, but not with vlc

gst-launch-1.0 udpsrc address=224.224.255.255 port=5400 !
application/x-rtp, encoding-name=H264 !
rtph264depay ! h264parse ! nvv4l2decoder ! nvvidconv ! xvimagesink sync=0

How to Stream Video over UDP from GStreamer 1.0 to VLC - Stack Overflow

1 Like