You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello again,
I noticed a very big speed gap between downloads with this library, and youtube dl which i took for reference.
Downloading itag 251, takes about 20 minute for 1 hour video, as with youtube dl - around 9 seconds.
I have dug a bit in their code, and found that an option is missing from the final stream url, which is 'ratebypass=true',and i confirmed that adding it, allows YouTube to send data at constant speed (usually is first 40 seconds at max speed, rest at watching speed).The parameter is present both at dash and non dash streams.
Hello again,
I noticed a very big speed gap between downloads with this library, and youtube dl which i took for reference.
Downloading itag 251, takes about 20 minute for 1 hour video, as with youtube dl - around 9 seconds.
I have dug a bit in their code, and found that an option is missing from the final stream url, which is 'ratebypass=true',and i confirmed that adding it, allows YouTube to send data at constant speed (usually is first 40 seconds at max speed, rest at watching speed).The parameter is present both at dash and non dash streams.
Relevant code in youtube dl - https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/youtube.py#L1644
The text was updated successfully, but these errors were encountered: