How to catch a FFMPEG exception with subprocess?
I’m doing some work on subtitles and some videos have 1 subtitle track, others have 2 subtitle tracks. For those that have 2, I use the 2nd one (index = 1). I’m trying to automate it with python. For files with with 2 subtitle tracks, I use: -vf "subtitles=’file.mkv’:si=1 and for those with 1 subtitle… Read More How to catch a FFMPEG exception with subprocess?