Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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://239.101.101.1:1234?ttl=1&pkt_size=1316".

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.

share|improve this question

migrated from stackoverflow.com Jul 6 '11 at 15:14

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer

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.

share|improve this answer
    
maybe check if VLC can stream it to multicast first, too? –  rogerdpack Jun 19 '12 at 15:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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