See full list on registry.hub.docker.com. To download a portion of a video with Youtube-dl, run: Here, -ss 00:01:00 is the starting time of video and -to 00:02:00 is the ending time. So the above command will start encoding at 1 minute and end at 2 minutes. You can also use -t flag to specify the total time duration. This will start encoding at 1 minute and take only the next 50 seconds. Here, apt-get uses the install option to download the Docker-engine image from the Docker website and get Docker installed. The Docker-engine is the official package from the Docker Corporation for Ubuntu-based systems. In the next section, we will see how to check for the version of Docker that was installed. Docker Hub is a hosted repository service provided by Docker for finding and sharing container images with your team. Key features include: Publisher Images: Pull and use high-quality container images provided by external vendors. Certified images also include support and guarantee compatibility with Docker Enterprise.
I always hated the clunky pieces of software that call themselves Youtube Downloader. They look terrible, are a pain to use, littered with ads and just in general not a nice experience.
As a big fan of selfhosting I wanted something that was under my control. Docker is a perfect solution for an isolated problem like a Youtube Downloader, but after some research I realized that there was no such thing for Docker yet (Okey, there was no good one). I was really excited because this seemed like a nice opportunity to finally stress my homeserver a bit. Up to this point it was basically converting electricity to heat at terrible efficiency. The coding was done using react for the frontend and a hapi-webserver in the backend (You gotta love Node.js).
Since everything on my homeserver is running in an isolated Docker-Container, the
ytdl-webserver(thats what I will call this from now on) needed a
Dockerfile. Those are extremely easy to set up and it still blows my mind how much it abstracts from the complicated matter of an OS. I will show you mine:
Isn’t that amazing? You build an image from this file and have an application that can run everywhere without having to know anything about the underlying OS? What a time to be alive!
2 What does it do
tldr; Watch the GIF down below
At the moment the application takes a link from a YouTube video as an input. Then the video gets downloaded with the popular command line tool youtube-dl. Once it is finished it gets converted to an MP3. Note that I plan on adding other options here like downloading the video without converting, converting it to different formats, etc.
Functionality like that is easy to implement with the current structure, so if you enjoy coding as much as I do, head over to the project page and contribute.
Docker Youtube Downloader
I also added some kind of web storage caching for the already downloaded videos and tried to keep everything as consistent as possible. The project is far from finished though, so give it some love.
3 Using it
The appliation is super easy to get going. Everything runs with Node.js, so installing is a matter of one line. Since the GitHub-Repo also includes the
Dockerfile you can even build your own image and host it wherever you want!
I hope this article deemed useful to someone who can now selfhost their own Youtube Downloader. The GitHub-Repo for the project can be found here. If you have any questions, open up an issue over there or write me!Posted August 8, 2017
Written by Raphael who lives in Germany and likes to code a lot. You should check out his GitHub or write him an Email.
No comments yet. Change that!
Youtubedl-gui is a simple new graphical interface for the popular command-line YouTube downloader youtube-dl.
The tool is quite simple to use, just paste the video URL, select audio quality and format, video resolution and format, and click download! And of course, there’s an option to change the destination folder of your downloads.
Once you click download, a small dialog will pop up with the process bar.
AllTube(for The Inspiration)
How to Install Youtubedl-gui in Ubuntu:
Just note for legal reasons you need permission to download videos from youtube.
The software developer maintains an Ubuntu PPA contains the packages for Ubuntu 20.04, Ubuntu 20.10, and Linux Mint 20.
terminal from system application launcher and do following steps one by one:
1.) Run commands one by one to install the latest youtube-dl if you don’t have it:
2.) Add the developer’s PPA by running command:
3.) Finally install the tool:
For any reason, you can remove the software easily via command:
And remove the Ubuntu PPA either via Software & Updates -> Other Software or by running command:
Comments are closed.