Downloads and splits audio tracks from a YouTube video according to the chapters/tracks. Useful for compilations or full album uploads.
youtube-dl
and ffmpeg
installed and in your PATH
.
- Download the binary for your system from https://github.com/redsolver/yt-splitter/releases
- Rename it to
yt-splitter
- Place it in a directory which is in your
PATH
- Make it executable (
chmod +x yt-splitter
on Linux)
cd
into the directory you want to save the tracks in.yt-splitter
will automatically create a subdirectory with the title of the video and save the tracks in it.- Execute
yt-splitter VIDEOID
(VIDEOID
can be a YouTube video id or a URL to a YouTube video)