Convert MPEG to M4B — Free Online Tool
Convert MPEG video files to M4B audiobook format by extracting the audio track and re-encoding it as AAC inside an MPEG-4 container. This is ideal for turning MPEG-encoded video content — such as recorded lectures, spoken-word broadcasts, or DVD-ripped content — into a bookmarkable, chapter-aware audiobook file playable on Apple Books, podcast apps, and compatible media players.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your MPEG file here
or click to browse
Free — no uploads, no signups. Your files never leave your browser.
Settings
Note: Browser-based encoding uses approximate quality targets. For precise CRF compression, copy the FFmpeg command above and run it on your desktop.
Estimated output:
Conversion Complete!
DownloadHow It Works
MPEG files typically carry MP2 or MP3 audio alongside MPEG-1 or MPEG-2 video. Since M4B is a pure audio container derived from MPEG-4, the video stream is discarded entirely during this conversion — only the audio is kept. That audio is then re-encoded from its original MP2 or MPEG audio format into AAC (Advanced Audio Coding), which is the codec required by the M4B container. The resulting file is wrapped in an MPEG-4 container with the -movflags +faststart flag applied, which relocates metadata to the beginning of the file so it can begin playback before fully downloading. The M4B container natively supports chapters and bookmarking, though chapter markers must be added separately after conversion if the source MPEG did not contain them.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg tool, which handles the reading, audio extraction, codec transcoding, and container remuxing required to produce an M4B file from an MPEG source. |
-i input.mpeg
|
Specifies the source MPEG file as input. FFmpeg will read both the MPEG-1 or MPEG-2 video stream and the accompanying audio (typically MP2) from this file, though only the audio will be used in the output. |
-c:a aac
|
Instructs FFmpeg to re-encode the audio stream as AAC (Advanced Audio Coding), the codec required by the M4B container. Since MPEG files use MP2 or MP3 audio, a direct stream copy is not possible — the audio must be fully decoded and re-encoded into AAC. |
-b:a 128k
|
Sets the AAC audio output bitrate to 128 kilobits per second, the recommended default for spoken-word M4B content such as audiobooks and podcasts. This provides a good balance between audio clarity and file size for voice recordings. |
-movflags +faststart
|
Relocates the MPEG-4 container's metadata (moov atom) from the end of the file to the beginning. This allows M4B players and podcast apps to begin playback or streaming before the entire file has been downloaded, which is particularly important for long audiobook files. |
output.m4b
|
Defines the output filename and signals to FFmpeg that the file should be wrapped in an MPEG-4 container with the .m4b extension — the format recognized by Apple Books, Overcast, and other audiobook-aware players as supporting chapters and bookmarking. |
Common Use Cases
- Converting a recorded MPEG broadcast of a university lecture or conference talk into an M4B audiobook so listeners can resume playback mid-session using Apple Books or a podcast app
- Stripping the audio from an MPEG-1 or MPEG-2 encoded DVD rip of a spoken-word performance, comedy special, or audiobook recording and packaging it as an M4B for portable listening
- Transforming legacy MPEG recordings of radio programs or broadcasts — common in broadcast archives — into the M4B format for compatibility with modern audiobook players and iOS devices
- Repurposing MPEG-encoded video interviews or documentary segments as audio-only M4B files for podcast distribution or internal training libraries
- Extracting narration audio from MPEG video files produced by older camcorders or DVD authoring software and converting it into an M4B suitable for submission to audiobook platforms
- Archiving MPEG-encoded sermon or lecture series as M4B files, enabling listeners to bookmark their position and pick up where they left off across multiple listening sessions
Frequently Asked Questions
No — M4B is an audio-only container format and cannot store video streams. During this conversion, the MPEG-1 or MPEG-2 video track is completely discarded, and only the audio is extracted and re-encoded. If preserving the video is important, you should convert to a video container like MP4 instead.
MPEG files most commonly use MP2 (MPEG-1 Audio Layer II) as their audio codec, which is not compatible with the M4B container. M4B requires AAC audio inside the MPEG-4 container, so the audio must be fully decoded and re-encoded as AAC. This re-encoding introduces a small amount of additional quality loss since the original MP2 audio was already lossy, though at 128k AAC the result is generally transparent for spoken-word content.
The M4B container format supports chapters and bookmarking natively, and compatible apps like Apple Books and Overcast will honor these features. However, this conversion tool extracts and re-encodes the audio track only — if your source MPEG file did not contain chapter metadata, the output M4B will not automatically have chapters added. You would need to add chapter markers using a tool like mp4chaps or Audacity after the conversion is complete.
The audio bitrate is controlled by the -b:a flag in the command. The default is 128k, which is well-suited for spoken-word content like audiobooks and podcasts. To increase quality, change it to -b:a 192k or -b:a 256k; to reduce file size for voice-only content, -b:a 96k or even -b:a 64k may be sufficient. For example: ffmpeg -i input.mpeg -c:a aac -b:a 192k -movflags +faststart output.m4b
Basic metadata such as title and artist tags may be carried over automatically by FFmpeg during the conversion, but MPEG files often contain minimal or no embedded metadata. M4B supports rich metadata including title, author, album, and artwork, but any missing tags will need to be added manually using a tag editor like Mp3tag or iTunes/Music after conversion. The -movflags +faststart flag does not affect metadata content — it only repositions the existing metadata atom for streaming efficiency.
Yes — on the command line you can use a shell loop to process multiple files. On Linux or macOS, run: for f in *.mpeg; do ffmpeg -i "$f" -c:a aac -b:a 128k -movflags +faststart "${f%.mpeg}.m4b"; done. On Windows Command Prompt, use: for %f in (*.mpeg) do ffmpeg -i "%f" -c:a aac -b:a 128k -movflags +faststart "%~nf.m4b". This browser-based tool processes one file at a time, so the FFmpeg command is particularly useful for batch workflows involving large libraries of MPEG files.
Technical Notes
MPEG files present a specific challenge for M4B conversion because their most common audio codec — MP2 — has no place in an MPEG-4 container, making transcoding to AAC mandatory rather than optional. The default output bitrate of 128k AAC is a deliberate choice for audiobook use: AAC at 128k is generally considered transparent for mono or stereo speech, and keeps file sizes manageable for long recordings. However, if the source MPEG carries high-quality stereo audio (such as a musical performance or broadcast with music beds), a bitrate of 192k or 256k will better preserve fidelity. The -movflags +faststart flag is especially important for M4B files intended for streaming or podcast delivery, as it moves the moov atom to the file header so playback can begin without buffering the entire file. Note that M4B does not support multiple audio tracks or subtitle streams, so any secondary audio or closed-caption data in the MPEG file will be silently dropped. MPEG-2 files sourced from DVD rips may also contain Dolby AC-3 audio rather than MP2; FFmpeg will handle this input correctly and transcode it to AAC regardless. Because this conversion involves two lossy stages — the original MPEG lossy encoding and the new AAC encoding — starting from the highest-quality MPEG source available will minimize cumulative quality degradation.