[FFmpeg-user] Using ffmpeg to send multicast

Victor Sudakov vas at mpeks.tomsk.su
Thu Sep 15 11:59:01 CEST 2011


Wernam, thank you very much indeed. With "-re" it works like charm.

Wernam Wer wrote:
> 
> Hi Victor
> 
> 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://239.8.8.8: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.
> 
> Wernam
> 
> > 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
> > 
> > Colleagues, 
> > 
> > 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://239.8.8.8: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
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>  		 	   		  
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


More information about the ffmpeg-user mailing list