Convert MPEG to RM — Free Online Tool

Convert MPEG files (MPEG-1/MPEG-2 video with MP2 audio) to RealMedia (.rm) format using MJPEG video encoding and AAC audio — right in your browser. This conversion bridges classic broadcast-era MPEG content into the RealNetworks streaming container format, ideal for archival workflows or legacy RealPlayer compatibility.

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

MPEG files typically carry MPEG-1 or MPEG-2 video alongside MP2 audio, neither of which is natively supported inside the RealMedia container. During this conversion, the MPEG-2 video stream is fully re-encoded into MJPEG (Motion JPEG), which stores each video frame as an individual JPEG image — a fundamentally different compression approach than the interframe prediction used by MPEG-2. Simultaneously, the MP2 audio track is transcoded to AAC, a more modern and efficient audio codec. Both streams are then muxed into the .rm container. Because both video and audio require full re-encoding (not a simple remux), processing time is longer and some generation loss in quality is expected, even at high quality settings.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg tool, which handles all decoding, re-encoding, and container muxing for this MPEG to RealMedia conversion entirely from the command line.
-i input.mpeg Specifies the input MPEG file, which FFmpeg will demux to extract the MPEG-1 or MPEG-2 video stream and the MP2 (or other) audio stream for re-encoding.
-c:v mjpeg Instructs FFmpeg to re-encode the video stream using the MJPEG (Motion JPEG) codec, which is the only video codec supported in the RealMedia container — the MPEG-2 video cannot be copied directly.
-c:a aac Transcodes the audio stream to AAC, replacing the MP2 audio found in the source MPEG file, since the RealMedia container does not support MP2 audio.
-q:v 5 Sets the MJPEG video quality on a scale of 1 (best, largest file) to 10 (worst, smallest file); a value of 5 is the midpoint default, balancing file size and visual fidelity for typical MPEG source material.
-b:a 128k Sets the AAC audio output bitrate to 128 kilobits per second, which is sufficient for stereo audio from most MPEG broadcast or DVD sources without producing unnecessarily large .rm files.
output.rm Defines the output filename and instructs FFmpeg to mux the re-encoded MJPEG video and AAC audio into the RealMedia (.rm) container format.

Common Use Cases

  • Archiving old MPEG broadcast recordings into RealMedia format for a legacy digital media library that was originally organized around RealNetworks infrastructure
  • Preparing MPEG video content for playback in environments where only RealPlayer or RealMedia-compatible software is installed, such as older corporate or educational kiosk systems
  • Converting MPEG-1 home video captures or MPEG-2 DVD rips into .rm files for upload to early-2000s era streaming servers still running RealServer or Helix Server
  • Migrating MPEG content from broadcast or DVD production pipelines into RealMedia format for distribution via streaming portals that require the .rm container
  • Testing or demonstrating legacy codec behavior by converting a known MPEG source through MJPEG encoding for comparison of interframe vs. intraframe compression artifacts
  • Reproducing period-accurate streaming video content in .rm format for historical media research or digital preservation projects involving late-1990s internet video

Frequently Asked Questions

MPEG-2 uses interframe compression, meaning it only stores the differences between frames rather than encoding every frame in full. MJPEG, the only video codec supported in this RealMedia conversion, encodes every frame independently as a JPEG image. This fundamental difference in compression strategy means the re-encoded video will look visually different — MJPEG tends to produce more consistent per-frame quality but larger files, while MPEG-2 can exhibit motion-related artifacts. Lowering the -q:v value (closer to 1) in the FFmpeg command will improve MJPEG output quality.
No — the RealMedia container does not support MP2 audio, so the MP2 track is fully transcoded to AAC during this conversion. AAC is a more modern codec and generally achieves better audio quality at the same or lower bitrate compared to MP2, so the audio quality can actually improve in this step. The default output bitrate is 128k, which is suitable for most speech and music content originating from MPEG sources.
The -q:v flag controls MJPEG quality in the output .rm file. It accepts values from 1 (highest quality, largest file) to 10 (lowest quality, smallest file), with 5 as the default. To get higher quality, change -q:v 5 to -q:v 2, for example: ffmpeg -i input.mpeg -c:v mjpeg -c:a aac -q:v 2 -b:a 128k output.rm. Similarly, you can raise -b:a to 192k or 256k if your source MPEG has high-quality audio that you want to preserve more faithfully.
Yes. On Linux or macOS, you can run a shell loop: for f in *.mpeg; do ffmpeg -i "$f" -c:v mjpeg -c:a aac -q:v 5 -b:a 128k "${f%.mpeg}.rm"; done. On Windows Command Prompt, use: for %f in (*.mpeg) do ffmpeg -i "%f" -c:v mjpeg -c:a aac -q:v 5 -b:a 128k "%~nf.rm". The browser-based tool processes one file at a time, so the FFmpeg command approach is recommended for batch jobs or files over 1GB.
Neither MPEG nor RealMedia supports subtitles or chapter markers in the way modern containers like MKV or MP4 do, so nothing is lost in that regard. However, this also means you cannot embed subtitles into the .rm output even if you have a separate subtitle file — the RealMedia format simply does not support subtitle tracks.
Yes — RealMedia was specifically designed for internet streaming, and the .rm container supports streaming natively. MJPEG's intraframe encoding (every frame is self-contained) actually makes it easier for streaming servers to seek and serve content compared to MPEG-2's interframe GOP structure. However, modern streaming infrastructure largely no longer supports the RealMedia protocol, so practical streaming use is limited to legacy RealServer or Helix Server deployments.

Technical Notes

This conversion involves two full transcoding operations with no stream copying possible. MPEG-2 video (the default MPEG container codec) uses GOP-based interframe compression with B-frames and P-frames, which is fundamentally incompatible with the RealMedia container's expected MJPEG stream. MJPEG stores each frame as a discrete JPEG — this eliminates temporal compression entirely, which typically results in significantly larger file sizes than the MPEG-2 source at equivalent perceived quality. The -q:v scale for MJPEG runs from 1–10 (unlike MPEG-2's 1–31 range), so the quality parameter semantics change between input and output formats. On the audio side, MP2 (MPEG Audio Layer II) is the standard audio codec in MPEG files, particularly DVD and broadcast MPEG-2, and it is not supported inside the .rm container; AAC transcoding is mandatory. Neither format supports transparency, multiple audio tracks, embedded subtitles, or chapter metadata, so no such data is at risk of being silently dropped. The RealMedia format itself is proprietary and largely obsolete, with limited muxer support in FFmpeg — users should be aware that playback compatibility outside of RealPlayer or VLC is not guaranteed.

Related Tools