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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Switching to yt-dlp

    Alltube
    4
    10
    370
    Loading More Posts
    • 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.
    • girish
      girish Staff last edited by

      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 Reply Quote 4
      • girish
        girish Staff last edited by

        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 Reply Quote 3
        • humptydumpty
          humptydumpty last edited by

          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!

          jdaviescoates 1 Reply Last reply Reply Quote 1
          • L
            LoudLemur @girish last edited by

            @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 1 Reply Last reply Reply Quote 0
            • girish
              girish Staff @LoudLemur last edited by

              @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 Reply Quote 1
              • L
                LoudLemur @girish last edited by

                @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 Reply Quote 1
                • jdaviescoates
                  jdaviescoates @humptydumpty last edited by

                  @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

                  girish 1 Reply Last reply Reply Quote 1
                  • girish
                    girish Staff @jdaviescoates last edited by

                    @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 Reply Quote 1
                    • humptydumpty
                      humptydumpty last edited by humptydumpty

                      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 Reply Quote 0
                      • girish
                        girish Staff last edited by

                        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 Reply Quote 2
                        • First post
                          Last post
                        Powered by NodeBB