Catching FFMPEG errors