mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-30 13:40:31 +02: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