How to force ffmpeg into non-interactive mode?
See https://ffmpeg.org/ffmpeg.html#Main-options -stdin – Enable interaction on standard input. On by default unless a pipe is detected. -nostdin – To explicitly disable console interactions. Without -y this will cause ffmpeg to error out if the target file exists. -y – To overwrite the output file