Convert RMVB to J2B — Free Online Tool

Convert RMVB video files to J2B audio format, extracting and re-encoding the audio stream using the LAME MP3 encoder. This tool is purpose-built for pulling audio from RealMedia Variable Bitrate video files into the Jazz Jackrabbit 2 game audio container 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

RMVB files use a variable bitrate RealMedia container that typically encodes video with RealVideo and audio with RealAudio codecs, though some RMVB files carry AAC or MP3 audio. During this conversion, FFmpeg demuxes the RMVB container, discards the video stream entirely, decodes the audio stream, and re-encodes it using the LAME MP3 encoder (libmp3lame) at 128k bitrate. The resulting audio is then wrapped in a J2B container — a lightweight format used by Jazz Jackrabbit 2 that layers an ASYLUM Music Format payload inside a simple binary header. Because the audio must be decoded and re-encoded from whatever codec the RMVB source used into MP3, this is a full transcode of the audio, not a lossless remux.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg tool, which handles all demuxing, decoding, encoding, and muxing for this RMVB-to-J2B conversion pipeline.
-i input.rmvb Specifies the input file in RMVB format. FFmpeg will parse the RealMedia Variable Bitrate container to extract both the video and audio streams, though only the audio will be used in this conversion.
-c:a libmp3lame Selects the LAME MP3 encoder for the audio output stream. Since J2B's audio payload is MP3-based, libmp3lame is the correct encoder to produce a compatible audio payload wrapped inside the J2B container.
-b:a 128k Sets the MP3 audio output to a constant bitrate of 128 kilobits per second. This is the default quality level for J2B output — sufficient for game audio use in Jazz Jackrabbit 2 but adjustable upward if the RMVB source contains higher-quality audio worth preserving.
output.j2b Defines the output filename and instructs FFmpeg to write the encoded MP3 audio into a J2B container. The .j2b extension signals FFmpeg to apply the Jazz Jackrabbit 2 audio format muxer, wrapping the LAME-encoded MP3 stream in the expected J2B header structure.

Common Use Cases

  • Extracting a music or dialogue track from an RMVB-encoded video to create a custom J2B audio asset for a Jazz Jackrabbit 2 mod or fan-made level pack.
  • Archiving audio content from legacy RMVB video files — common in early-2000s Chinese and Asian internet video distribution — into a compact MP3-based format for game engine use.
  • Converting a recorded RMVB music video or concert clip into a J2B file to use as background music in a Jazz Jackrabbit 2 custom campaign.
  • Stripping audio from RMVB anime or fan-dubbed video files to produce game-ready J2B audio assets compatible with JJ2 level editors.
  • Batch-processing a collection of RMVB video files on the command line using the displayed FFmpeg command to generate J2B audio files for a retro game audio project.

Frequently Asked Questions

Yes, some quality loss is expected. The RMVB source file's audio must be fully decoded and then re-encoded into MP3 using the LAME encoder at 128k bitrate. If the original RMVB audio was already lossy (RealAudio, AAC, or MP3), this introduces a second generation of lossy compression. The 128k MP3 output is adequate for game audio playback in Jazz Jackrabbit 2, but audiophiles working with high-quality source material may want to increase the bitrate using the FFmpeg command directly.
The video stream is completely discarded. FFmpeg reads the RMVB container and routes only the audio stream through the LAME encoder. No video data is written to the J2B output file, which is expected since J2B is a purely audio format. The conversion is essentially an audio extraction followed by MP3 re-encoding.
J2B files produced with this tool use the libmp3lame encoder, which aligns with the MP3-based audio payload that the J2B format wraps. However, J2B files traditionally contain ASYLUM/MOD-style tracker music rather than arbitrary MP3 content, so compatibility with the JJ2 engine depends on how the level editor or engine parses the J2B header. It is strongly recommended to test the output file in your specific JJ2 modding tool or engine build before using it in a production level.
Modify the -b:a flag in the command to set a different constant bitrate. For example, use -b:a 192k or -b:a 256k for higher quality audio from a high-fidelity RMVB source, or -b:a 64k to produce a smaller file suitable for simpler game audio. The full command with a higher bitrate would look like: ffmpeg -i input.rmvb -c:a libmp3lame -b:a 192k output.j2b.
Yes. On Linux or macOS, you can use a shell loop: for f in *.rmvb; do ffmpeg -i "$f" -c:a libmp3lame -b:a 128k "${f%.rmvb}.j2b"; done. On Windows Command Prompt, use: for %f in (*.rmvb) do ffmpeg -i "%f" -c:a libmp3lame -b:a 128k "%~nf.j2b". This is especially useful for large collections of RMVB files that exceed the 1GB browser-based limit of this tool.
RMVB files occasionally use proprietary RealAudio codec variants that FFmpeg cannot decode without additional libraries, which may cause the audio stream to be skipped or produce silence. Additionally, some RMVB files have malformed headers or non-standard stream layouts that confuse the demuxer. Try running ffprobe on your RMVB file to inspect the actual audio codec in use. If the audio codec is listed as 'cook' (RealAudio G2) or 'atrac', FFmpeg support may be limited and the output audio could be empty.

Technical Notes

RMVB (RealMedia Variable Bitrate) files pose specific challenges for FFmpeg: the container's variable bitrate structure and RealNetworks' proprietary codec stack mean that audio codec support varies by build. This tool's FFmpeg command uses libmp3lame to encode the extracted audio at a constant 128k bitrate, regardless of whether the source RMVB audio was at a higher or lower bitrate. The J2B format itself is not a general-purpose audio container — it was designed specifically for the Jazz Jackrabbit 2 game engine and wraps an ASYLUM Music Format structure with a 4-byte magic header. Using it outside of JJ2 tooling is unconventional, and most standard media players will not recognize or play J2B files natively. No metadata from the RMVB container (title, artist, chapter markers) is preserved in the J2B output, as the format has no standardized metadata fields. Because both formats are lossy, users working with archival or high-quality RMVB sources should increase the -b:a bitrate to minimize cumulative quality loss from the double-lossy transcode.

Related Tools