Helper script to rip videos off of youtube and produce both an MP4 and MP3 file.
Find a file
2026-03-09 17:29:36 +00:00
README.md README 2026-03-09 17:29:36 +00:00
yt-music-rip.sh Script 2026-03-09 17:27:23 +00:00

yt-music-rip

Helper script to rip videos off of youtube and produce both an MP4 and MP3 file. It will automatically download the highest quality file for both video and audio.

Requires yt-dlp and ffmpeg.

The script will download the video using yt-dlp, convert it to mp4 and mp3 using ffmpeg - The mp4 also includes audio.

Usage

./yt-music-rip.sh <foldername> <youtube URL>

Ensure the YouTube URL is surrounded by quotations. The folder specified in the first argument will be created and both the output mp4s and mp3s will be in there.