Pine Blog

How to extract the audio from an mp4 video to a mp3 file?

1.Using ffmpeg:

ffmpeg -i /PATH/TO/INPUT.mp4 /PATH/TO/OUTPUT.mp3

If it is not installed, you can install it with:

sudo aptt install ffmpeg

You can find a help page on using ffmpeg here, or by running ffmpeg --help or man ffmpeg. On some older versions of Ubuntu it is sometimes called avconv, which is largely similar in functionality.

For the above commands, you use the Terminal, which can be accessed by opening it from the dash/launcher, or by pressing Ctrl+Alt+T.
vlc

2.Using VLC

If you don't want to use the terminal and you don't have any real demands to do the job, you can always use VLC player to do this, which is probably installed in your distribution.

  • Open VLC player.
  • From the menu bar, please select "Media" and then "Convert/Save".
  • Click "Add" and select your file.
  • Click "Convert/Save".
  • You should then select "Audio - MP3", enter a name in the "Destination File" and then click "Start".

Your file should converted to MP3 format in no time.

未经允许不得转载:Pine Blog » How to extract the audio from an mp4 video to a mp3 file?

评论 2

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. I'd like using VLC to extract mp3.

    newcomer (2024-09-07) 回复
  2. Hello.
    Enhance your skills and strategies with our helpful resources and guides. As you learn, you’ll find yourself winning more often and enjoying the game even more! https://media.playamopartners.com/redirect.aspx?bid=1929&pid=11112&lpid=6&sref=Revlab&Revlab=playamo_playamo127

    Valeron83Nic (2025-01-29) 回复

Pine Blog
Anywhere, Anytime
E-mail:59054872@qq.com
苏ICP备15059480号-1