Everybody knows ffmpeg the command line encoding tool but do you know ffserver ? ffserver is a multimedia streaming server for live broadcasts. With it, you can stream over HTTP, RTP and RSTP.
Quick overview
The concept is to use ffmpeg to push content to one server. This server will transcode streams and deliver to the end-users.
Input streams are called feed and for each feed you can have multiple output stream.
We can manage ffserver via a configuration file. The syntax is close to the one used for Apache server. You can find a example here. And there are more informations in the ffserver wiki.
We will see two examples on how to deliver content via a ffserver. There will be a FLV and a WebM stream.
Continue reading