https://github.com/jonasgroeger/yt-dlp-omz-plugin
https://github.com/jonasgroeger/yt-dlp-omz-plugin
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jonasgroeger/yt-dlp-omz-plugin
- Owner: JonasGroeger
- Created: 2024-03-03T16:46:59.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-03T20:12:26.000Z (about 1 year ago)
- Last Synced: 2025-01-18T12:14:20.669Z (3 months ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Oh-My-Zsh plugin for `yt-dlp`
Adds several commands for downloading audio and video files from Youtube:
* `yt-dlp-audio-mp3`: Download music as `.mp3`
* `yt-dlp-audio-best`: Download music in the best format available
* `yt-dlp-video-720`: Download video in 720p
* `yt-dlp-video-1080`: Download video in 1080p
* `yt-dlp-video-best`: Download video in best pre-merged format## Install
1. Clone this repo
```
git clone https://github.com/JonasGroeger/yt-dlp-omz-plugin.git "$ZSH_CUSTOM/plugins/yt-dlp"
```2. Enable (add `yt-dlp` to `plugins` in `~/.zshrc`)
```
plugins=(… yt-dlp)
```3. Reload Oh-My-Zsh config
```
omz reload
```## Links
* [Oh-My-Zsh](https://ohmyz.sh/)
* [yt-dlp](https://github.com/yt-dlp/yt-dlp)## Notes
Pre-merged means pre-Merged by Youtube.
Sometimes there is a better video file available but it does not have audio.
Most 8k have this property where Youtube doesen't pre-generate the files with video and audio.
I'm assuming the Youtube video player does the merging during playback.