SSD friendly file downloading #19005

Open
opened 2026-02-21 10:23:23 -05:00 by deekerman · 0 comments
Owner

Originally created by @mrx23dot on GitHub (Jan 2, 2020).

  • I'm reporting a feature request
  • I've verified that I'm running youtube-dl version 2020.01.01
  • I've searched the bugtracker for similar feature requests including closed ones

Description

Downloading a simple video file eg: youtube-dl -f "hls-480p" xvideos_site_56MB_vid_mp4
Creates many temp files on HDD during download:

x.mp4.part-Frag55.part
x.mp4.part-Frag56.part files of 0-1KB
x.mp4.ytdl
x.mp4.part

SSDs have limited lifespans when writing to them, so please add a feature to use more RAM instead of temporary HDD/SSD writes. Eg. --memory 128MB, would wait for 128MB incoming data then write to the final file, without unnecessary additional writes.

Imagine an SSD in a download server, or SD in RaspberryPi, or even in HDD it causes fragmentation.
See Transmission's file cache handling as an example.

Originally created by @mrx23dot on GitHub (Jan 2, 2020). - [x] I'm reporting a feature request - [x] I've verified that I'm running youtube-dl version **2020.01.01** - [x] I've searched the bugtracker for similar feature requests including closed ones ## Description Downloading a simple video file eg: youtube-dl -f "hls-480p" xvideos_site_56MB_vid_mp4 Creates many temp files on HDD during download: x.mp4.part-Frag55.part x.mp4.part-Frag56.part files of 0-1KB x.mp4.ytdl x.mp4.part SSDs have limited lifespans when writing to them, so please add a feature to use more RAM instead of temporary HDD/SSD writes. Eg. --memory 128MB, would wait for 128MB incoming data then write to the final file, without unnecessary additional writes. Imagine an SSD in a download server, or SD in RaspberryPi, or even in HDD it causes fragmentation. See Transmission's file cache handling as an example.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#19005
No description provided.