Terminal-based YouTube video/audio downloader using yt-dlp and ffmpeg
Project description
YTConverter™
YTConverter™ is a Python-based project developed by kaifcodec designed to provide a robust tool for converting YouTube videos into various formats. This tool simplifies the process of downloading and converting videos from YouTube.
Check the screenshots below👇
Requirements
- Python 3.x
- Required Python libraries (listed in
requirements.txt) - ffmpeg & yt-dlp binary
Install pypi Package (For Any)
- You can clone the repository or manually install
ffmpegby following no.2 commands 👇
-
Clone the repository and auto-setup the required binaries by running
install.shgit clone https://github.com/kaifcodec/ytconverter.git cd ytconverter/standalone/ ./install.sh
- Or else you can manually install
ffmpegby following below commands and ignore the repository cloning.
-
If
install.shfails try installing ffmpeg manually by following below commandssudo apt install ffmpeg # For Linux
pkg install ffmpeg # For Termux
-
After completion of setup install ytconverter pypi package and run
pip install ytconverter ytconverter -S
- ⚠️ You need to manually install ffmpeg for windows or you can try
standalone/install.bat
- ⚠️ However usage of standalone ytconverter.py is recommended⚠️
- Pypi package still in beta, Follow the below process 👇👇
Installation For Linux (Ubuntu/Debian/Fedora/Arch):
- Install Python:
sudo apt update && sudo apt install python3 python3-pip -y # For Debian/Ubuntu sudo dnf install python3 python3-pip # For Fedora sudo pacman -S python python-pip # For Arch
- Install Git and Curl:
sudo apt install git -y # Debian/Ubuntu
- Clone the repository:
git clone https://github.com/kaifcodec/ytconverter.git cd ytconverter/standalone/
- Install required Python libraries:
pip3 install -r requirements.txt
Installation (Termux/Linux-distros)
# Update Termux and install Python
pkg update -y && pkg upgrade -y && pkg install python
# Install Git and Curl
pkg install git
# Clone the repository
git clone https://github.com/kaifcodec/ytconverter.git
# Grant storage permission
termux-setup-storage
# Navigate to the project directory
cd ytconverter/standalone/
# Install dependencies
pip install -r requirements.txt
Installation (Windows)
-
Download or clone the repository:
git clone https://github.com/kaifcodec/ytconverter.git cd ytconverter/standalone/
-
Open Command Prompt and run the installer batch file
ytconverter/standalone/directory:
install.bat
-
After installation move installed yt-dlp.exe and ffmpeg binaries to your
PATHdirectory, so that the script can access it globally. -
After installation, start the program:
python3 ytconverter.py
Usage
- Run the main script to start the conversion process:
python3 ytconverter.py - Follow the on-screen instructions to input the YouTube URL and choose the desired output format.
Update In Linux & Termux (Recommended frequently)
- To update the
ytconverterrepository, run:./standalone/update.sh # It also keeps your yt-dlp up-to-date
- To update the
ytconverterbinary just simply run the below command on your terminal:ytconverter -U
Tested on
- Linux
- Termux
- Ubuntu
- MacOs
- Windows 10/11
Screenshots
Contact for any error or issue:
Features
- Video Downloading: Fetch videos directly from YouTube.
- Audio Downloading: Downloads audio of any video with wide range of bitrate selection.
- Multiple video download: Now you can download multiple videos using the tool, just paste the urls one by one
- Format Conversion: Convert downloaded videos into different formats such as MP3, MP4, etc.
- Metadata Handling: Extract and manage metadata associated with YouTube videos.
Contributing
Contributions, issues, and feature requests are welcome!
Please take a moment to read our CONTRIBUTING.md guide for details on how to help make YTConverter™ better.
Feel free to open a pull request or submit an issue.
Disclaimer ⚠⚠
- We do ask you for your Name and Contact information at the beginning of the tool for update-related notices, but if you don't want to disclose those creds, you can leave those fields blank
- We also collect some basic information about the usage statistics and the user's Public IP, but we assure you that this data is not kept more than 48 hours
- We respect your privacy. Any basic info this tool collects (like usage data) is handled securely and never shared. No creepy tracking—just good software.
- Thank you 🌹 and Keep supporting ❤
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
For any questions or feedback, please open an issue or contact kaifcodec.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ytconverter-4.0.1.6.tar.gz.
File metadata
- Download URL: ytconverter-4.0.1.6.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65030f981a87b84550d7e28c733396c92685076ce50d30beb9562319bb73d0e1
|
|
| MD5 |
18481d68ff83e6c406470f32d0109826
|
|
| BLAKE2b-256 |
4b27da7b43516df25e581aeed40a86ec364ba25d9ba8f5f07fb8e630d4fb716a
|
File details
Details for the file ytconverter-4.0.1.6-py3-none-any.whl.
File metadata
- Download URL: ytconverter-4.0.1.6-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b0459eefc533b5e7c1d56fd50dd63da582f65bd174d77cf1f632f8e66e8267e
|
|
| MD5 |
fb08717e6fedab2b58a1a5b21ff1e09f
|
|
| BLAKE2b-256 |
93c08ab45b850cb8444ba47cd228230cfc2051bee13a507c57642c5e4057e1c4
|