Convert RM to M4A — Free Online Tool
Convert RealMedia (.rm) files to M4A by extracting and re-encoding the audio stream as AAC inside an MPEG-4 container. This is especially useful for salvaging audio from legacy RealMedia archives, producing files that play natively on Apple devices, iTunes, and modern streaming platforms.
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 audio encoded with proprietary RealAudio codecs or, in later versions, AAC or MP3. During this conversion, FFmpeg demuxes the .rm container and decodes the audio stream, then re-encodes it as AAC at 128k bitrate and wraps it in an MPEG-4 audio container (.m4a). The video stream, if present in the .rm file, is discarded entirely using the -vn flag — M4A is an audio-only format. Because RealMedia's native codecs are not natively supported by modern players, this transcoding step produces a universally compatible M4A file suitable for iTunes, Apple Music, iOS, Android, and web playback.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg command-line tool, which handles all demuxing, decoding, encoding, and muxing steps needed to transform the .rm file into an .m4a file. |
-i input.rm
|
Specifies the input RealMedia file. FFmpeg will detect the .rm container and select the appropriate RealMedia demuxer and the correct RealAudio or AAC decoder for the audio stream inside. |
-c:a aac
|
Encodes the output audio stream using FFmpeg's native AAC encoder, producing AAC-LC audio — the standard codec for M4A files and the format expected by iTunes, Apple Music, and iOS devices. |
-b:a 128k
|
Sets the AAC audio bitrate to 128 kilobits per second, which is the standard quality level for music and voice content in M4A — balancing file size and perceptual quality for general listening. |
-vn
|
Disables video output entirely, instructing FFmpeg to skip any video stream present in the .rm file. This is required because M4A is an audio-only container and cannot hold video tracks. |
output.m4a
|
Defines the output filename and tells FFmpeg to use the MPEG-4 audio container format. The .m4a extension signals to players like iTunes and Apple Music that this is an audio-only MPEG-4 file. |
Common Use Cases
- Recovering audio from archived RealMedia radio broadcasts or podcasts from the late 1990s and early 2000s for long-term digital preservation
- Importing old RealMedia music or lecture recordings into iTunes or Apple Music, which does not support the .rm format
- Converting RealMedia audiobooks or spoken-word recordings into M4A so they appear correctly in chapter-aware podcast apps and Apple Books
- Extracting the audio track from a RealMedia video file to create a standalone audio file for playback on an iPod, iPhone, or other Apple device
- Preparing legacy RealMedia corporate training or e-learning content for upload to modern LMS platforms that require AAC or M4A audio
- Migrating a personal archive of streamed RealMedia concert recordings or interviews into a modern format for cloud storage and mobile playback
Frequently Asked Questions
In most cases, yes — this is a lossy-to-lossy transcode. The original RealMedia file already used lossy compression (RealAudio, AAC, or MP3), and re-encoding to AAC at 128k introduces a second generation of quality loss. The resulting M4A will be functionally acceptable for speech and most music, but audiophiles working with high-quality source files may want to increase the bitrate to 192k or 256k using the -b:a flag to minimize the impact.
M4A is strictly an audio-only container format — it cannot hold video streams. The -vn flag in the FFmpeg command explicitly instructs FFmpeg to drop the video track before writing the output. If you need to preserve the video as well, you should convert to .mp4 or .mkv instead of .m4a.
FFmpeg includes built-in decoders for the most common legacy RealAudio codecs, including RealAudio 1.0, 2.0, and Cook (RealAudio G2), which covers the vast majority of .rm files from the 1990s and early 2000s. However, some highly proprietary or encrypted RealMedia streams may not decode correctly, in which case FFmpeg will report an error or produce silent output. If your file was originally streamed from a RealServer with DRM, conversion may not be possible.
Replace the -b:a 128k value in the command with your desired bitrate. For example, use -b:a 192k or -b:a 256k for higher quality output. The full command would look like: ffmpeg -i input.rm -c:a aac -b:a 192k -vn output.m4a. For speech recordings, 96k is usually sufficient and produces smaller files, while 256k is appropriate for music where fidelity matters.
RealMedia files store very limited metadata compared to modern formats, and what exists uses RealMedia-specific tags. FFmpeg will attempt to map any recognized tags to the iTunes-compatible metadata fields in the M4A container, but results vary. Fields like title or author may transfer, but album art and extended tags are unlikely to be present in the source file at all. You may need to edit the M4A metadata manually after conversion using a tool like MusicBrainz Picard or iTunes.
The command shown processes a single file at a time, but you can wrap it in a shell loop for batch processing. On Linux or macOS, use: for f in *.rm; do ffmpeg -i "$f" -c:a aac -b:a 128k -vn "${f%.rm}.m4a"; done. On Windows Command Prompt, use: for %f in (*.rm) do ffmpeg -i "%f" -c:a aac -b:a 128k -vn "%~nf.m4a". This is particularly useful for digitizing large RealMedia archives in one pass.
Technical Notes
RealMedia (.rm) is a legacy proprietary container developed by RealNetworks primarily for low-bandwidth internet streaming. Its audio streams are most commonly encoded with RealAudio Cook, ATRAC, or in later files, standard AAC or MP3. FFmpeg's libavcodec includes open-source decoders for the most prevalent RealAudio variants, though codec coverage is not 100% complete for all proprietary sub-variants. The output M4A uses the MPEG-4 Part 14 container with AAC-LC audio, which is the format expected by Apple's ecosystem including iTunes, Apple Music, and iOS. M4A supports gapless playback metadata and chapter markers — though chapter data cannot be sourced from a .rm file since RealMedia does not support chapters. The -vn flag is mandatory here because M4A cannot contain video and omitting it would cause FFmpeg to error or fall back to .mp4 behavior. File sizes will vary depending on the source bitrate: a 64k RealAudio source re-encoded at 128k AAC will not gain quality but will roughly double in file size, so matching your -b:a value to the approximate original bitrate is a reasonable strategy for archive work.