spesk1 fcab926e7d Added small script to rename wavs from cds | 5 years ago | |
---|---|---|
README.md | 5 years ago | |
download_archive_dot_org.pl | 5 years ago | |
install.sh | 5 years ago | |
rename_wavs.pl | 5 years ago | |
sanitize_tl.pl | 5 years ago | |
tracklist.example | 5 years ago | |
yt-track-split | 5 years ago |
Brittle little script used to split long .mp4 youtube audio downloads into individual tracks and convert them to .mp3s.
Takes a tracklist as it's first arg and a path to a .mp4 as it's second arg. The second arg must be a path.
# Doesn't work
yt-track-split tracklist.txt some_file
# Works
yt-track-split tracklist ./some_file
This is brittle but I don't really care to fix it. Work's this way due to lazy regexing.
Depends on ffmpeg, .mp4 codec, libmp3lame, and a tracklist that matches provided example.