get it working with latest ffmpeg