Extract Audio from RMVB to J2B — Free Online Tool

Extract audio from RMVB files and save it as J2B format using the LAME MP3 encoder — entirely in your browser with no uploads required. This tool strips the RealMedia video stream and re-encodes the AAC or MP3 audio track into the ASYLUM Music Format container used by Jazz Jackrabbit 2.

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 (RealMedia Variable Bitrate) files typically contain a video stream encoded with H.264 and an audio stream encoded in AAC or MP3. This tool discards the video stream entirely using the -vn flag, then takes the audio stream and re-encodes it using the LAME MP3 encoder (libmp3lame) at 128k bitrate. The resulting audio is wrapped in the J2B container, which is the ASYLUM Music Format with a simple header used by the Jazz Jackrabbit 2 game engine. Because RMVB audio is most often AAC and J2B requires MP3, a full audio transcode — not a simple stream copy — is always performed. This means there is a generation of lossy re-encoding involved, which is unavoidable given the format constraints.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg binary, the open-source multimedia processing engine that handles all decoding, filtering, and encoding operations in this conversion pipeline.
-i input.rmvb Specifies the input file in RMVB format — a RealMedia Variable Bitrate container that typically holds an H.264 video stream and an AAC audio stream. FFmpeg demuxes this container to access both streams separately.
-vn Disables video output entirely, telling FFmpeg to ignore the H.264 video stream from the RMVB file. Since J2B is a pure audio container with no video support, this flag is required to prevent conversion errors.
-c:a libmp3lame Selects the LAME MP3 encoder to re-encode the audio stream. Because J2B requires MP3 audio and RMVB typically stores audio as AAC, a full transcode through libmp3lame is necessary — a direct stream copy is not possible for this format pair.
-b:a 128k Sets the MP3 audio output bitrate to 128 kilobits per second, which is the default for J2B output in this tool. This controls the trade-off between file size and audio fidelity in the re-encoded MP3 stream; higher values like 256k or 320k will better preserve the original RMVB audio quality during the lossy transcode.
output.j2b Defines the output filename with the .j2b extension, which tells FFmpeg to write the encoded MP3 audio into a J2B container — the ASYLUM Music Format wrapper used by the Jazz Jackrabbit 2 game engine.

Common Use Cases

  • Extracting background music or ambient audio from RMVB video files to create custom J2B music mods for Jazz Jackrabbit 2 levels
  • Converting RMVB-sourced audio content into a format compatible with Jazz Jackrabbit 2 modding tools and level editors that expect J2B files
  • Archiving the audio track from old RMVB video files distributed during the early 2000s into a compact, game-engine-compatible format for retro gaming projects
  • Pulling a narration or dialogue track from an RMVB file to test it inside a Jazz Jackrabbit 2 custom episode before integrating it into the full mod package
  • Quickly previewing what an RMVB audio track sounds like when encoded through the LAME MP3 pipeline that J2B depends on, before committing to a full mod build

Frequently Asked Questions

Yes, some quality loss is unavoidable. RMVB files most commonly store audio as AAC, which is already a lossy format. Converting AAC to MP3 (as required by J2B) means the audio goes through a second round of lossy encoding — a process sometimes called 'generation loss'. At 128k bitrate the result is generally acceptable for game audio use, but if the original RMVB audio was encoded at a very low bitrate, artifacts may be more noticeable. Increasing the output bitrate to 192k or 256k can help minimize the degradation.
The J2B format is specifically designed for the ASYLUM Music Format (AMF), which is a tracker-based module format — not arbitrary MP3 audio. Standard J2B files used by Jazz Jackrabbit 2 contain structured module music with instrument data, not a raw PCM or MP3 stream. Converting an RMVB audio track to J2B via FFmpeg produces an MP3 stream wrapped in a J2B-like container, which may not be directly playable by the game engine without additional modding tools or patches that support extended J2B variants.
A direct stream copy would only be possible if the source audio codec matched the target container's required codec. J2B requires MP3 audio encoded by the LAME encoder (libmp3lame), but RMVB files most commonly store audio as AAC. Since AAC and MP3 are fundamentally different codecs, FFmpeg must fully decode the AAC stream and re-encode it as MP3 — there is no shortcut available for this format pair.
Replace the value after -b:a in the command to set a different bitrate. For example, to encode at 192k instead of the default 128k, use: ffmpeg -i input.rmvb -vn -c:a libmp3lame -b:a 192k output.j2b. The J2B format supports bitrates from 64k up to 320k. Higher bitrates preserve more audio detail at the cost of a larger file, while lower bitrates like 64k reduce file size but can introduce audible compression artifacts, especially on music with a wide frequency range.
RMVB files can carry RealMedia-specific metadata tags, but the J2B format has no standardized metadata fields for storing ID3-style tags like title, artist, or album. FFmpeg will attempt to pass through any compatible metadata, but in practice most tag information is silently dropped during this conversion because the J2B container has no designated space to store it. If metadata preservation matters, consider extracting audio to a format like MP3 or FLAC instead.
Yes, on Linux or macOS you can use a shell loop to process multiple files: for f in *.rmvb; do ffmpeg -i "$f" -vn -c:a libmp3lame -b:a 128k "${f%.rmvb}.j2b"; done. On Windows Command Prompt the equivalent is: for %f in (*.rmvb) do ffmpeg -i "%f" -vn -c:a libmp3lame -b:a 128k "%~nf.j2b". This browser-based tool processes one file at a time, so the FFmpeg command is especially useful when you have a large batch of RMVB files to convert locally.

Technical Notes

RMVB is a variable bitrate variant of the RealMedia container and was widely used in the early-to-mid 2000s for distributing compressed video over limited bandwidth connections. Its audio is typically encoded in AAC (the default codec in this format) or sometimes MP3. J2B is a niche container tied specifically to the Jazz Jackrabbit 2 game, built around the ASYLUM Music Format, which is itself a tracker module format. Using FFmpeg to produce a J2B file from arbitrary audio sources results in an MP3-encoded stream with a J2B wrapper, which differs from the tracker-based instrument data structure that native J2B files contain. This means the output is technically a J2B file by extension and header, but may behave differently than hand-authored J2B module files when loaded by game engines or specialty players. The -vn flag is essential here to suppress any attempt to process the RMVB video stream, since J2B has no video codec support. There is no lossless path between these two formats; both are lossy, and the AAC-to-MP3 transcode introduces a second compression stage. Users who need the highest possible quality should maximize the -b:a value to 320k to reduce the audible impact of the double-lossy encoding chain.

Related Tools