A wrapper for yt-dlp that downloads best quality, and ensures it's in H.264
Project description
yt-dlp-helper
A beautiful command-line wrapper for yt-dlp with a rich interface.
Installation
pip install yt-dlp-helper
To upgrade to the latest version:
pip install --upgrade yt-dlp-helper
Usage
Download a video with best quality (h.264/mp4, up to 1080p):
download "https://www.youtube.com/watch?v=..."
Interactive format selection with automatic conversion option:
download "https://www.youtube.com/watch?v=..." --ask-format
# or
download "https://www.youtube.com/watch?v=..." -a
Manual format selection:
download "https://www.youtube.com/watch?v=..." --format "bestvideo[height<=1080]+bestaudio/best"
# or
download "https://www.youtube.com/watch?v=..." -f "bestvideo[height<=1080]+bestaudio/best"
Features
- Beautiful progress bars and status indicators
- Smart format selection prioritizing h.264/mp4 formats
- Interactive format selection with detailed information
- Automatic format conversion to h.264/mp4 when needed
- Rich CLI interface with helpful error messages
Format Selection
The tool prioritizes formats in the following order:
- Best h.264/mp4 format up to 1080p
- Best separate h.264 video + audio combination
- Other formats with optional conversion to h.264/mp4
When using --ask-format or -a, you'll see a detailed table of available formats with:
- Resolution and FPS
- File size
- Video and audio codecs
- Bitrate information
- Format-specific notes
Formats are organized into three categories:
- Combined formats (video + audio)
- Video-only formats
- Audio-only formats
You can select:
- A single format ID for combined formats
- Two format IDs (e.g., "137+251") to combine video and audio
- Non-h.264/mp4 formats with automatic conversion option
License
MIT
Author
Isaac Gutekunst
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
yt_dlp_helper-0.1.2.tar.gz
(15.0 kB
view details)
File details
Details for the file yt_dlp_helper-0.1.2.tar.gz.
File metadata
- Download URL: yt_dlp_helper-0.1.2.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
713382ba0736a4635f0b58c5f4ec21094efe22bd59e78baf485a24b5f4d137b2
|
|
| MD5 |
7545c34e70e8331fb77f2d8e98496eaa
|
|
| BLAKE2b-256 |
b4ecb2a47f4acf881d497a102189307d1c28cc2d49e5a5737796b1697bf9f1b8
|