Last active
October 10, 2020 14:19
-
-
Save etelford/d76353f2920c541081f5e165ce4f54fd to your computer and use it in GitHub Desktop.
Convert wav to mp3 and add IDv3 tags
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
# https://trac.ffmpeg.org/wiki/Encode/MP3 | |
ffmpeg -i Input.wav -codec:a libmp3lame -b:a 256k Output.mp3 | |
ffmpeg -i Input.wav -vn -ar 44100 -ac 2 -b:a 192k Output.mp3 | |
# Lookup genre @ https://en.wikipedia.org/wiki/List_of_ID3v1_Genres | |
id3tag --artist="Artist Name" --album="Album name" --song="Song Name" --year=2020 --track=1 --total=1 --genre=17 File.mp3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment