Encoding DJ Mixes
For maximum compatibility with the world’s shitty browser mess DJ mixes should be encoded in three formats: MP3, Ogg Vorbis, and AAC.
Encoding as MP3
flac -cd Mix.flac | lame --preset standard -q 0 -p - Mix.mp3
Encoding as Ogg Vorbis
flac -cd Mix.flac | oggenc -q 5 -o Mix.ogg - vorbiscomment -a -t "ARTIST=artist" -t "TITLE=title" -t "DATE=date" -t "GENRE=genre" -t "TRACKNUMBER=1/1" Mix.ogg
Encoding as AAC
flac -cd Mix.flac | faac -w -q 125 -o Mix.m4a -