Encoding

flac
$ flac track.wav -oJakob_Schmid-TRACKTITLE.flac $ metaflac --set-vc-field "album=ALBUMTITLE" --set-vc-field "year=YEAR" --set-vc-field "title=TRACKTITLE" --set-vc-field "tracknumber=TRACKNUMBER" --set-vc-field "genre=GENRE" --set-vc-field "composer=Jakob Schmid" --set-vc-field "artist=Jakob Schmid" --set-vc-field "license=Creative Commons NonCommercial Sampling Plus 1.0 License - some rights reserved" Jakob_Schmid-TRACKTITLE.flac

MP3
$ lame -V2 --vbr-new track.wav Jakob_Schmid-TRACKTITLE.mp3 or if you don't have the wav: $ flac -dc | lame -V2 --vbr-new - Jakob_Schmid-TRACKTITLE.mp3

$ id3v2 --TALB "ALBUMTITLE" --TYER "YEAR" --TIT2 "TRACKTITLE" --TRCK 2 --WOAF "URL" --TCON "GENRE" --TCOM "Jakob Schmid" --TPE1 "Jakob Schmid" --TENC "lame" --TCOP "Creative Commons NonCommercial Sampling Plus 1.0 License - some rights reserved" Jakob_Schmid-TRACKTITLE.mp3

ogg vorbis
$ oggenc -q7 track.wav -oJakob_Schmid-TRACKTITLE.ogg -l "ALBUMTITLE" -d "YEAR" -t "TRACKTITLE" -N "TRACKNUMBER" -c "URL=URL" -G "GENRE" -a "Jakob Schmid" -c "copyright=Creative Commons NonCommercial Sampling Plus 1.0 License - some rights reserved" or if you don't have the wav: $ flac -dc | oggenc -q7 - -oJakob_Schmid-TRACKTITLE.ogg -l "ALBUMTITLE" -d "YEAR" -t "TRACKTITLE" -N "TRACKNUMBER" -c "URL=URL" -G "GENRE" -a "Jakob Schmid" -c "copyright=Creative Commons NonCommercial Sampling Plus 1.0 License - some rights reserved"