Switching to yt-dlp
-
As a heads up, the latest version uses yt-dlp by default. Existing installations will continue to use youtube-dl. You can update
/app/data/config.yml
like below to use yt-dlp:# Path to your youtube-dl binary youtubedl: /usr/local/bin/yt-dlp # Path to your python binary python: /usr/bin/python3
Restart the app for changes to take effect.
-
I missed this post somehow and hopped on here to see if it's slow for everyone or just me. My download went from 70kb/s to 1mb/s! Thanks Girish!
-
Whilst on this topic, I would like to remind everybody that we have an active request for support of Invidious on Cloudron. A pretty reliable instance at the moment is https://yewtu.be
The original maintainer handed over the project to others and it is still being widely used. Invidious has been included as a component of the brilliant privacy redirect extenstion.
Invidious is a great way to have people move away from directly linking youtube videos and considering how influential Youtube is and how much traffic it receives, this could help a lot.
I hope we support Invidious deployment on Cloudron.
https://forum.cloudron.io/search?term=invidious&in=titlesposts
https://github.com/SimonBrazell/privacy-redirect -
@girish Thanks for asking. Invidious is completely different from yt-dlp. Invidious does help you download the videos.
Invidious is an alterntative frontend to Youtube. It acts as a proxy and helps protect viewers from tracking crapware etc. It also facilitates downnloading the videos. Oh, you won't see ads on the videos, either. You have the additional option of seeing Reddit (Teddit) comments on videos. You can subscribe to channels and import / export settings.
An easy way to see how useful Invidious is, is to just go to an instance, e.g. https://yewtu.be and try searching for some of your favourite Youtube channels and subscribe. For example:
https://yewtu.be/channel/UCbaxUExGKrH2zxY4AkY9wCghttps://yewtu.be/channel/UC5UAwBUum7CPN5buc-_N1Fw
And also to try watching a short video on Invidious and compare the experience to youtube. (Dark mode!)
https://yewtu.be/watch?v=nRfelgy3NsY
There are a lot of people using and working on Invidious and it would be great to have it supported on Cloudron.
-
@humptydumpty said in Switching to yt-dlp:
I missed this post somehow and hopped on here to see if it's slow for everyone or just me. My download went from 70kb/s to 1mb/s! Thanks Girish!
Me too! I just made the edit too and on my first random test video I'm getting 7.3mb/s
@girish I'm guessing once that change is made to an existing install it's essentially exactly the same as a fresh install?
-
@jdaviescoates said in Switching to yt-dlp:
@girish I'm guessing once that change is made to an existing install it's essentially exactly the same as a fresh install?
yes, it's the same as fresh install after the change.
-
My Alltube went back to sloooooooow downloads (~70kb/s). How come?
I confirmed the config to be using yt-dlp.
Edit: I found this post on Alltube's github and I remembered Girish's command about testing the disk speeds but it doesn't seem like it's slow and CPU/RAM seem fine. I don't know how to test bandwidth speeds though.
/dev/sda3: Timing cached reads: 14206 MB in 2.00 seconds = 7113.59 MB/sec Timing buffered disk reads: 948 MB in 3.00 seconds = 315.56 MB/sec
-
-
I've just switched to using yt-dlp locally on the command line.