-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Is it normal to have a < 100kb rate for Youtube videos? #873
Comments
Hmm. could you provide a verbose log showing this speed drop (with and without the throttled rate option)? |
Sure, here it is: with
|
Strange. I reused the links generated in your logs and I'm getting normal speeds here. I think I can rule out this being related to the 'n-param' throttling issue in ytdl-org/youtube-dl#29326. So Couple things to check:
I'm leaning on the side this might be related to your connection to YT but not entirely sure myself. Sidenote: you may want to install ffmpeg since you are not getting the highest quality by default. |
Can you run |
@coletdjnz with @pukkandan here it goes:
|
my bad. since you have ffmpeg now, run without |
While this helps you get the best quality, it doesnot adress the issue at hand From your log, I have a suspicion of what is happening. Could u try:
|
Here you go @pukkandan (I used
ps. where is the User Agent header? |
In this line
Yes, my bad But doesnt look like it helped 😢 |
Not sure if that's the issue @89z, as I've already tried setting the chunk size to 10MB before and it didn't make any difference. |
@89z Results with
|
I used
|
|
|
It may be something related to WSL2 (ref microsoft/WSL#4901):
I'll keep digging. |
It is unlikely, but why dont u test on windows too so that we can confirm @89z The range end isn't sent with the first request so that we can get what the total content length is. All other requests (for youtube) are made with a chunksize of 10M by default |
It was exactly that... for some reason wsl2 doesn't like a lot of traffic.
|
Checklist
Question
I got yt-dlp through python3 and I'm trying to download some videos, but all of them stay at around 80KiB/s, which is quite slow. Opened Youtube on a regular browser and the videos play just fine.
Tried using it without any arguments but finally, after browsing the issues page for some time, tried this:
yt-dlp -N 4 --throttled-rate 100K https://www.youtube.com/watch?v=l4Iu3YB0pTs
Now it retries every couple seconds and the rate doesn't get above 100K.
Any tips on how to proceed and get a decent download speed?
The text was updated successfully, but these errors were encountered: