covert mp3 to wav ffmpeg code example
Example 1: convertingwav to mp3 linux ffmpeg
ffmpeg -i input.wav -vn -ar 44100 -ac 2 -b:a 192k output.mp3
Example 2: convert mp3 to ogg ffmpeg
parallel ffmpeg -i "{}" "{.}.mp3" ::: *.ogg
ffmpeg -i input.wav -vn -ar 44100 -ac 2 -b:a 192k output.mp3
parallel ffmpeg -i "{}" "{.}.mp3" ::: *.ogg