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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Alltube
  3. Switching to yt-dlp

Switching to yt-dlp

Scheduled Pinned Locked Moved Alltube
14 Posts 5 Posters 3.0k Views 5 Watching
  • 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
      5
      • 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
          • girishG girish

            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 Offline
            L Offline
            LoudLemur
            wrote 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
            • L LoudLemur

              @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 Offline
              girishG Offline
              girish
              Staff
              wrote 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
              • girishG girish

                @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 Offline
                L Offline
                LoudLemur
                wrote 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
                • humptydumptyH humptydumpty

                  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 Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote 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
                  • jdaviescoatesJ jdaviescoates

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

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote 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
                        • robiR Offline
                          robiR Offline
                          robi
                          wrote on last edited by
                          #11

                          New updates!
                          https://github.com/yt-dlp/yt-dlp/releases/tag/2023.10.13

                          Conscious tech

                          1 Reply Last reply
                          3
                          • girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #12

                            @robi sadly, alltube itself is discontinued -https://forum.cloudron.io/topic/9083/no-more-updates-to-alltube . In fact, it doesn't build any more with the latest base image. I think we have to look for another app like invidious

                            robiR 1 Reply Last reply
                            0
                            • girishG girish

                              @robi sadly, alltube itself is discontinued -https://forum.cloudron.io/topic/9083/no-more-updates-to-alltube . In fact, it doesn't build any more with the latest base image. I think we have to look for another app like invidious

                              robiR Offline
                              robiR Offline
                              robi
                              wrote on last edited by
                              #13

                              @girish yep, any maintained front end that uses yt-dlp will do

                              Conscious tech

                              1 Reply Last reply
                              1
                              • jdaviescoatesJ Offline
                                jdaviescoatesJ Offline
                                jdaviescoates
                                wrote on last edited by
                                #14

                                I've just switched to using yt-dlp locally on the command line.

                                I use Cloudron with Gandi & Hetzner

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                  • Login

                                  • Don't have an account? Register

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