https://github.com/haalven/videograb
get video files from URLs, for macOS
https://github.com/haalven/videograb
applesilicon mac movie mpv shellscript video youtube yt-dlp zsh
Last synced: about 2 months ago
JSON representation
get video files from URLs, for macOS
- Host: GitHub
- URL: https://github.com/haalven/videograb
- Owner: haalven
- Created: 2024-11-18T14:35:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-27T12:49:26.000Z (over 1 year ago)
- Last Synced: 2025-06-15T15:55:26.436Z (12 months ago)
- Topics: applesilicon, mac, movie, mpv, shellscript, video, youtube, yt-dlp, zsh
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# videograb
get video files from URLs, for macOS
## preparations
1. install [yt-dlp](https://github.com/yt-dlp/yt-dlp): `$ brew install yt-dlp`
2. create `/etc/yt-dlp.conf` and paste [these parameters](https://github.com/haalven/videograb/blob/main/yt-dlp.conf)
3. install [mpv](https://mpv.io/): `$ brew install mpv`
4. append [the shellcode](https://github.com/haalven/videograb/blob/main/shellcode.sh) to `~/.zshrc`
5. restart the terminal
## download
grab the video: `$ grab `
(`'`URL`'` in quotation marks)
## video format
-> script selects the best available MPEG format (h264/avc, h265/hevc), but not Google's (av1, opus)