Convert RMVB to M4V — Free Online Tool

Convert RMVB files to M4V format, re-encoding the RealVideo stream to H.264 and wrapping the output in Apple's MPEG-4 container — making legacy RealMedia content fully compatible with iTunes, iOS devices, and Apple TV. The output is optimized for streaming with the +faststart flag, which moves the MP4 index to the front of the file for immediate playback.

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

RMVB files use RealNetworks' proprietary RealVideo and RealAudio codecs inside a RealMedia container — codecs that Apple devices and most modern software refuse to play. This conversion fully re-encodes both streams: the video is decoded from RealVideo and re-encoded to H.264 (libx264) using a CRF of 23, and the audio is decoded from RealAudio and re-encoded to AAC at 128k bitrate. Because RMVB and M4V share no common codecs, there is no possibility of stream copying here — every frame and audio sample is decompressed and re-compressed. The output is an M4V container (structurally identical to MP4) with the MOOV atom relocated to the beginning of the file via the -movflags +faststart flag, enabling progressive download and streaming without waiting for the full file to load.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg program, which handles all decoding, encoding, and container muxing for this conversion. In the browser-based tool, this runs as FFmpeg.wasm inside WebAssembly — no installation required.
-i input.rmvb Specifies the input file in RMVB format. FFmpeg automatically detects the RealMedia container and identifies the RealVideo and RealAudio streams inside it for decoding.
-c:v libx264 Re-encodes the video stream using the H.264 codec via libx264. This is necessary because RealVideo — the codec inside RMVB — is not a valid codec for M4V, so the entire video must be decoded and re-compressed to H.264.
-c:a aac Re-encodes the audio stream to AAC, Apple's preferred audio codec for M4V and iTunes. RealAudio from the RMVB source is fully decoded first, then compressed to AAC — ensuring native compatibility with all Apple devices.
-crf 23 Sets the H.264 Constant Rate Factor to 23, the libx264 default. This controls the visual quality-to-file-size tradeoff for the re-encoded video; lower values (e.g., 18) produce better quality at larger file sizes, which can help compensate for quality already lost in the RMVB source.
-b:a 128k Sets the AAC audio output bitrate to 128 kilobits per second. This is generally sufficient for stereo audio from RMVB sources, which are often encoded at similar or lower bitrates in the original RealAudio stream.
-movflags +faststart Moves the MOOV atom (the file's index and metadata) to the beginning of the M4V file after encoding completes. This is an M4V/MP4-specific optimization that enables progressive playback and HTTP streaming — the file starts playing immediately on iOS and in browsers without waiting for a full download.
output.m4v Specifies the output filename and format. The .m4v extension signals to FFmpeg to wrap the H.264 video and AAC audio in Apple's M4V container, which is recognized natively by iTunes, QuickTime, iOS, and Apple TV.

Common Use Cases

  • Playing old anime or foreign film downloads — originally distributed in RMVB format during the early 2000s — on an iPhone, iPad, or Apple TV without a third-party player app
  • Importing classic RMVB video content into iTunes or the Apple TV app to sync to a device or add to a personal media library
  • Archiving RMVB files from legacy RealPlayer libraries into a modern, widely-supported format before the source software becomes unavailable
  • Preparing RMVB-sourced video for upload to platforms like YouTube or Vimeo, which do not accept RealMedia files but readily handle M4V/MP4
  • Converting RMVB lecture recordings or training videos — common in older e-learning systems — into a format compatible with modern LMS video players and iOS devices
  • Removing dependency on RealPlayer or VLC for playback by converting an RMVB collection to Apple-native M4V files that open natively in QuickTime

Frequently Asked Questions

Yes, some quality loss is unavoidable because RMVB uses RealVideo compression, which cannot be remuxed into M4V — it must be fully decoded and re-encoded to H.264. However, RMVB files themselves are already heavily compressed and lossy, so with a CRF of 23 the H.264 output will typically look visually comparable or even slightly cleaner due to H.264's superior compression efficiency over RealVideo. If you need higher fidelity, lower the CRF value (e.g., 18) in the FFmpeg command.
RMVB files were often encoded at very low bitrates to minimize file size, meaning the source itself has compression artifacts baked in. When FFmpeg decodes the RealVideo stream and re-encodes to H.264, those pre-existing artifacts are preserved and can become slightly more visible after a second round of lossy compression. This is a limitation of the source material, not the conversion process. Using a lower CRF (e.g., 15–18) can help by giving H.264 more bits to work with when re-encoding the damaged source frames.
RMVB does not support chapters or multiple audio tracks as container-level features, so there is nothing to carry over. M4V does support both of these features natively, but since the source RMVB file cannot contain them, the converted output will have a single audio track and no chapter markers. If you need to add chapters, that would require a separate step using a tool like mp4chaps or FFmpeg's metadata options after conversion.
Yes — M4V with H.264 video and AAC audio is natively supported by iOS, iPadOS, tvOS, and macOS. The file will open directly in the Photos app, Files app, or QuickTime Player, and can be synced to an iPhone or Apple TV through the Apple TV app. The +faststart flag applied during conversion also ensures the file begins playing immediately when streamed, rather than requiring a full download first.
Adjust the -crf value in the command. CRF controls quality on a scale from 0 (lossless) to 51 (worst quality), with 23 as the default. For a visibly higher-quality output — important when the RMVB source is already of decent quality — try -crf 18. For smaller file sizes where quality is less critical, try -crf 28. Each step of roughly 6 CRF units approximately halves or doubles the output file size. For audio, replace 128k in -b:a 128k with 192k or 256k for better audio fidelity.
Yes. On Linux or macOS, you can run: for f in *.rmvb; do ffmpeg -i "$f" -c:v libx264 -c:a aac -crf 23 -b:a 128k -movflags +faststart "${f%.rmvb}.m4v"; done — this loops over every RMVB file in the current directory and converts each one to M4V with the same settings. On Windows Command Prompt, use: for %f in (*.rmvb) do ffmpeg -i "%f" -c:v libx264 -c:a aac -crf 23 -b:a 128k -movflags +faststart "%~nf.m4v". The browser-based tool processes one file at a time, so the FFmpeg command is especially useful for bulk conversions.

Technical Notes

RMVB (RealMedia Variable Bitrate) is a proprietary format that encapsulates RealVideo and RealAudio streams, and FFmpeg can decode these codecs but cannot encode to them — making transcoding to H.264/AAC the only viable path when producing M4V output. Because both encoding steps are lossy, the conversion introduces generational quality loss; this is inherent to the format pair and cannot be avoided. The CRF 23 default strikes a practical balance for RMVB sources, which typically have source bitrates between 300–900 kbps. M4V is structurally a renamed MP4 and gains meaningful features over RMVB in this conversion: native support for subtitles (via embedded text tracks), multiple audio tracks, chapters, and DRM via Apple's FairPlay — none of which RMVB supports. The -movflags +faststart flag is particularly important if the M4V file will be served over HTTP, as it relocates the MOOV atom so a browser or iOS device can begin decoding before the download completes. Metadata from RMVB files (title, author, copyright tags) may not be preserved during conversion because RealMedia uses a proprietary metadata format; you may need to re-tag the output file using a tool like AtomicParsley or iTunes.

Related Tools