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

Опубликовано: 19 Август 2024
на канале: 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)


Смотрите видео How to Extract MP3 Audio from MP4 Video Using FFmpeg | Quick & Easy Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Linux tutorials 19 Август 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 34 раз и оно понравилось 6 людям.