// IMPROVEMENT: For some reason passing the file from STDIN (see below) crashes ffmpeg.
// Doing it with a file seems to work better but involves IO. Would be nice to get rid of it
// in the future or use tmpfs instead
For some reason, passing the file as a file in the FS is better than thru the STDIN, for some unknown reason.
For some reason, passing the file as a file in the FS is better than thru the STDIN, for some unknown reason.