Can HandBrake Convert MP4 to MP3? Use These Routes
The MP3 codec in HandBrake changes a video’s soundtrack. For a separate MP3, use an audio export tool and select the right source track.
HandBrake cannot convert an MP4 into a standalone MP3 file. Its MP3 encoder changes a soundtrack inside a video; the output still has a video container. Use FFmpeg for a direct conversion, or Audacity when you want to trim or edit the sound before exporting it.
I'd first check whether you need MP3 at all. If your player accepts the soundtrack's existing codec, extracting that track can avoid another lossy encode. When MP3 is required, convert once from the original MP4 and choose the wanted language or mix before starting.
The direct MP4-to-MP3 route
With FFmpeg already installed, this command creates an MP3 from the first audio track. Replace the quoted example filenames with your own input and a separate output path:
ffmpeg -n -i "input.mp4" -map 0:a:0 -vn -c:a libmp3lame -q:a 2 "soundtrack.mp3"
-map 0:a:0 selects the first audio stream, -vn excludes video, and -c:a libmp3lame encodes MP3. -q:a 2 chooses variable-bitrate quality. -n refuses to overwrite an existing output. These options follow the FFmpeg stream-selection and encoding rules; selecting the first track doesn't guarantee it is the language you want.
Use the GUI route below if terminal commands aren't convenient. You don't need to make an intermediate video in HandBrake first.
Why HandBrake's MP3 setting doesn't produce an MP3 file
A container holds streams; a codec describes how one stream is encoded. MP4 is a container. MP3 is an audio encoding format and can also be saved as a standalone audio file by a tool that offers that output. HandBrake's Summary → Format list offers MP4, MOV, MKV and WebM, not an MP3-only destination.
The current HandBrake command-line format list includes those video containers. MOV was added in 1.11.0. The project's audio-only feature discussion also directs extraction to other tools. Choosing MP3 on Audio doesn't turn off video encoding or add an audio-only exporter.

Changing the filename from movie.mp4 to movie.mp3 doesn't convert its contents. A player that recognizes the underlying file might still play it, which can make that workaround appear successful. Check the file's actual streams rather than relying on the extension.
| What you want | Use | Result |
|---|---|---|
| A separate MP3 | FFmpeg MP3 encode or Audacity export | New audio-only MP3. |
| The original AAC soundtrack alone | FFmpeg audio stream copy | A compatible M4A containing that audio. |
| Audio to trim, fade or repair | Audacity | An editable project, then an exported audio file. |
| A video with a different audio codec | HandBrake Audio settings | A video file; its picture is re-encoded. |
| An audio-only copy on a Mac, with no MP3 requirement | QuickTime Player Audio Only export | MPEG-4 audio with AAC, not MP3. |
Select the correct language or soundtrack
An MP4 may contain dialogue in several languages, commentary, an audio-description mix or no audio at all. Inspect it before converting. The following ffprobe stream-information command lists audio stream indices, codecs, channels and language/title tags:
ffprobe -v error -select_streams a -show_entries stream=index,codec_name,channels:stream_tags=language,title -of json "input.mp4"
Listen to the relevant track when its tags are absent or ambiguous. FFmpeg's 0:a:0 means the first audio stream in input zero, 0:a:1 the second. The absolute stream index printed by ffprobe can differ because video and subtitle streams also have indices. An absolute selection such as -map 0:2 means stream 2, whereas -map 0:a:2 means the third audio stream.
For the second audio track, replace -map 0:a:0 with -map 0:a:1 in the conversion command. If there is no audio stream, an audio extractor can't recover a soundtrack that isn't in the file. Check whether the original recording or another supplied file contains the sound.
Choose VBR, fixed bitrate and channel layout
For ordinary music listening, I'd start with -q:a 2. The libmp3lame option mapping associates this quality control with LAME's VBR scale; LAME defines 0 as highest quality and 9 as lowest. The resulting bitrate and size vary with the sound. A quality number isn't a fixed kbps value.

If the destination explicitly requires a fixed MP3 bitrate, replace the quality option with that rate. For example:
ffmpeg -n -i "input.mp4" -map 0:a:0 -vn -c:a libmp3lame -b:a 192k "soundtrack.mp3"
Here 192k requests 192 kbit/s. Follow a device or submission specification when one exists. Audacity's export guidance suggests 128 kbps for speech and 256 kbps for music when there is no destination requirement. Those are starting choices, not a promise that every source sounds identical after conversion.
For a rough fixed-rate size budget, audio bytes ≈ bitrate in bits/s × duration in seconds ÷ 8. An hour at 192 kbit/s is about 86.4 MB before metadata and overhead. Variable-bitrate output won't obey that exact size estimate. A 320-kbit/s MP3 made from a damaged low-rate source can't restore detail already lost.
MP3 supports mono or stereo output. For a surround source, add -ac 2 when you deliberately want stereo. Listen for dialogue and channel balance after the downmix. Don't force mono on stereo music just to reduce size; preserve the layout you need rather than treating fewer channels as an automatic improvement.
Extract without another audio encode
If the selected soundtrack is AAC and the destination accepts M4A, copy it instead of converting it to MP3:
ffmpeg -n -i "input.mp4" -map 0:a:0 -vn -c:a copy "soundtrack.m4a"
-c:a copy is stream copy: it preserves the selected encoded audio rather than decoding and re-encoding it. This example assumes an AAC track compatible with the output container. If the track uses another codec, choose a container that supports it or encode to the required format. Giving copied AAC an .mp3 extension won't make it MP3.
When the source audio is already MP3 and you need a separate MP3, the same stream-copy approach can use soundtrack.mp3 as the destination. Check the actual codec first. Stream copy preserves the encoded payload; it doesn't preserve a video, its subtitles or every container-specific metadata field.
Export MP3 in Audacity
Audacity is the useful route when you also need a cut, fade, cleanup or audible track selection. Its FFmpeg-library instructions explain the additional library used to open formats such as M4A and audio from video. A command-line FFmpeg executable and the shared library Audacity loads are different components.
- Install Audacity from its official site and follow its FFmpeg-library instructions for your operating system. Restart Audacity after adding the library.
- Open a project, then import the MP4's audio. In Audacity 3.x, choose File → Import → Audio; Audacity 4 uses File → Import. Select the intended stream if an import-selection dialog appears.
- Listen to the imported sound. Remove unwanted sections or make the needed edits. Check what is selected before exporting a short passage.
- Choose File → Export Audio. In Audacity 3.x, set Export Range to Entire Project or Current Selection. In Audacity 4, choose the full project or selected audio in the Type menu.
- Name a new file, choose a folder, select MP3 and set the required bitrate and mono/stereo layout. Export, then play the saved file outside Audacity.

Saving the Audacity project preserves editing work; exporting creates the MP3. If several imported tracks play together, full-project export mixes them. Mute or remove unwanted alternatives so a commentary track doesn't become mixed over the programme. Audacity includes LAME by default on current Windows and macOS releases; a missing MP4 importer is usually a different issue from a missing MP3 encoder.
The built-in Mac route produces AAC
When the video opens in QuickTime Player, choose File → Export As → Audio Only, name the file and save it. Apple's QuickTime export documentation identifies that result as an MPEG-4 audio file with AAC. It's useful when AAC is accepted; it isn't a direct MP3 export. Use FFmpeg or Audacity when the receiving device specifically needs MP3.
Fix common conversion problems
- Unknown encoder libmp3lame: your FFmpeg build lacks that encoder. Check
ffmpeg -encodersand obtain an appropriate build through the official FFmpeg download links. A filename change can't supply an encoder. - Stream map matches no streams: inspect the file with ffprobe. Correct the track selection or confirm that audio exists. Don't hide a required missing track by making its map optional.
- M4A stream-copy failure: check the selected codec and the muxer's support. Use a compatible container or deliberately encode MP3.
- Wrong language or commentary: choose another source track; raising bitrate won't change its content.
- Audacity won't import MP4: check the supported shared FFmpeg library and matching architecture, then restart the app. Keeping a separate command-line installation doesn't guarantee Audacity can load it.
- The output is still a video: inspect its streams. Choosing HandBrake's MP3 audio codec changes the soundtrack, not the file type.
For several files, prove the settings on one first. A fixed first-track selection can choose different languages in different recordings, and duplicate basenames can collide at the destination. Keep distinct output names and the originals until you have checked language, duration, opening, ending and playback on the intended device. Extract and reuse only audio you have permission to use.


![A framed image of a train with the caption [Train whistle]](https://storage.ghost.io/c/8e/77/8e778fda-def0-4fcb-ab82-ef7dd5ea524f/content/images/size/w320/2026/11/hbg-cover-series-closed-captions-20261124.webp)