[FFmpeg-user] Using ffmpeg to send multicast

Victor Sudakov vas at mpeks.tomsk.su
Thu Sep 15 07:48:39 CEST 2011


I am trying to stream multicast RTP sound into the network. When I use
the following command line on FreeBSD:

ffmpeg -i conference.mp3 -acodec copy -f rtp rtp:// 

it does work but in a weird way. It spews the whole content of
conference.mp3 into the network instantly and exits. You can even
actually hear _part_ of the podcast in the multicast receiver, perhaps
as much as the receiver's buffer can save (I tested with VLC).

What is the correct command line to multicast the file smoothly for
everybody to listen to the podcast? I would like to avoid using
ffserver if possible since ffmpeg can output RTP natively.

TIA for any input.

Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru

More information about the ffmpeg-user mailing list