Need an audio multicasting solution

Victor Sudakov vas at
Tue Sep 20 02:21:52 UTC 2011

RW wrote:
> > > You can use videolan / vlc. It allows you to multicast video too.
> > > In September 2011 BSD Magazine you have some examples about that.
> > 
> > I like vlc on Linux/Windows machines. But installing it to a streaming
> > server is a pain. Even if you disable all options in "make config", it
> > still tries to build scores of dependencies including some components
> > of the X Window system. Not nice.
> did you try setting  WITH_SERVER_ONLY?

Actually, setting WITH_SERVER_ONLY only sets 4 options


which I have set anyway. The number of dependencies is still

In fact, I have found a solution with ffmpeg, the example command
lines are:

ffmpeg -i file.mp3 -acodec copy -f rtp rtp:// -re
ffmpeg -f oss -i /dev/dsp -acodec mp2 -f rtp rtp:// -re

ffmpeg should be compiled WITH_LAME. Multicast stream playback has
been tested with vlc (Windows XP, Fedora Linux) and mplayer (FreeBSD 8).

In more detail in Russian:

Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov at

More information about the freebsd-questions mailing list