Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using youtube-dl to download videos. It is extremely slow, about 49kb/sec. About 0.1% per 3 seconds. What is a good normal speed? How do I tell if I have a pc problem or a connection problem or a server problem?
I have some videos that downloaded at 4mb/sec but other download at 60kb/sec. Why the differance?
Last edited by sofasurfer; 10-23-2021 at 01:59 PM.
What is the speed of the ISP connection?
What is the speed and nature of your connection from your client to you gateway device? (router?)
Those things set the upper limit of possible speed. Generally your actual measured speed will never be that high.
What is the speed of the ISP connection?
What is the speed and nature of your connection from your client to you gateway device? (router?)
Those things set the upper limit of possible speed. Generally your actual measured speed will never be that high.
I have cable connection with modem wired to computer. Providers speed test tells m I am downloading at 113mbps.
Downloading from YouTube is something they actively are trying to stop. The fact that you can at all surprises me. They will find a way to block or at least slow it to a crawl trying to make it not worth it.
boughtonp gave you the easy solution. Google has started throttling all the 3rd party youtube players - minitube, freetube, smtube, youtube-dl, etc, due to the way they request the video. That fork of youtube-dl works around the issue by pretending to be android (which apperantly is unaffected). Smart folks are working on calculating the "&n" value that will resolve this correctly.
For youtube-dl,that fork is direct replacement, I installed it and simlinked it to youtube-dl so don't have to think (and so smtube works automatically). For freetube change the api to invidious which has it resolved, until the internal stuff is updated. Minitube still not working for me (built 3.9.1 from source) but author claims he's fixed it in external java-something, dunno, for now I'm avoiding that app, although if I must use it, setting to 480p works. Any of these apps same thing, 480p is fine, 720p+ throttled.
For youtube-dl,that fork is direct replacement, I installed it and simlinked it to youtube-dl so don't have to think
That depends on your definition of "direct" - some may find it necessary to use "--compat-options youtube-dl" to reverse certain changes.
Quote:
Originally Posted by yt-dlp --help
--compat-options OPTS Options that can help keep compatibility
with youtube-dl or youtube-dlc
configurations by reverting some of the
changes made in yt-dlp. See "Differences in
default behavior" for details
Where "Differences in default behaviour" is not in the help output, but is in the readme - the below quote lists only some of the differences:
Quote:
Originally Posted by https://github.com/yt-dlp/yt-dlp#differences-in-default-behavior
Some of yt-dlp's default options are different from that of youtube-dl and youtube-dlc.
...
The default output template is %(title)s [%(id)s].%(ext)s. There is no real reason for this change. This was changed before yt-dlp was ever made public and now there are no plans to change it back to %(title)s-%(id)s.%(ext)s. Instead, you may use --compat-options filename
The default format sorting is different from youtube-dl and prefers higher resolution and better codecs rather than higher bitrates. You can use the --format-sort option to change this to any order you prefer, or use --compat-options format-sort to use youtube-dl's sorting order
...
--ignore-errors is enabled by default. Use --abort-on-error or --compat-options abort-on-error to abort on errors instead
...
The output of -F is listed in a new format. Use --compat-options list-formats to revert this
...
Youtube live chat (if available) is considered as a subtitle. Use --sub-langs all,-live_chat to download all subtitles except live chat. You can also use --compat-options no-live-chat to prevent live chat from downloading
...
Anyone with scripts or a particular workflow will want to investigate all the changes to determine if they are worth changing their process vs using compat-options.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.