fixed ffmpeg script