Extract Audio from RM to M4B — Free Online Tool
Extract audio from legacy RealMedia (.rm) files and convert it to M4B format — the standard container for audiobooks and podcasts. This tool decodes the RM file's AAC audio stream and repackages it into an MPEG-4 container with chapter and bookmarking support, ideal for repurposing archived streaming content.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your RM 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
RealMedia files typically carry AAC or MP3 audio encoded for streaming delivery in the late 1990s and early 2000s. During this conversion, FFmpeg discards the video stream entirely (if present) and decodes the audio, then re-encodes it as AAC at 128k bitrate inside an M4B container. The M4B file is written with the +faststart flag, which moves the MOOV atom to the beginning of the file — a structural requirement for progressive playback in audiobook and podcast players like Apple Books and Overcast. Because both the source and destination use AAC, quality loss is minimized but not eliminated since the audio is decoded and re-encoded rather than stream-copied.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg binary — the open-source multimedia processing engine running here as WebAssembly in your browser. It handles demuxing the RealMedia container, decoding the legacy audio stream, and encoding the output M4B. |
-i input.rm
|
Specifies the input RealMedia file. FFmpeg reads and demuxes the .rm container, identifying the audio stream (typically AAC or MP3) and any video stream present for selective processing. |
-vn
|
Disables all video output streams. Since M4B is an audio-only container, any MJPEG or other video track in the RealMedia file is discarded here, ensuring a clean audio-only M4B output. |
-c:a aac
|
Sets the audio codec to AAC (Advanced Audio Coding) using FFmpeg's native encoder. AAC is the required codec for M4B files and is natively supported by Apple Books, iOS, macOS, and most podcast apps without any additional plugins. |
-b:a 128k
|
Sets the AAC audio output bitrate to 128 kilobits per second. This is a reasonable quality target for spoken-word content recovered from RealMedia archives, balancing file size against fidelity for the re-encoded audio. |
-movflags +faststart
|
Moves the MOOV atom (the file's metadata and index structure) to the beginning of the M4B file after encoding. This is required for audiobook players like Apple Books to enable bookmarking and chapter navigation without reading the entire file first. |
output.m4b
|
Specifies the output filename and format. The .m4b extension tells FFmpeg to write an MPEG-4 audio container and signals to audiobook and podcast players that this file supports position bookmarking and chapter metadata. |
Common Use Cases
- Recovering audio from archived RealMedia lecture recordings or radio programs downloaded in the early 2000s and converting them into a listenable audiobook format for modern devices
- Repurposing old streaming audio interviews or spoken-word content stored as .rm files into M4B chapters for podcast production workflows
- Digitizing a library of RealAudio news broadcasts or educational content that was originally distributed via RealPlayer, making them compatible with Apple Books or Overcast
- Extracting the audio commentary track from a legacy RealMedia video file to create a standalone M4B file for hands-free listening during commutes
- Archivists and digital preservationists converting institutional RealMedia holdings into the more durable and widely supported MPEG-4 audio format for long-term storage
- Converting old RealMedia audiobook samples or publisher previews into proper M4B files that support chapter markers and bookmarking on iOS and macOS
Frequently Asked Questions
Yes, there is some quality degradation because this conversion involves a full decode-and-reencode cycle rather than a stream copy. The original RealMedia file's AAC audio is decoded to raw PCM and then re-encoded as AAC at 128k for the M4B output. Since both stages are lossy, you experience generation loss. However, because the source RM files from this era were typically encoded at low bitrates (often 32k–96k for streaming), the 128k M4B output may actually sound comparable or even slightly better if the decoder reconstructs the signal cleanly.
M4B natively supports chapters and bookmarking, which is why it is the standard format for audiobooks. However, RealMedia does not store chapter metadata in a format FFmpeg can automatically migrate, so the output M4B will not have chapters unless you add them manually afterward using a tool like mp4chaps or Chapters.io. The M4B container is ready to hold chapter data — it just won't be populated from the RM source.
M4B and M4A are technically almost identical MPEG-4 audio containers, but the .m4b file extension signals to audiobook and podcast players like Apple Books, Overcast, and Pocket Casts that the file supports bookmarking — meaning the player remembers your position. For spoken-word content recovered from RealMedia archives, M4B is the more appropriate choice because it unlocks these playback features without any additional encoding overhead.
Modify the -b:a flag value in the command. For example, use -b:a 64k for a smaller file suitable for speech-only content, or -b:a 192k if the source RM file was encoded at a higher quality and you want to preserve more fidelity. Keep in mind that increasing the bitrate beyond the quality ceiling of the original RealMedia source will not recover lost detail — it will only increase file size.
No. The -vn flag in the FFmpeg command explicitly strips all video streams. M4B is a pure audio container with no video support, so this is the correct behavior. Any MJPEG video track present in the RealMedia file is discarded, and only the audio is retained in the output.
The displayed command processes a single file, but you can batch convert on your desktop using a shell loop. On Linux or macOS, run: for f in *.rm; do ffmpeg -i "$f" -vn -c:a aac -b:a 128k -movflags +faststart "${f%.rm}.m4b"; done. On Windows Command Prompt, use: for %f in (*.rm) do ffmpeg -i "%f" -vn -c:a aac -b:a 128k -movflags +faststart "%~nf.m4b". This is particularly useful for large RealMedia archives where processing files one at a time in the browser would be impractical.
Technical Notes
RealMedia (.rm) is a proprietary container format that was dominant in early internet streaming but is now largely unsupported by modern media players without legacy plugins. FFmpeg can demux and decode RM files, but the format's proprietary roots mean edge cases exist — particularly with older files using RealAudio codecs like cook or atrac, which may not decode cleanly. This tool is designed for RM files carrying AAC or MP3 audio, the codecs most commonly found in late-era RealMedia content. The output M4B uses the AAC codec inside an MPEG-4 container, which is natively supported on Apple devices, Android, and most modern podcast platforms. The -movflags +faststart flag repositions the MOOV atom to the file header, enabling progressive playback without buffering the entire file — a structural characteristic required by Apple Books for proper audiobook behavior. ID3-style metadata (title, artist, album) present in the RM file is not reliably preserved during conversion, so you may need to tag the output M4B manually using a tool like Kid3 or MusicBrainz Picard. File sizes will vary significantly depending on the duration of the source content; a 60-minute RM file at 128k output bitrate will produce an M4B of approximately 55–60MB.