Skip to content
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

downloading audio from youtube with ext downloader is slow #19142

Closed
LonJonn opened this issue Feb 5, 2019 · 2 comments
Closed

downloading audio from youtube with ext downloader is slow #19142

LonJonn opened this issue Feb 5, 2019 · 2 comments

Comments

@LonJonn
Copy link

@LonJonn LonJonn commented Feb 5, 2019

using the default downloader, the audio is downloaded extremely fast, however piping the url from --dump-json or just using an external downloader such as curl results in extremely slow speeds ONLY for audio. Video works just fine.
For eg. (excuse the images, formatting went wack in the editor)

youtube-dl --external-downloader curl -f bestaudio https://www.youtube.com/watch?v=WqCpWu8tgRw:
image

but, youtube-dl --external-downloader curl -f best https://www.youtube.com/watch?v=WqCpWu8tgRw:
image

Audio struggles along while video does exceptionally well and this is true for any external downloader, but not for the default youtube-dl downloader.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 5, 2019

Youtube throttles download. To download at high speed downloader must reopen connection per each ~10MiB chunk.

@dstftw dstftw closed this Feb 5, 2019
@Hrxn
Copy link

@Hrxn Hrxn commented Feb 5, 2019

For the record, video is not "just fine", it should be throttled as well.
Try it with -f bestvideo instead of -f best like in your original example. -f best is low-res only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.