Convert RM to M4B — Free Online Tool
Convert RealMedia (.rm) files to M4B audiobook format, extracting and re-encoding the audio stream to AAC inside an MPEG-4 container with chapter and bookmarking support. Ideal for preserving legacy RealAudio content as modern, device-friendly audiobooks.
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 using RealNetworks' proprietary streaming-optimized container. During conversion, FFmpeg demuxes the audio stream from the .rm container and re-encodes it to AAC at 128k bitrate, then wraps it in an MPEG-4 container with the .m4b extension. The -movflags +faststart flag rewrites the MPEG-4 metadata index to the beginning of the file, which enables progressive playback and is required for proper audiobook behavior on Apple devices and podcast apps. Any video stream present in the RealMedia file is discarded, since M4B is a pure audio format. Because the audio is re-encoded rather than copied, there is a generation of quality loss — though at 128k AAC this is generally imperceptible for speech-based content.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg program, the open-source multimedia processing engine that powers this conversion both in the browser (via WebAssembly) and on the desktop command line. |
-i input.rm
|
Specifies the input RealMedia file. FFmpeg will demux the .rm container to extract its audio (and any video) streams for processing. |
-c:a aac
|
Sets the audio codec to AAC (Advanced Audio Coding), which is the required audio codec for M4B audiobook files and is natively supported by Apple Books, iOS, and all major podcast players. |
-b:a 128k
|
Sets the AAC audio bitrate to 128 kilobits per second. This is a widely accepted quality level for speech-based audiobook content, balancing file size and clarity. It can be raised to 192k or 256k for music-heavy or higher-fidelity source material. |
-movflags +faststart
|
Rewrites the MPEG-4 container's metadata index (moov atom) to the beginning of the output file. This is essential for M4B audiobook compatibility — it allows Apple Books and podcast apps to begin playback immediately and enables correct bookmarking behavior without reading the entire file first. |
output.m4b
|
Defines the output filename with the .m4b extension, which signals to audiobook and podcast applications that this MPEG-4 file should be treated as an audiobook with bookmarking and chapter support rather than a standard music track. |
Common Use Cases
- Recovering old RealAudio lecture recordings or university course materials from the early 2000s and converting them into M4B audiobooks playable in Apple Books or Audible-compatible players
- Archiving RealMedia streamed audiobook or spoken-word content you downloaded in the late 1990s/2000s into a modern, widely supported format with bookmarking so you can resume playback
- Digitizing old RealMedia radio drama or storytelling recordings and packaging them as M4B files for personal podcast apps that support audiobook-style chapter navigation
- Converting corporate training or e-learning audio content originally distributed in .rm format into M4B files compatible with modern iOS and Android devices
- Migrating a personal archive of RealMedia audio files to M4B so they can be imported into iTunes/Apple Music as audiobooks rather than generic music tracks
- Preparing legacy RealMedia spoken-word content for redistribution as a podcast feed, where M4B's id3_tags and faststart support ensure compatibility with podcast clients
Frequently Asked Questions
Yes, there is a small quality loss because the audio is decoded from its original RealMedia encoding and re-encoded to AAC. This is a lossy-to-lossy transcode, so some generation loss is unavoidable. However, for speech-based content like audiobooks and lectures — the primary use case for both formats — 128k AAC is indistinguishable from the source for most listeners. If the original .rm file contained music or high-fidelity audio, increasing the bitrate to 192k or 256k with -b:a 192k will minimize the degradation.
RealMedia does not natively support chapter markers in the same way M4B does, so no chapter data will be transferred during this conversion. The output M4B file will be a single continuous audio track. If you want to add chapters to the resulting M4B, you would need to do so as a separate step using a tool like mp4chaps or Audiobook Builder after the conversion is complete.
Both .m4b and .m4a use the MPEG-4 container with AAC audio and are technically almost identical. The .m4b extension signals to applications like Apple Books, iTunes, and compatible podcast players that the file is an audiobook, enabling bookmarking (the player remembers your position), chapter navigation, and correct library categorization. A .m4a file with identical content would be treated as a music track. The -movflags +faststart flag in this command is also important for M4B playback, as it places the moov atom at the start of the file for fast loading.
RealMedia files can carry basic metadata such as title and author in RealNetworks' proprietary tag format, and FFmpeg will attempt to map these to standard MPEG-4 (id3-compatible) tags in the M4B output. However, because RealMedia's metadata system is non-standard, results can be inconsistent — some tags may transfer correctly while others are dropped entirely. It is recommended to verify and manually update the tags in the output M4B using a tag editor like MP3Tag or Kid3 after conversion.
Replace the -b:a 128k portion of the command with your desired bitrate. For example, use -b:a 192k or -b:a 256k for higher quality, or -b:a 96k for a smaller file size with acceptable quality for speech. The full command at 192k would be: ffmpeg -i input.rm -c:a aac -b:a 192k -movflags +faststart output.m4b. For audiobook-style speech content, 128k is generally sufficient, but 192k is a good choice if the source contains music or sound effects.
Yes, on Linux or macOS you can batch process with a shell loop: for f in *.rm; do ffmpeg -i "$f" -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" -c:a aac -b:a 128k -movflags +faststart "%~nf.m4b". This will convert every .rm file in the current directory to a corresponding .m4b file, which is especially practical for large RealMedia archives. Note that the browser-based tool on this page processes one file at a time.
Technical Notes
RealMedia (.rm) is a proprietary container designed by RealNetworks primarily for low-bandwidth internet streaming, and its internal audio codec support varies by era — older files may use RealAudio codecs (cook, ra_288, atrac) while newer ones may use AAC or MP3. FFmpeg can decode most common RealAudio variants, but some early proprietary RealAudio codecs (particularly ra_144 and certain cook variants) may produce errors or silence depending on the FFmpeg build. The M4B container is strictly defined as an MPEG-4 Part 14 audio file, meaning video streams from the source .rm file are automatically dropped — if your RealMedia file contains video and you need it preserved, M4B is not the right output format. The -movflags +faststart flag performs a second pass to move the MPEG-4 moov atom to the beginning of the file, which is critical for audiobook apps to correctly index the file and is required by Apple's audiobook import pipeline. Because both formats are lossy, users archiving historically significant audio should consider whether a lossless intermediate (such as WAV or FLAC) is warranted before producing the final M4B.