mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-04-13 02:24:50 +09: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