How to Extract MP3 Audio from MP4 Video Using FFmpeg | Quick & Easy Tutorial

Published: 19 August 2024
on channel: Linux tutorials
34
6

To extract MP3 Audio from MP4 Video Using FFmpeg we need ffmpeg utility installed on your system. Go to https://www.ffmpeg.org/download.html to install it for your OS (if you haven't installed it yet).

The command we use is:
ffmpeg -vn -sn -dn -i input.mp4 -codec:a libmp3lame -qscale:a 4 output.mp3.

Command options description goes below:
-vn tells FFmpeg to ignore the video stream.
-sn ignores the subtitle stream.
-dn ignores the data stream.
-i input.mp4 specifies the input video file.
-codec:a libmp3lame selects the LAME MP3 encoder for the audio.
-qscale:a 4 sets the audio quality. The lower the number, the higher the quality, with 4 being a good balance between quality and file size.
output.mp3 is the name of the output audio file.

(2024-08-19)


Watch video How to Extract MP3 Audio from MP4 Video Using FFmpeg | Quick & Easy Tutorial online without registration, duration hours minute second in high quality. This video was added by user Linux tutorials 19 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 34 once and liked it 6 people.