mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-08 14:07:15 +08: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