ffmpeg mp3 to flac code example
Example 1: converting mp3 with FFMPEG
ffmpeg -i input.mp3 output.ogg
Example 2: ffmpeg video to mp3
ffmpeg -i "file.mkv" -vn -ar 44100 -ac 2 -ab 128k -f mp3 "file.mp3"
ffmpeg -i input.mp3 output.ogg
ffmpeg -i "file.mkv" -vn -ar 44100 -ac 2 -ab 128k -f mp3 "file.mp3"