Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Switching to yt-dlp

Scheduled Pinned Locked Moved Alltube
10 Posts 4 Posters 422 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #1

    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.

    L 1 Reply Last reply
    4
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #2

    https://github.com/ytdl-org/youtube-dl/issues/30568 has some information on how youtube-dl and yt-dlp are diverging.

    1 Reply Last reply
    3
  • humptydumptyH Offline
    humptydumptyH Offline
    humptydumpty
    wrote on last edited by
    #3

    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!

    jdaviescoatesJ 1 Reply Last reply
    1
  • L Offline
    L Offline
    LoudLemur
    replied to girish on last edited by
    #4

    @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

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to LoudLemur on last edited by
    #5

    @LoudLemur Isn't invidious completely different from this app? The other app is a private YouTube browser from what I can tell. Or is it that invidious can also download the videos?

    L 1 Reply Last reply
    1
  • L Offline
    L Offline
    LoudLemur
    replied to girish on last edited by
    #6

    @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/UCbaxUExGKrH2zxY4AkY9wCg

    https://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.

    1 Reply Last reply
    1
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to humptydumpty on last edited by
    #7

    @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?

    I use Cloudron with Gandi & Hetzner

    girishG 1 Reply Last reply
    1
  • girishG Offline
    girishG Offline
    girish Staff
    replied to jdaviescoates on last edited by
    #8

    @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.

    1 Reply Last reply
    1
  • humptydumptyH Offline
    humptydumptyH Offline
    humptydumpty
    wrote on last edited by humptydumpty
    #9

    My Alltube went back to sloooooooow downloads 🐢 (~70kb/s). How come?

    I confirmed the config to be using yt-dlp.
    34130a9a-fc1e-4740-aaff-e1ad844f401e-image.png

    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
    
    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #10

    Doubt disk speed is the throttling issue is here. I tried downloading something, I got 700 KB/sec on my server.

    1 Reply Last reply
    2

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.