[FFmpeg-user] web stream video conversion on the fly without downloading

Da Rock ffmpeg-user at herveybayaustralia.com.au
Wed Nov 30 06:02:49 CET 2011

On 11/30/11 14:51, steven liu wrote:
> Dear All,
> I am wondering whether FFMPEG has the web stream video conversion on the
> fly capability. What I want to do is to receive online web video stream
> from sockets, convert to another format/size/bit rate on the fly without
> waiting until the whole video file is downloaded completely. For example, I
> receive 1 sec video and start converting for this 1-sec video content.
> Then, I go to receive another 1 sec and start converting another 1-sec
> video content. Is it possible to do this using FFMPEG or other tools? Many
> thanks.
I believe that is the point of it. You can input from many sources 
(including weburl) convert and view on the fly such as:

ffmpeg -i <url> <conversion parameters> | <mplayer or other viewer> -

Essentially that is what ffserver does- it connects endpoints like this 
automagically so to speak. One ffmpeg reads the source to ffserver, and 
ffserver calls another to write it to the remote.


More information about the ffmpeg-user mailing list