Convert RMVB to MPG — Free Online Tool
Convert RMVB files to MPG format by re-encoding the video stream with MPEG-2 and the audio with MP2 — the codec pair that powers DVD and broadcast video. This tool runs entirely in your browser via FFmpeg.wasm, making it ideal for bringing old RealMedia variable-bitrate content into a format compatible with DVD authoring software and legacy broadcast systems.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your RMVB 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
RMVB files use RealNetworks' proprietary RealVideo and RealAudio codecs inside a RealMedia container, which is incompatible with standard MPEG toolchains. This conversion is a full re-encode: the video is decoded from RealVideo and re-encoded as MPEG-2 video using a fixed quantizer scale (q:v 2, near-maximum quality), and the audio is decoded from RealAudio and re-encoded as MP2 (MPEG-1 Audio Layer II) at 192k bitrate. The result is a standard MPEG program stream (.mpg) that conforms to MPEG-2 specifications, making it readable by DVD players, broadcast encoders, and virtually any legacy video software that predates modern container formats.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg binary, the open-source multimedia processing engine that handles all decoding, re-encoding, and container muxing for this RMVB-to-MPG conversion. |
-i input.rmvb
|
Specifies the input file in RMVB format. FFmpeg will automatically detect the RealMedia container and the proprietary RealVideo and RealAudio codec streams inside it. |
-c:v mpeg2video
|
Sets the video encoder to MPEG-2, the codec required by the MPG container for DVD, VCD, and broadcast-compatible output. The RealVideo stream is fully decoded and re-encoded using this standard. |
-c:a mp2
|
Sets the audio encoder to MP2 (MPEG-1 Audio Layer II), the standard audio codec for MPEG-2 program streams used in broadcast and DVD contexts. The proprietary RealAudio from the source RMVB is decoded and re-encoded into MP2. |
-q:v 2
|
Sets the MPEG-2 video quality using the fixed quantizer scale, where 1 is the highest quality and 31 is the lowest. A value of 2 produces near-maximum quality output at the cost of a larger file size. |
-b:a 192k
|
Sets the MP2 audio bitrate to 192 kilobits per second, a standard bitrate for MPEG-2 audio in broadcast and DVD applications that balances audio fidelity with file size. |
output.mpg
|
Specifies the output filename with the .mpg extension, which instructs FFmpeg to wrap the encoded MPEG-2 video and MP2 audio into an MPEG program stream container. |
Common Use Cases
- Importing old RMVB anime or film downloads into DVD authoring tools like DVDStyler or Nero Vision, which require MPEG-2/MP2 program streams
- Archiving RealMedia video collections from the early 2000s into a more universally supported container before RealPlayer support disappears from modern operating systems
- Preparing RMVB footage for playback on standalone DVD players or set-top boxes that support MPEG-2 but cannot decode RealVideo
- Feeding RMVB-sourced content into legacy broadcast or video editing hardware that accepts only MPEG-2 program streams via SDI or analog input pipelines
- Converting RMVB lecture recordings or educational videos into MPG so they can be burned to VCD or SVCD for distribution in regions where disc players are still common
- Transcoding RMVB files for use in older non-linear editing systems like early versions of Avid or Premiere that natively ingest MPEG-2 but not RealMedia
Frequently Asked Questions
Yes, some quality loss is inevitable because this is a generation loss scenario: the original RealVideo stream is decoded and then re-encoded into MPEG-2. The default setting uses q:v 2, which is near the top of MPEG-2's quality range (1 is best, 31 is worst), so the re-encode itself introduces minimal additional degradation. However, if your source RMVB was already heavily compressed, that compression artifact will be preserved and potentially amplified by the re-encode. MPEG-2 at high quality settings generally produces very clean output from a watchable source.
RealMedia files use RealAudio, a proprietary codec that is incompatible with the MPEG program stream container used by MPG files. The MPG format's standard audio tracks are MP2 (MPEG-1 Audio Layer II), which is the codec used for VCD, SVCD, and many broadcast MPEG-2 streams. The conversion to MP2 at 192k produces audio quality that is transparent for most content, but it does represent a second lossy encoding step from the original RealAudio data.
The output MPG uses MPEG-2 video and MP2 audio, which are the core codecs for DVD video, but a fully DVD-compliant stream also requires specific resolution constraints (e.g., 720x480 for NTSC or 720x576 for PAL), a specific GOP structure, and an MPEG-2 program stream mux rate within DVD spec limits. This tool's output is a valid MPEG-2 file but may not be frame-accurately DVD-compliant without further processing in a DVD authoring tool that handles re-multiplexing and compliance checks.
The -q:v flag controls MPEG-2 video quality using a fixed quantizer scale where 1 is the highest quality and 31 is the lowest. The default here is 2, which is near-maximum quality. To reduce file size at the cost of quality, increase the value — for example, replace '-q:v 2' with '-q:v 5' for a smaller file with still-acceptable quality. To also adjust audio bitrate, change the value after '-b:a', for instance to '128k' for a more compact output or '320k' for higher fidelity audio.
Yes. On Linux or macOS, you can use a shell loop: 'for f in *.rmvb; do ffmpeg -i "$f" -c:v mpeg2video -c:a mp2 -q:v 2 -b:a 192k "${f%.rmvb}.mpg"; done'. On Windows Command Prompt, use: 'for %f in (*.rmvb) do ffmpeg -i "%f" -c:v mpeg2video -c:a mp2 -q:v 2 -b:a 192k "%~nf.mpg"'. The browser-based tool processes one file at a time, so the local FFmpeg command is the recommended approach for batch processing large collections.
RMVB (Real Media Variable Bitrate) was specifically designed for highly efficient compression, often achieving very small file sizes at the cost of using proprietary RealVideo codecs. MPEG-2, by contrast, is an older compression standard with lower efficiency — it requires significantly more data to represent the same visual quality. At q:v 2, the MPEG-2 encoder prioritizes quality over file size, so a 500MB RMVB could easily produce a 1–3GB MPG. If file size is a concern, increase the -q:v value (e.g., to 5 or 8) to reduce bitrate.
Technical Notes
RMVB is a variable-bitrate extension of RealMedia, meaning the encoder dynamically allocates more bits to complex scenes and fewer to static ones — a sophisticated feature for its era but locked to proprietary RealVideo/RealAudio codecs. Converting to MPG involves full re-encoding into an MPEG-2 program stream, the format defined by ISO/IEC 13818. The output uses mpeg2video for video and mp2 for audio, which are the standard track types for this container. MPG does not support subtitles, chapters, multiple audio tracks, or transparency — none of these features are present in RMVB either, so no metadata is lost in that sense. However, RMVB files may embed RealMedia-specific metadata (title, author, copyright fields) that will be discarded during re-encoding into the MPEG-2 program stream, since MPG has very limited metadata support. File sizes for MPEG-2 at high quality settings are substantially larger than RMVB equivalents because MPEG-2 is a less efficient codec than the RealVideo variants used in RMVB. Both formats are lossy, so this is a lossy-to-lossy transcode; artifacts from the original compression will propagate into the output.