Receive UDP stream

Hi all

I am trying to receive a UDP video stream from a PC in my Lan network.
Both PCs are in the same Lan class.
The UDP sender uses FFMPEG with address 192.168.1.255:1234.
Which address should I use on OpenCV for reciving the stream?

Thanks in advance

I don’t know much about FFMPEG video streaming, but I have used RTSP streaming from a camera.

This is what a camera url with RTSP would look like:
rtsp://<username>:<password>@192.168.1.126:554/h264Preview_01_sub

For FFMPEG try this:
udp://<IP of the PC that is sending the video>:<PORT>
exp:
udp://192.168.1.255:1234

Thanks Captain

I made some change.

I’ve change the FFMPEG IP 192.168.1.255:1234 with an multicast address 239.255.255.255:1234
Now all PC can see video with VLC using udp://@239.255.255.255:1234

I can’t figure out the right writing address for OpenCv.