Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have FFMPEG reading a live stream and writing to an MP4 file. I would like to modify the FFMPEG command to write to 3 MP4 files simultaneously. This means that instead of generating one file, FFMPEG must generate 3 files simultaneously (essentially the data packets must be read and written in 3 different places on disk). The 3 files are identical, of course.

I agree that there are constraints with disk speed and processor speed, but I would like to be able to do anyway. Do advise!


share|improve this question

1 Answer 1

The easiest way would be to use the tee pseudo-muxer (documentation). Briefly:

ffmpeg -i INPUT [output options] -f tee "ou1.mp4|out2.mp4|out3.mp4"
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.