mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-04-29 18:27:32 +00:00

Without the '--keep-video' option the two files would be downloaded again and even using the option, ffmpeg would be run again, which for some videos can take a long time. We use a temporary file with ffmpeg so that the final file only exists if it success