By using this customtkinter GUI application, you can download YouTube videos up to 4K resolution.
By pasting a YouTube video URL, you will be able to preview the video before downloading it in the pop-up preview window. You will also be able to pause and play the video, as well as download it in any available resolution, by clicking the download button.
After clicking the download button, it will pop up a new frame on the home tab to show the process of the download, and you can also cancel the download by clicking the "X" button.
- Windows operating system
- VLC Media Player
- FFmpeg (added to the system path)
- Python 3.7 or higher
- pip (Python package installer)
-
Install VLC Media Player:
- Download and install VLC from here.
-
Install FFmpeg:
- Download the appropriate version for Windows from here.
- Extract the downloaded zip file to a location of your choice, e.g.,
C:\ffmpeg
.
-
Add FFmpeg to the System Path:
- Open the Start Menu and search for "Environment Variables".
- Click on "Edit the system environment variables".
- In the System Properties window, click on the "Environment Variables" button.
- In the Environment Variables window, find the
Path
variable under System variables and select it, then click "Edit". - Click "New" and add the path to the
bin
folder inside your FFmpeg directory, e.g.,C:\ffmpeg\bin
. - Click "OK" to close all windows.
-
Clone the repository:
https://github.com/S0KPiseth/4k-youtube-downloader-with-UI.git cd 4k-youtube-downloader-with-UI
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install the required dependencies using pip:
pip install python-vlc customtkinter Pillow yt-dlp
-
Run the application:
python UI.py
-
Download the executable file from the releases page.
-
Install VLC Media Player:
- Download and install VLC from here.
-
Install FFmpeg:
- Download the appropriate version for Windows from here.
- Extract the downloaded zip file to a location of your choice, e.g.,
C:\ffmpeg
.
-
Add FFmpeg to the System Path:
- Open the Start Menu and search for "Environment Variables".
- Click on "Edit the system environment variables".
- In the System Properties window, click on the "Environment Variables" button.
- In the Environment Variables window, find the
Path
variable under System variables and select it, then click "Edit". - Click "New" and add the path to the
bin
folder inside your FFmpeg directory, e.g.,C:\ffmpeg\bin
. - Click "OK" to close all windows.
-
Run the executable file:
- Locate the downloaded
.exe
file. - Double-click the
.exe
file to run the installer. - Follow the on-screen instructions to complete the installation.
- After installation, you can launch the application from the Start menu or the desktop shortcut.
- Locate the downloaded
We welcome contributions to this project! Here are some ways you can contribute:
If you find a bug, please report it by opening an issue on the GitHub issues page. Please include details about the bug, including steps to reproduce it and any relevant log messages.
Have an idea for a new feature? We would love to hear about it! Open an issue on the GitHub issues page and describe your idea.
To contribute code, fork the repository, create a new branch, make your changes, and open a pull request.