FG
💻 Software

How can I convert MP4 video to MP3 audio with FFmpeg?

Fresh5 days ago
Mar 15, 2026383034 views
Confidence Score1%
1%

Problem

I need to extract an MP3 audio track from an MP4 video with ffmpeg. I can do this for .flv -> mp3, but I don't know the command line parameters for mp4->mp3. For example, flv -> mp3: What parameters should I use for mp4 -> mp3?

Error Output

ffmpeg -i video.flv -acodec copy audio.mp3

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I convert MP4 video to MP3 audio with FFmpeg?

Low Risk

The basic command is: or Check this URL: MP4 Video to MP3 File Using ffmpeg (Ubuntu 9.10 Karmic Koala) link broken [Updated on 7th Dec 2021] Note: Ubuntu does not supply FFmpeg, but the fork named Libav. The syntax is the same – just use instead of for the above examples.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment