Skip to content

Latest commit

 

History

History
131 lines (94 loc) · 5.42 KB

README.md

File metadata and controls

131 lines (94 loc) · 5.42 KB

image

4K YouTube Downloader with UI

By using this customtkinter GUI application, you can download YouTube videos up to 4K resolution.

Home Tab Dark

Setting Tab

Setting Tab

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.

Video Preview

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.

Download Process

Installing

Prerequisites

Option 1: Running from the Python Code

Prerequisites

  • Python 3.7 or higher
  • pip (Python package installer)

Installation Steps

  1. Install VLC Media Player:

    • Download and install VLC from here.
  2. 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.
  3. 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.
  4. Clone the repository:

    https://github.com/S0KPiseth/4k-youtube-downloader-with-UI.git
    cd 4k-youtube-downloader-with-UI
  5. Create a virtual environment:

    python -m venv venv
  6. Activate the virtual environment:

    • On Windows:
      venv\Scripts\activate
    • On macOS/Linux:
      source venv/bin/activate
  7. Install the required dependencies using pip:

    pip install python-vlc customtkinter Pillow yt-dlp
  8. Run the application:

    python UI.py

Option 2: Running from the Executable File

  1. Download the executable file from the releases page.

  2. Install VLC Media Player:

    • Download and install VLC from here.
  3. 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.
  4. 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.
  5. 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.

How to Contribute

We welcome contributions to this project! Here are some ways you can contribute:

Reporting Bugs

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.

Suggesting Features

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.

Submitting Pull Requests

To contribute code, fork the repository, create a new branch, make your changes, and open a pull request.