fixed ffmpeg issues