big update to match ffmpeg