Handle ffmpeg processing