Create the output's parent directory if it is missing.
A rename cannot cross a filesystem boundary, so the temp file is always
created in the same directory as the target — which means that directory
has to exist before the encode starts. That is the usual cause of a
successful ffmpeg run failing at the rename step, so this is on by default.
OptionalkeepTempOnError
keepTempOnError?:boolean
Keep the temp file when the callback throws. Intended for debugging.
Create the output's parent directory if it is missing.
A rename cannot cross a filesystem boundary, so the temp file is always created in the same directory as the target — which means that directory has to exist before the encode starts. That is the usual cause of a successful ffmpeg run failing at the rename step, so this is on by default.