catches ffmpeg errors