mhogomchungu / media-downloader

Media Downloader is a Qt/C++ front end to yt-dlp, youtube-dl, gallery-dl, lux, you-get, svtplay-dl, aria2c, wget and safari books..
GNU General Public License v2.0
1.34k stars 103 forks source link

Limit yt-dlp aria2c fragments threads #306

Closed trimechee closed 10 months ago

trimechee commented 11 months ago

Hello, thank you for the new version ! youtube donwloads again becomes slow at 50kb/s, so I use yt-dlp aria2c again, I noticed for a youtube video of about ten minutes, I noticed during the download by checking the download folder that it there are almost 600 file fragments, if the download is interrupted for some reason and it's happened to me before, I may have to delete 600 files in my download folder, maybe limit the number of segments and threads of yt-dlp aria2c to 4 for example? I know that dividing the file into small segments helps to speed up the download but is there an option to add to limit the number of segments threads please?

mhogomchungu commented 10 months ago

I have looked and i do not think aria2c has an option to limit the number of fragment files it keeps on disk before merging them.

trimechee commented 10 months ago

There is no more problem :) in fact downloading from youtube with yt-dlp was very slow that's why i was using aria2c, , and a few days ago i can't download anything from youtube with yt-dlp and ari2c, so i installed a vpn applied to all apps and youtube download via yt-dlp becomes very fast again so i don't need aria2c anymore except maybe for dailymotion....thank you very much :)