[FFmpeg-user] fMP4 generation speed

Carl Zwanzig cpz at tuunq.com
Tue Jun 26 01:03:41 EEST 2018

On 6/25/2018 2:41 PM, Carl Eugen Hoyos wrote:
> 2018-06-25 15:02 GMT+02:00, Ronak<ronak2121-at-yahoo.com at ffmpeg.org>:
>> 1. Apple does not create temp files
> Isn't that generally a disadvantage?

Why would it be (not creating temp files)? Seems sensible from here.

A better question is why, it appears, is ffmpeg making temp files and where 
does it put them? If the files are created in the CWD and that's on a 
spinning drive, it's going to be slow; OTOH if they're created in /tmp and 
that's in a memory-resident file system it won't be much slower than just 
keeping large buffers.

Anyway, different drives for source and output files is usually a very good 
idea, as is a memory-resident /tmp file system (assuming you have the memory 
to hold it). Another option is turn off atime on those file systems; 
updating that can take up a lot of time and usually isn't useful.

Phil- I'm not sure I agree with you about temp files (in general), a lot 
depends on the what/where/how-many files are being used.



More information about the ffmpeg-user mailing list