[FFmpeg-user] live transcoding flv files

Maurice Randall maurice at cmdrkey.com
Fri Mar 2 19:24:54 CET 2012


On 2012-03-01 15:22, Steve Roskowski wrote:

> I cannot figure out how to get ffmpeg to do the transcoding in 
> realtime.
>  FFMPEG seems to download the entire source file before beginning to
> generate output.  VLC shows the exact same behavior - video does not 
> start
> playing till the entire flv file is downloaded... which on a live 
> stream is
> forever.

> ffmpeg -i http://myserver/live_stream1/flv -b 64k -vcodec libx264 
> foo.flv
>
> works fine, but only starts rendering the output file when the live 
> stream
> is closed.

Is it possible to fetch the flv's from the same server using the rtmp 
protocol?
If so, that would do what you are after.

If only http can be used, maybe someone else can come up with an answer 
for you.

-Maurice



More information about the ffmpeg-user mailing list