The below command will convert flac files in a folder to mp3. You can add multiple output formats in the end.
parallel ffmpeg -i {1} {1.}.{2} ::: *.flac ::: mp3
Source link: https://unix.stackexchange.com/questions/487024/batch-convert-decode-audio-into-multiple-formats-with-ffmpeg