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.
Why is the speed of downloading not consistent? #22655
Comments
|
Post complete verbose log of command you are running. |
|
This is a question and NOT a bug report yet, so this is not in your Issue template. I am more than willing to provide this, but tagging 'incomplete' or 'locking conversations' is not helpful. |
|
|
Youtube shapes bandwidth for audio-only and video-only formats after first ~10MiB. In order to bypass that connection is reopened each 10MiB. |
|
Thanks for the explaination, @dstftw Is there a way around this, like fetching a combined file instead? (prefer to use a single solution, instead of having to rely on an external downloader). |
Checklist
Question
When using a browser (or any HTTP) download or watching a video on youtube, I notice the download is very consistent... mostly peaking at the bandwidth. However, when I use youtube-dl to grab a video, it shows a very clear roof-tiling pattern; it goes up and when it reaches peak there is a sheer drop to almost zero... after which the speed starts to raise again and repeating this process.
Not seeing this using using Aria2 (on Windows) as an external downloader:
Ref #22652
Note: I am aware
youtube-dldoes not perform any traffic shaping or throttling, but since this is not noticeable with an external downloader, it might be an issue with this specific version on Windows. This was not noticeable in previous versions.