hello to all, I have a problem I can’t use the UDP protocol with GSTREAMER, I only managed to stream with the Rtmp protocol and with Vlc I was able to view it, all this within my private network, the string used to stream it is the following
sudo gst-launch-1.0 v4l2src device = / dev / video0! videoscale! ‘video / x-raw, width = 1280, height = 720, framerate = 25/1, format = YUY2’! nvvidconv! nvv4l2h264enc preset-level = 4 MeasureEncoderLatency = 1! h264parse! flvmux! rtmpsink sync = false location = ‘rtmp: //192.168.0.106: 1935 / live / test’
I have verified that it has a delay of 5 seconds.
But doing various researches I read that if I use the UDP protocol the delay is much less but I don’t know how to use it.
also I would like to display it on VLC, can it be done?
a test that I did is the following
gst-launch-1.0 v4l2src device = / dev / video0! ‘video / x-raw, format = YUY2’! nvvidconv! ‘video / x-raw (memory: NVMM), width = 640, height = 480’! omxh264enc! h264parse! rtph264pay config-interval = 1! udpsink host = 127.0.0.1 port = 5000
but clearly on VLC it doesn’t work
thanks for your help