Convert MPEG to RMVB — Free Online Tool
Convert MPEG files (MPEG-1/MPEG-2 video with MP2 audio) to RMVB format using H.264 video encoding and AAC audio in your browser — no upload required. This conversion modernizes aging broadcast or DVD-compatible MPEG content into a compact variable-bitrate container once widely used for sharing compressed video.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your MPEG 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
MPEG files typically carry MPEG-1 or MPEG-2 video streams alongside MP2 audio — codecs designed for broadcast and DVD standards from the 1990s and early 2000s. Converting to RMVB requires full re-encoding of both streams: the MPEG-2 video is decoded and re-encoded to H.264 (libx264) using constant rate factor quality control, and the MP2 audio is transcoded to AAC. This is not a simple remux — every frame is decoded and re-compressed, which takes more time but results in significantly smaller file sizes. The RMVB container, despite its RealNetworks heritage, here acts as a wrapper for the modern H.264/AAC streams rather than the original RealVideo codec it was designed for.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg command-line tool. In this browser-based tool, the equivalent FFmpeg.wasm (WebAssembly) binary runs locally in your browser, so no file data is sent to any server. |
-i input.mpeg
|
Specifies the input MPEG file, which may contain MPEG-1 or MPEG-2 video and MP2, MP3, or AAC audio streams depending on how the source was encoded or captured. |
-c:v libx264
|
Re-encodes the MPEG-1 or MPEG-2 video stream to H.264 using the libx264 encoder, which is far more compression-efficient than the legacy MPEG video codecs in the source file. |
-c:a aac
|
Transcodes the source MP2 audio (the standard audio codec in MPEG files) to AAC, which provides better audio quality at the same bitrate and is broadly supported in modern playback environments. |
-crf 23
|
Sets the constant rate factor for the H.264 encoder to 23, the default quality level. This produces a good balance between file size and visual quality when encoding from MPEG-2 source material; lower values (e.g., 18) yield higher quality and larger files. |
-b:a 128k
|
Sets the AAC audio output bitrate to 128 kbps, which is a significant reduction from the 192 kbps MP2 audio common in broadcast MPEG files but sufficient for most spoken word and general audio content given AAC's superior efficiency. |
output.rmvb
|
Defines the output filename and tells FFmpeg to write the encoded H.264 video and AAC audio streams into the RMVB container format, recognized by the .rmvb file extension. |
Common Use Cases
- Sharing old MPEG-2 broadcast recordings or TV captures with people who use media players that handle RMVB files better than raw MPEG streams
- Shrinking large MPEG-2 DVD rips or archived broadcast footage into smaller RMVB files for storage or distribution on lower-bandwidth connections
- Preparing legacy MPEG content for playback on older Asian media players or set-top boxes that were built with RMVB support as a primary format
- Converting MPEG-1 Video CD (VCD) content to a more compressed format while retaining watchable quality for archiving personal home video collections
- Modernizing MPEG-2 broadcast clips from news archives or institutional video libraries into H.264-encoded files wrapped in a container familiar to existing RMVB-based workflows
- Re-encoding low-resolution MPEG training or educational videos to reduce file size for distribution via older content management systems that were configured around RMVB uploads
Frequently Asked Questions
Yes — this is a lossy-to-lossy conversion, meaning your MPEG-2 source is already compressed and re-encoding to H.264 introduces a second generation of compression artifacts. However, H.264 at CRF 23 is substantially more efficient than MPEG-2 at equivalent visual quality, so in practice the output often looks comparable to or better than the source at a much smaller file size. If your MPEG source is high quality (e.g., a broadcast capture at high bitrate), the H.264 output at default settings will generally preserve that quality well.
The RealVideo and RealAudio codecs used in traditional RMVB files are proprietary and not supported by FFmpeg's open-source encoder suite. FFmpeg can write to the RMVB container format but encodes the streams using modern open codecs — H.264 for video and AAC for audio. The resulting file uses the .rmvb extension and container structure, but its streams will play correctly in any player that supports H.264/AAC, which is essentially all modern media software.
Change the -crf value to control H.264 quality. The scale runs from 0 (lossless) to 51 (worst quality), with 23 as the default. Lower values mean better quality and larger files — try -crf 18 for high quality or -crf 28 for a smaller, more compressed output. For MPEG-2 source material, values between 18 and 23 typically preserve the source quality without producing unnecessarily large files.
H.264 is typically 2–4x more efficient than MPEG-2 at the same visual quality, so a well-encoded RMVB output will usually be significantly smaller than the source MPEG. The exact ratio depends on the content type, the source MPEG bitrate, and the CRF setting chosen. A high-bitrate MPEG-2 broadcast capture could shrink by 50–75% while still looking comparable, while a low-bitrate MPEG-1 source may see more modest gains.
MPEG files have very limited metadata support, and RMVB does not support embedded subtitles or chapter markers in this FFmpeg implementation. Basic stream-level metadata may carry over, but embedded text tracks, program guide data, or DVD chapter structures in the source MPEG will not be preserved in the output. If your MPEG contains closed captions or teletext, those will be lost in this conversion.
Yes — on Linux or macOS you can use a shell loop: for f in *.mpeg; do ffmpeg -i "$f" -c:v libx264 -c:a aac -crf 23 -b:a 128k "${f%.mpeg}.rmvb"; done. On Windows Command Prompt, use: for %f in (*.mpeg) do ffmpeg -i "%f" -c:v libx264 -c:a aac -crf 23 -b:a 128k "%~nf.rmvb". The browser-based tool processes one file at a time, so the desktop FFmpeg command is especially useful for batch jobs.
Technical Notes
The source MPEG format uses either MPEG-1 (typically at resolutions up to 352x240 for VCD) or MPEG-2 video (up to broadcast HD resolutions), paired with MP2 audio at fixed bitrates. Both video and audio streams must be fully decoded and re-encoded during this conversion — there is no possibility of stream copying since neither the video codec (MPEG-2 → H.264) nor the audio codec (MP2 → AAC) is shared between the source and output containers. The H.264 encoder (libx264) uses constant rate factor (CRF) mode, which targets perceptual quality rather than a fixed bitrate, making it well-suited for variable-motion MPEG content like broadcast footage. The RMVB container was designed around RealNetworks' variable bitrate encoding philosophy, and H.264's CRF mode aligns naturally with that concept even though the underlying codec differs. One known limitation: MPEG-2 program streams (.mpg files from DVD or broadcast) may contain multiple audio tracks or program IDs — FFmpeg will select the default stream, and secondary audio tracks or programs will not be included in the RMVB output since RMVB does not support multiple audio tracks.