I need to stream a video to a Multicast address. I heard using FFMPEG we can stream the content. I used the following command to stream to the multicast address

ffmpeg.exe -i input -vcodec copy -acodec copy -f mpegts -re "udp://".

But i am not able to view the video in vlc nor in ffmpeg from another system. I need to view the contents from another machine. What mistake am i doing... Please help me with this.


4 Answers 4


First you should verify that the UDP packets are reaching you player system.

Is the the player system directly accessible from the transmitter system? UDP packets will be blocked by NAT routers if they are not specifically forwarded to the right machine by adding UDP port 1234 to the forward list.

You can next verify that the player machine receives the packets by listening to the UDP port with (supposing your physical interface is eth0, if not use the one used by your system.)

sudo tcpdump -i eth0 dst port 1234

If the packets are received ok then try to read the log from the player software the check if decoding problems can be identified.

  • maybe check if VLC can stream it to multicast first, too?
    – rogerdpack
    Jun 19, 2012 at 15:18

Full range of multicast addresses is from to After running the FFmpeg command goto any PC in the same network use this in VLC

  • the '-re' flag is applied to input not output, your command won't work as you have it listed.

  • you have your ttl set to 1, that will stop you at the first router, bump it up and see what happens.

This is the simplest way I know to do it.

    ffmpeg -i Plan_9_from_Outer_Space_1959.mp4 -c copy -f mpegts  'udp://'

Play with mplayer.

    mplayer udp://

Keep in mind that a lot of that range is restricted. If you want to use multicast for something private, better use

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.