Last active
March 3, 2021 22:44
-
-
Save kribblo/3c4e22125ed310ecc68b892d54856784 to your computer and use it in GitHub Desktop.
Rip CD, make uploadable to Youtube with one image on Ubuntu with abcde and ffmpeg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Not sure exacty which are needed, this worked | |
sudo apt install abcde id3 id3v2 eyed3 normalize-audio vorbisgain mkcue ffmpeg flac | |
# Rip CD, output a cue file with timestamps | |
abcde -1 -o flac -a default,cue,playlist | |
# -vf pad is if ffmpeg complains about image not having proportions divisible by 2, adds one pixel black padding | |
ffmpeg -loop 1 -i IMAGE.jpg -i ALBUM.flac -c:v libx264 -c:a copy -shortest -vf pad="width=ceil(iw/2)*2:height=ceil(ih/2)*2" -strict -2 ALBUM.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment