This adds a check to see if intended output file exists BEFORE doing any real work. It gives the user the option to continue if the file exists (which then removes that file, preventing ffmpeg from waiting later on for user input). If the user chooses not to overwrite the file the script exits.
This adds a check to see if intended output file exists BEFORE doing any real work. It gives the user the option to continue if the file exists (which then removes that file, preventing ffmpeg from waiting later on for user input). If the user chooses not to overwrite the file the script exits.