How to Make FFmpeg Extract Audio from MP4

Q: “How can I extract audio from video with FFmpeg?” – From Stack Overflow

FFmpeg can easily convert videos to audios or extract audio track from video. But we have to admit that, it’s not always an easy job to get acquainted with those complex and complicated commands. If you are looking for detailed instructions on how to let FFmpeg extract audio from MP4 so as to only save the audio part of a video file, you could follow the quick guide below. Additionally, if you find FFmpeg not satisfying, you could check another powerful yet easy-to-use video cutter program we humbly recommend to you.

  • Part 1. FFmpeg
  • Part 2. Alternative: Joyoshare Media Cutter

Part 1. FFmpeg – Extract Audio from MP4 Video

FFmpeg is a command-based video editor as well as a free open-source tool. You need to input command lines to extract audio track from mp4. Apart from that, FFmpeg can record, convert, combine video, and audio files. Besides, it can also crop and trim videos. It is a cross-platform solution, which supports Windows, macOS, and Linux.

ffmpeg

Step 1: Download FFmpeg;

Step 2: Open a Command Prompt (Click Start > Run > input CMD) on a Windows/Linux/Mac to open a Terminal;

Step 3: Install FFmpeg (Type “sudo apt install FFmpeg”) ;

install ffmpeg

Step 4: Input the following command line to extract audio track from MP4 video. Here we take extract MP3 from MP4 as an example;

ffmpeg extract audio from mp4

Note that if you want to export audios with other formats, like extracting WAV from MP4 via FFmpeg, just type WAV to replace MP3.

Step 5: Running the command line and wait patiently to finish the conversion.

Note: Except for those who have much knowledge about commands, FFmpeg is so difficult for newbies. If you want to achieve a function, like extracting tracks from videos, you need to search for the specific command lines. That will consume much energy. Therefore, if your computer is in Windows or Mac version, try FFmpeg’s alternative – Joyoshare Media Cutter.

Part 2. Joyoshare Media Cutter – Extract Audio Track from MP4 Files

Joyoshare Media Cutter is a professional video editing tool to extract audio from MP4, which won’t damage any track quality loss. Joyoshare supports to extract various audios (like MP3, WAV, OGG, etc.) from any videos.

Except for that, Joyoshare integrates multiple functions, like cutting, editing, converting and merging videos and audios. Let’s talk about the details of these functions. You can remove some unwanted parts of MP4, like ads and repeated parts. Besides, you can merge a great variety of videos or audios without quality loss. Also, you can convert media files to any other media formats or devices, like iPhone, iPad, and so on. As for joining, it only supports to combine media files from the same source into a large one.

Key Features of Joyoshare Media Cutter:

Extract audio from MP4 easily and fast

Export media files at 60X faster speed

Offer 5 opportunities before registering

Provide multifunctional options (cutting, editing, etc.)

Adjust audios’ codec, resolution, frame rate, bit rate

Step 1: Import MP4 Videos into Joyoshare

Download and install Joyoshare Media Cutter in Windows or Mac version, and then launch it. Next, add MP4 files to Joyoshare. You can drag and drop them to the screen or click the Open Files button to select the MP4 you need.

add mp4 to joyoshare program

Step 2: Select One Mode and the Output Format

Joyoshare provides two modes: High-Speed mode and Encoding mode. The first can cut and merge media files without quality loss and export videos at 60X faster speed. The second offers more options to customize file format, quality, resolution, and codec, etc. Here we choose WAV as the output format.

Step 3: Cut MP4 Files (Optional)

After selecting the output format, click the OK button to return to the main interface. Play the MP4 and then you can move the yellow sliders to trim MP4 files. Another way to cut MP4 off we talk in Step 3.

trim mp4 video

Step 4: Add Sound Effect (Optional)

On the left screen, there are two buttons (Rename and Edit). Click the Edit button to open its inbuilt editor. Here you can also remove unwanted parts more accurately. Because you want to extract sound from MP4, you can skip some functions to edit videos. But you still can add some audio effects (Click the Audio button to handle it).

add sound effect

Step 5: Start to Extract Audio from MP4 Files

In this step, you just need to click the Start button. And then the audio extracted from MP4 will export at your local folder.

extract audio from mp4

For more details, please visit the source page: https://www.joyoshare.com/video-cutting/ffmpeg-extract-audio-from-mp4.html