back to listing index

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

[web search]
Original source (
Tags: video-editing video-encoding ffmpeg
Clipped on: 2017-02-07

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:

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

What parameters should I use for mp4 -> mp3?