Extract audio from video with FFmpeg into MP3

This script will convert the audio in the best available quality (aq paramter) into MP3. The quality can be changed from 0 to 9. 0 is the best and 9 is the worst quality.

ffmpeg -i video.mp4 -vn -acodec libmp3lame -aq 0 audio.mp3

Leave a Reply

Your email address will not be published. Required fields are marked *