[FFmpeg-user] No luck with live stream from ffmpeg to ffserver

Reuben Martin reuben.m at gmail.com
Fri May 8 04:08:31 CEST 2015

On Saturday, May 02, 2015 06:50:25 PM En Figureo Canal wrote:
> I haven’t had much luck deploying ffserver, nothing works out for me
> streaming live from ffmpeg to ffserver. Had different problems, I don’t
> know if my configuration is correct but, can’t really get ffsever to do
> what I need and things are just frustrating me.

Quite using ffserver. It’s an arcane piece of junk that is not well maintained. 
If you wanting to stream meetings over your LAN you don’t need a central 
server. You can send it multicast with RTP.


ffmpeg -re -i sourceFile.ext -pix_fmt yuv420p -c:v libx264 -crf 20 -g 30 -
trellis 2 -profile:v high -c:a libfdk_aac -vbr 4 -ac 2 -ar 48000 -f sap 

Change sourceFile.ext to whatever your source file is. (Or to whatever capture 
source you are using.)

To view the stream, open VLC and in the playlist window pane on the side under 
“Local Network” is an entry for “Network Streams (SAP)”. Click that and any 
RTP streams advertised via SAP on your network will populate the playlist 
after a few seconds. Click on the one you want. (Likely your stream will be 
the only one listed but you never know.)

**Note: your network admin better have IGMP snooping correctly configured or 
your multicast turns into a broadcast.


More information about the ffmpeg-user mailing list