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