[FFmpeg-user] Using ffmpeg to send multicast
wernam at hotmail.com
Thu Sep 15 10:25:12 CEST 2011
If what you want is send the file little by little, so someone can connect to the stream after you start the stream, you can try this command
ffmpeg -i conference.mp3 -acodec copy -f rtp rtp://18.104.22.168:5000 -re
With -re you read the input at native frame rate, so you will be sending it as long as the file duration.
I hope it helps.
> Date: Thu, 15 Sep 2011 12:48:39 +0700
> From: vas at mpeks.tomsk.su
> To: ffmpeg-user at ffmpeg.org
> Subject: [FFmpeg-user] Using ffmpeg to send multicast
> 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://22.214.171.124:5000
> 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
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
More information about the ffmpeg-user