ffmpeg to convert mp4 to mp3 code example Example: ffmpeg video to mp3 ffmpeg -i "file.mkv" -vn -ar 44100 -ac 2 -ab 128k -f mp3 "file.mp3"