Trying to fix ffmpeg bug