[Solved] Downloading via youtube-dl too slow?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[Solved] Downloading via youtube-dl too slow?
Hi guys.
It seems I'm averaging only 50+kb/s when downloading via youtube-dl in the terminal.
Is this normal? Can I do something about it?
Surfing the web seems to be ok. Only youtube-dl downloading seems slow.
Thank you.
It seems I'm averaging only 50+kb/s when downloading via youtube-dl in the terminal.
Is this normal? Can I do something about it?
Surfing the web seems to be ok. Only youtube-dl downloading seems slow.
Thank you.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Downloading via youtube-dl too slow?
You are probably using an outdated version. What does
say?
Code: Select all
youtube-dl --version
Re: Downloading via youtube-dl too slow?
Updating via
sudo youtube-dl -U
doesn't seem to help. download still slow.
Maybe need to uninstall and do fresh install?
sudo youtube-dl -U
doesn't seem to help. download still slow.
Maybe need to uninstall and do fresh install?
Re: Downloading via youtube-dl too slow?
No, that wouldn't make a difference. I was thinking you may have had a really old version because I remember there being an issue with youtube slowing the dash downloads down, but a workaround was implemented later.
I just tried and I can download full speed. Maybe just a temporary network thing in your area? Or are you using special parameters? I tried just now without any.
I just tried and I can download full speed. Maybe just a temporary network thing in your area? Or are you using special parameters? I tried just now without any.
Re: Downloading via youtube-dl too slow?
use another youtube downloader. http://xdman.sourceforge.net/#downloads you'll need to get familiar with it's quirks but it's great once you have it integrated into your browser.
extract, open directory in Terminal and
view settings and get the link to the addon page
once you have it installed and browser extension is on you have the option to download many videos
people hate on XDM but i think it's a hidden gem
extract, open directory in Terminal and
sudo ./install.sh
you'll need the browser extension from tools>options>browser monitoring>view settings and get the link to the addon page
once you have it installed and browser extension is on you have the option to download many videos
people hate on XDM but i think it's a hidden gem
Re: Downloading via youtube-dl too slow?
But see, you only get 2 low res download options for your video, whereas youtube-dl can download the following for that same video in your screenshot, including the 1080p version:
Code: Select all
$ youtube-dl gV1sw4lfwFw -F
[youtube] gV1sw4lfwFw: Downloading webpage
[youtube] gV1sw4lfwFw: Downloading video info webpage
[info] Available formats for gV1sw4lfwFw:
format code extension resolution note
249 webm audio only DASH audio 51k , opus @ 50k, 960.64KiB
250 webm audio only DASH audio 67k , opus @ 70k, 1.24MiB
140 m4a audio only DASH audio 128k , m4a_dash container, mp4a.40.2@128k, 2.48MiB
251 webm audio only DASH audio 129k , opus @160k, 2.46MiB
171 webm audio only DASH audio 131k , vorbis@128k, 2.49MiB
278 webm 256x144 144p 107k , webm container, vp9, 30fps, video only, 1.85MiB
160 mp4 256x144 144p 111k , avc1.4d400c, 30fps, video only, 2.08MiB
242 webm 426x240 240p 236k , vp9, 30fps, video only, 4.19MiB
133 mp4 426x240 240p 387k , avc1.4d4015, 30fps, video only, 5.48MiB
243 webm 640x360 360p 480k , vp9, 30fps, video only, 7.67MiB
134 mp4 640x360 360p 751k , avc1.4d401e, 30fps, video only, 11.84MiB
244 webm 854x480 480p 764k , vp9, 30fps, video only, 14.05MiB
135 mp4 854x480 480p 1213k , avc1.4d401f, 30fps, video only, 20.51MiB
247 webm 1280x720 720p 1532k , vp9, 30fps, video only, 27.53MiB
136 mp4 1280x720 720p 2330k , avc1.4d401f, 30fps, video only, 33.49MiB
248 webm 1920x1080 1080p 2710k , vp9, 30fps, video only, 48.62MiB
137 mp4 1920x1080 1080p 4360k , avc1.640028, 30fps, video only, 53.89MiB
17 3gp 176x144 small , mp4v.20.3, mp4a.40.2@ 24k, 1.57MiB
36 3gp 320x180 small , mp4v.20.3, mp4a.40.2, 4.53MiB
18 mp4 640x360 medium , avc1.42001E, mp4a.40.2@ 96k, 14.56MiB (best)
Re: Downloading via youtube-dl too slow?
@gm10
i only have two quality selections because i'm not watching in 1080. if i was watching in 1080 or 240 i would get those options too.
i used to not like XDM because it's so bloated and written in JAVA, but lately it's an ugly duckling that just works. it did take quite a while to learn all it's options like speed limiter and how to get rid of the category folders it creates in Downloads, but it was the same way with GetRight and IDM for windows
i only have two quality selections because i'm not watching in 1080. if i was watching in 1080 or 240 i would get those options too.
i used to not like XDM because it's so bloated and written in JAVA, but lately it's an ugly duckling that just works. it did take quite a while to learn all it's options like speed limiter and how to get rid of the category folders it creates in Downloads, but it was the same way with GetRight and IDM for windows
Re: Downloading via youtube-dl too slow?
Ah weird, but fair enough. If you want you can take a look at uGet, not bloated, also supports Youtube. I never tried its browser plugin since clipboard integration is enough for me so I don't know how that compares.trytip wrote: ⤴Mon Oct 01, 2018 11:57 am @gm10
i only have two quality selections because i'm not watching in 1080. if i was watching in 1080 or 240 i would get those options too.
i used to not like XDM because it's so bloated and written in JAVA, but lately it's an ugly duckling that just works. it did take quite a while to learn all it's options like speed limiter and how to get rid of the category folders it creates in Downloads, but it was the same way with GetRight and IDM for windows
I prefer youtube-dl for advanced stuff though like downloading including subtitles, download audio-only, automatic format conversion, etc. It just gives you so much control.
Re: Downloading via youtube-dl too slow?
Hi kayeng,
I just read your post and the good replies to it. Here are my thoughts on this as well.
1.) There is a PPA for installing and keeping YouTube-DL and its related desktop application YouTube-DLG updated.
To install these using the PPA method, open a console terminal, type in, or copy & paste, each line below one by one: Click "Select All" above command, right click the highlighted command, select Copy (or Ctrl+Insert), click in the console terminal window, and right click paste (or Shift+Insert or Ctrl+Shift+v), repeat for each command.
2.) "4K Video Downloader" works really well too.
4K Download | Free and useful applications for PC, macOS and Linux
- download the Linux deb file, and double-click it to install it.
https://www.4kdownload.com/
3.) FYI: If you have not changed your local ISP's default DNS server IP addresses, I highly recommend that you do, then restart your computer. This provides anonymity and security and prevents your ISP from slowing down (throttling) certain activities or preventing access to certain websites. This can be done easily through your computer desktop Network Manager or within your hardware router's setup. You can use OpenDNS servers or other DNS provider servers like CloudFlare, dns.watch, opennic, etc...
Setup Guide | OpenDNS
- Click computer workstations and latops for desktop configuration and then Linux Mint...
https://www.opendns.com/setupguide/
Hope this helps ...
I just read your post and the good replies to it. Here are my thoughts on this as well.
1.) There is a PPA for installing and keeping YouTube-DL and its related desktop application YouTube-DLG updated.
To install these using the PPA method, open a console terminal, type in, or copy & paste, each line below one by one: Click "Select All" above command, right click the highlighted command, select Copy (or Ctrl+Insert), click in the console terminal window, and right click paste (or Shift+Insert or Ctrl+Shift+v), repeat for each command.
Code: Select all
sudo add-apt-repository ppa:nilarimogard/webupd8
Code: Select all
sudo apt-get update
Code: Select all
sudo apt-get install youtube-dl youtube-dlg
4K Download | Free and useful applications for PC, macOS and Linux
- download the Linux deb file, and double-click it to install it.
https://www.4kdownload.com/
3.) FYI: If you have not changed your local ISP's default DNS server IP addresses, I highly recommend that you do, then restart your computer. This provides anonymity and security and prevents your ISP from slowing down (throttling) certain activities or preventing access to certain websites. This can be done easily through your computer desktop Network Manager or within your hardware router's setup. You can use OpenDNS servers or other DNS provider servers like CloudFlare, dns.watch, opennic, etc...
Setup Guide | OpenDNS
- Click computer workstations and latops for desktop configuration and then Linux Mint...
https://www.opendns.com/setupguide/
Hope this helps ...
Phd21: Mint 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
Re: Downloading via youtube-dl too slow?
uget and the browser integrator is a fail in almost every browser. seems every chrome update breaks it and it's now broken and can't find the browser plugin. i see XDMAN is also now having issues with some links since chrome updated again.
i know about all the -dl options i also used it for a long time. it sucks that you think your system works the way you think it does but when you go and try using an application you haven't used in a while and it doesn't work you have no idea what to fix first.
i don't do much video downloads, so for me xdm is plenty enough. haven't used firefox in years so i wouldn't know now if downloads get handled better now or worse.
i know about all the -dl options i also used it for a long time. it sucks that you think your system works the way you think it does but when you go and try using an application you haven't used in a while and it doesn't work you have no idea what to fix first.
i don't do much video downloads, so for me xdm is plenty enough. haven't used firefox in years so i wouldn't know now if downloads get handled better now or worse.
Re: Downloading via youtube-dl too slow?
Thanks for the suggestions guys, but before I try any of them, I guess I should give more details.
It seems that I only (?) experience the 50kbps download limit when I choose the low-resolution (small size) option. But when I download the "best" (large file), it can download fast.
Also, same result with vimeo, so I guess it's not a youtube issue.
Thank you.
It seems that I only (?) experience the 50kbps download limit when I choose the low-resolution (small size) option. But when I download the "best" (large file), it can download fast.
Also, same result with vimeo, so I guess it's not a youtube issue.
Thank you.
Re: Downloading via youtube-dl too slow?
Possibly getting throttled by them - would make sense given the format - at least I can reproduce.kayeng wrote: ⤴Thu Oct 18, 2018 9:03 am It seems that I only (?) experience the 50kbps download limit when I choose the low-resolution (small size) option. But when I download the "best" (large file), it can download fast.
Also, same result with vimeo, so I guess it's not a youtube issue.
Thank you.
Re: Downloading via youtube-dl too slow?
Code: Select all
$ youtube-dl gV1sw4lfwFw -F
...
251 webm audio only DASH audio 129k , opus @160k, 2.46MiB
...
18 mp4 640x360 medium , avc1.42001E, mp4a.40.2@ 96k, 14.56MiB (best)
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: Downloading via youtube-dl too slow?
I agree that Opus is the superior audio format even at the same bitrate, but you are comparing it to an audio/video format here (and not the one youtube-dl would download if no parameters are passed). But I'm confused, how is this relevant to the thread?Flemur wrote: ⤴Thu Oct 18, 2018 9:33 amOne thing to note: youtube-dl will (should?) download the "(best)" one by default, but the webm audio-only version #251, if available, almost always has a better frequency response than the "(best)" version. (checked with audition).Code: Select all
$ youtube-dl gV1sw4lfwFw -F ... 251 webm audio only DASH audio 129k , opus @160k, 2.46MiB ... 18 mp4 640x360 medium , avc1.42001E, mp4a.40.2@ 96k, 14.56MiB (best)
Re: Downloading via youtube-dl too slow?
The example was a music video, and if the OP is after audio and not the video, he can get better sound from a 2.6MB webm file than from the 59MB mkv/mp4 file which is downloaded by default; downloading 1/20th as much is nice if "youtube-dl too slow".
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: Downloading via youtube-dl too slow?
Oh ok, fair point, well spotted, I hadn't paid attention to what kind of video it was (edit: actually never mind, that wasn't OP's video you are referencing). So in case audio-only is wanted you'd do either:
Code: Select all
youtube-dl gV1sw4lfwFw -x -f bestaudio
Code: Select all
youtube-dl gV1sw4lfwFw -x -f 251
Last edited by gm10 on Thu Oct 18, 2018 10:33 pm, edited 1 time in total.
Re: Downloading via youtube-dl too slow?
Try using
to show the resolution options.
4k or full hd 1920x1080 will take a lot longer than standard hd 1280x720
You can specify which you prefer
Code: Select all
youtube-dl -F 'url'
4k or full hd 1920x1080 will take a lot longer than standard hd 1280x720
You can specify which you prefer
Everything in life was difficult before it became easy.
Re: Downloading via youtube-dl too slow?
Probably not, I don't know, low resolution downloads aren't exactly my area of interest. You might be able to get around it by using a download manager and enabling multiple concurrent connections, although I just tried in uGet and that didn't seem to work there. In case of doubt ask the youtube-dl guys, they'll know best.