Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Slow on Raspberry Pi #3029
Slow on Raspberry Pi #3029
Comments
|
I'm getting the same problem as well. |
|
Thank you very much for the report. I can reproduce this as well on my Rasperry Pi. We should (and will) investigate:
|
|
Hi, EDIT: still slow... but faster than when zipped... now Any progress on this? |
|
@philhag I reckon it would help a lot to load the extractors on demand, for the others, the speed change of youtube-dl would most likely be very small. |
|
This also occurs on Raspi with Arch Linux ARM. Version 2015.03.09 takes about 12s to run --version, and -g (what I'm mainly using it for) takes 22s. |
|
Any updates on this yet ? It has been almost more than an year since the issue was raised, and no solution so far. I have checked Python doing other stuff pretty fast on the same Pi as it is expected. So unlikely, there is any issue with python. May be there is something, that the new versions are trying to do which is causing this wait ~14 seconds issue. |
|
@acpadhi run |
|
There were multiple ones created. Zipped them up into a single file. Please download the below link. |
|
@dstftw any update on this ? Did the logs work for you or need any other info ? |
|
I ran into this issue as well and decided to dive into the code to check it out. I haven't looked into the code much deeper, but it seems at least the bulk of the delay is caused by loading the ~900 downloading modules and their dependencies on every execution of youtube-dl. |
i will post some ideas that may be can help to solve this problem:
or ...(some ideas by other developers). the second method is adding an option to prevent youtube-dl from exiting so it will load only once and than let the user to interact with with opened process(i think this will be simpler to implement than the first two ideas and it doesn't involve a lot of changes). |
|
I believe this problem is already fixed with #8497. Feel free to paste your timing results if it's still slow with lazy extractors. Unzipping files may help, too. |
|
The problem is still on ARM Debian 8. It takes about 10 seconds to see version number.
The version number is the newest: 2018.01.07 |
|
@Dingo64: You may want a custom build with lazy extractors enabled: #8497 (comment) |
|
Thanks, I'll try |
Hi,
I'm running youtube-dl on a raspberry pi (Raspbian GNU/Linux 7 (wheezy))...
youtube-dl seems to be slow on each operation. Even just calling "youtube-dl --version" returns after about 7 seconds...
Anyone with the same problem?