transcoder: handle unexpected ffmpeg crashes