Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Checklist
Description
When downloading most videos, youtube-dl downloads the video and audio stream as separate files and uses ffmpeg to merge them, correct? This might take quite a long time on larger videos and quite disk intensive since the disk is both reading from and writing to itself.
May I request a feature to set a temporary download directory for the separate video/audio streams before they are merged into the directory specified by the --output option.
My primary storage location is an HDD and I believe there would be a noticeable performance increase if a video's temporary files are downloaded to another disk, such an SSD, and then moved to the HDD during ffmpeg's merge process. This way the same disk doesn't have to both read and write to itself.
For example,
youtube-dl --tempdir ~/.cache --output /mnt/Movies/%(title)s.%(ext)scould download the video and audio streams in ~/.cache, which is an SSD, and then merge the final video in /mnt/Movies, an HDD.I checked through the readme and bugtracker, and I did not see such an option. Apologies in advance if I missed it.