Convert RM to MPEG — Free Online Tool

Convert RealMedia (.rm) files to MPEG format by re-encoding the video stream to MPEG-2 and the audio to MP2 — two broadcast-grade codecs that ensure maximum compatibility with legacy players, DVD authoring tools, and broadcast systems. Ideal for rescuing archived RealMedia content from obsolete RealPlayer-era streaming files into a universally playable format.

FFmpeg Command

Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg

Free — no uploads, no signups. Your files never leave your browser.

Estimated output:

Conversion Complete!

Download

How It Works

RealMedia files typically contain video encoded with RealVideo or MJPEG and audio encoded with RealAudio or AAC, wrapped in RealNetworks' proprietary container. Since MPEG containers cannot carry RealVideo or RealAudio streams, this conversion performs a full transcode: the video is decoded and re-encoded using the MPEG-2 video codec (mpeg2video), and the audio is decoded and re-encoded as MPEG-1 Audio Layer II (MP2), which is the standard audio codec for MPEG-1 and MPEG-2 program streams. The result is a standalone .mpeg file that plays without any RealPlayer or proprietary codec installation.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg command-line tool, which handles all demuxing, decoding, transcoding, and muxing for this conversion from RealMedia to MPEG.
-i input.rm Specifies the input RealMedia file. FFmpeg uses its libavformat demuxer to parse the proprietary .rm container and extract the video and audio streams for decoding.
-c:v mpeg2video Instructs FFmpeg to encode the output video stream using the MPEG-2 video codec, which is the standard video compression format for MPEG program streams and DVD-Video content.
-c:a mp2 Encodes the audio stream as MPEG-1 Audio Layer II (MP2), the native and most universally compatible audio format for MPEG-1 and MPEG-2 containers, replacing the source AAC audio from the .rm file.
-q:v 2 Sets the MPEG-2 video quality to 2 on a scale of 1 (best) to 31 (worst), producing near-maximum quality output at the cost of a larger file size — appropriate given that source RealMedia files were already lossy-compressed at low streaming bitrates.
-b:a 192k Sets the MP2 audio bitrate to 192 kilobits per second, which is the broadcast standard for MP2 audio and delivers clean, artifact-free sound for both speech and music typical in RealMedia archive content.
output.mpeg Defines the output filename and tells FFmpeg to wrap the MPEG-2 video and MP2 audio into an MPEG program stream container (.mpeg), which is playable on legacy hardware players, DVD authoring tools, and any MPEG-compliant software.

Common Use Cases

  • Digitizing archived RealMedia news clips or educational videos from the late 1990s/early 2000s to a format that modern and legacy media players can open without installing RealPlayer
  • Preparing RealMedia content for DVD authoring, since MPEG-2 video with MP2 audio is directly compatible with most DVD encoding workflows
  • Migrating a library of RealMedia streaming files saved from early internet archives into a format suitable for long-term preservation on broadcast-grade media
  • Importing old RealMedia corporate training videos or presentations into video editing software that does not support the .rm container or RealVideo codec
  • Converting RealMedia sports or entertainment clips for playback on set-top boxes, older televisions, or hardware players that support MPEG-2 but not .rm files
  • Extracting and re-encoding RealMedia content for upload to video platforms or content management systems that reject proprietary container formats

Frequently Asked Questions

Yes, some quality loss is inevitable because this is a transcode between two lossy formats — the video must be fully decoded from its source codec and re-encoded to MPEG-2. However, the default quality setting of -q:v 2 is near the top of the MPEG-2 quality scale (1 is best, 31 is worst), so the output will be as high quality as MPEG-2 can represent. Keep in mind that if your source .rm file was already heavily compressed, the MPEG-2 output cannot recover detail that was lost during the original RealMedia encoding.
The MPEG container format (.mpeg) is specifically designed around the MPEG-1 and MPEG-2 standards, and MP2 (MPEG-1 Audio Layer II) is the native, most compatible audio codec for these streams. While AAC is technically encodable into MPEG-2 transport streams, MP2 at 192k provides clean, artifact-free audio and is universally supported by every MPEG-compliant player and DVD authoring tool. This ensures the output file works anywhere an .mpeg file is expected without relying on AAC decoder availability.
Adjust the -q:v value in the command to control MPEG-2 video quality. The scale runs from 1 (highest quality, largest file) to 31 (lowest quality, smallest file), with 2 as the default for near-maximum quality. For example, changing -q:v 2 to -q:v 5 will reduce file size noticeably while still producing acceptable results for most content. If you need precise bitrate control instead of variable quality, replace -q:v with -b:v followed by a target bitrate like -b:v 4000k.
Yes. On Linux or macOS, you can run: for f in *.rm; do ffmpeg -i "$f" -c:v mpeg2video -c:a mp2 -q:v 2 -b:a 192k "${f%.rm}.mpeg"; done. On Windows Command Prompt, use: for %f in (*.rm) do ffmpeg -i "%f" -c:v mpeg2video -c:a mp2 -q:v 2 -b:a 192k "%~nf.mpeg". This applies the same codec settings to every .rm file in the directory and outputs a matching .mpeg file for each.
Most metadata embedded in RealMedia files — such as title, author, and copyright fields written by RealProducer — is not preserved during this conversion because the MPEG-1/2 program stream format has very limited metadata support compared to modern containers. If metadata preservation is critical, consider converting to a more modern container like MP4 or MKV instead, which can carry extensive metadata alongside MPEG-2 video streams.
In most cases, yes. MPEG-2 video combined with MP2 audio is the foundational format used in DVD-Video, and many DVD authoring tools will accept .mpeg files encoded this way directly. However, DVD-Video also requires specific frame rates (23.976, 25, or 29.97 fps), resolutions (e.g., 720x480 for NTSC), and bitrate ceilings. If your source .rm file uses a non-standard resolution or frame rate, you may need to add scaling and frame rate flags to the FFmpeg command, such as -vf scale=720:480 -r 29.97, before the output is fully DVD-compliant.

Technical Notes

RealMedia (.rm) files are a product of RealNetworks' proprietary ecosystem, and the container itself is not natively supported by most modern software without special libraries. FFmpeg's libavformat handles .rm demuxing, but some heavily DRM-protected or streaming-only .rm files may not open correctly. The MJPEG video codec sometimes found in .rm files produces a full re-encode to MPEG-2, meaning every frame is decoded and re-compressed — computationally more intensive than a simple remux. The MPEG-2 program stream output (.mpeg) does not support subtitles, multiple audio tracks, chapters, or transparency, mirroring the same limitations present in the source .rm format, so no stream metadata of those types will be lost in a meaningful way. Audio bitrate is set to 192k MP2, which is the broadcast standard and provides a good balance between file size and fidelity for spoken word and music content typical of RealMedia archives. Note that .mpeg files can grow significantly larger than the source .rm files because RealMedia's codecs were specifically optimized for low-bitrate internet streaming, while MPEG-2 at near-maximum quality (-q:v 2) targets high fidelity rather than small file size.

Related Tools