New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Youtube Download Slows Down after 10 seconds #355
Comments
This is due to YouTube limiting the download speed server-side to |
@rg3 So, why did you not close this issue? |
I'm not the current maintainer, so I don't close issues. :) |
In my (non-scientific) experience, youtube may send videos with a constant fast speed if you don't run into any congestion at all (i.e. with a 100MBit/s link). Since the same seems to apply to videos in the web browser as well, I don't think there's anything we can do about it. |
Tried this on a 200Mb/s connection and same slow down happening. Bummer. Would be interesting to get best practices on which format has the best speed/quality ratio. |
Ok, after some research it seems like the solution is multi-threading. Other (mostly desktop tools) use that technique to speed up the download process and trick Youtube that way. Should I post this as a feature request?? |
Downloading the videos with external downloaders (like my branch that passes the videos to aria2c) mitigate this issue (I open 4 parallel connections at a time). Nota bene: mitigates, but doesn't solve. |
I have this issue too. |
Can you make this available?
|
Nowadays, YouTube sends the first 40 seconds of video at maximum rate, and then limits the throughput of the connection. |
Using |
I ended up using AXEL at 23 threads in parallel. I get 200 MB/s at times |
@phil2508, I'm surprised that they didn't start rejecting your connections. Using Another thing that I observed was that if a given video is available in HD, then they didn't throttle the download and I could get my downloads as fast as my pipe allowed, compared to if I use |
-f 43 fixed it for me, thanks :) |
For the record, -f 43 downloads the video in Google's WebM format (VP8 video, Orbis audio). It's a faster download, but also different to what YouTube would normally serve (H.264 video, mp3 audio, if I'm not mistaken). |
Can someone explain what the -f flag does? I looked at the source and there is a flag -q but it looks as if -f should not even be valid, but it is! Losing my mind here. Pls help. |
I know this is bit old bu I manged to get full speed using external downloaded
|
[pull] master from ytdl-org:master
Tried this on 4 different machines, two Suse, one Ubuntu, one Mac. The same problem on every environment: Download starts with about 800kb/s but slows down to 200kb/s after about 10 seconds and then drifts all the way down to 50-80kb/s. Videos that are 3 minutes or longer take forever to download. Can this be fixed?
The text was updated successfully, but these errors were encountered: