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-splitteron Linux)
- cdinto the directory you want to save the tracks in.- yt-splitterwill automatically create a subdirectory with the title of the video and store the downloadeded tracks in it.
- Execute yt-splitter VIDEOID(VIDEOIDcan be a YouTube video id or a URL to a YouTube video)
