[FFmpeg-user] same encode for multiple output

Fabian Lesniak fabian at lesniak-it.de
Mon Jun 13 12:18:34 CEST 2011


You may simply have a look at the GNU tool tee:

ffmpeg -i [...] -f avi - | tee file1.avi >file2.avi

Did not test it, but may work.

Am Montag, 13. Juni 2011, 12:13:01 schrieb David Kempers:
> Hi guys,
> 
> Is it possible for ffmpeg to encode an input stream once and have it output
> to more than one file?
> 
> I'd like to record from a capture card and write to a file and a tcp
> connection. The only way i can do this is setting the encode options twice
> and having ffmpeg encode the input stream twice.
> 
> David
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list