Extract Audio from MOD to J2B — Free Online Tool

Extract audio from MOD camcorder footage (JVC/Panasonic MPEG-2 recordings) and save it as a J2B file using the LAME MP3 encoder. This niche conversion strips the MPEG-2 video stream entirely and wraps the resulting MP3 audio in the ASYLUM Music Format header structure 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

MOD files from JVC and Panasonic camcorders store video as MPEG-2 inside a modified MPEG-PS container, with audio typically encoded as AC-3 or MPEG audio. This tool discards the video stream entirely using the -vn flag and re-encodes the audio track using the LAME MP3 encoder at 128k bitrate by default. The resulting MP3-encoded audio data is then written into a J2B container — a format originally designed for Jazz Jackrabbit 2 game music, which wraps ASYLUM Music Format module data but in practice accepts MP3-encoded audio under the libmp3lame codec path FFmpeg uses here. Both the input and output formats are lossy, so this is a lossy-to-lossy transcode with no lossless intermediate step.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg command-line tool, which handles all demuxing, decoding, encoding, and muxing operations in this conversion pipeline.
-i input.mod Specifies the input MOD camcorder file — a modified MPEG-PS container from a JVC or Panasonic camcorder — which FFmpeg will demux to extract the separate video and audio elementary streams.
-vn Disables video output entirely, telling FFmpeg to ignore the MPEG-2 video stream from the MOD file and produce an audio-only output. This is essential for extracting just the camcorder's audio track without re-encoding or including any video data in the J2B file.
-c:a libmp3lame Selects the LAME MP3 encoder to re-encode the audio decoded from the MOD file. libmp3lame is the only audio codec supported for J2B output in FFmpeg, matching the MP3-based audio that Jazz Jackrabbit 2's J2B toolchain expects.
-b:a 128k Sets the MP3 output bitrate to 128 kilobits per second, the default quality level for J2B output. Since the MOD source audio is already lossy, increasing this to 192k or 320k can reduce the generational quality loss from this transcode.
output.j2b Defines the output filename and triggers FFmpeg to write the encoded MP3 audio into a J2B container — the ASYLUM Music Format wrapper used by Jazz Jackrabbit 2 — based on the .j2b file extension.

Common Use Cases

  • Retrieving spoken commentary or narration recorded on a JVC or Panasonic camcorder to archive or repurpose separately from the video footage
  • Extracting audio from old MOD camcorder clips for use as source material in a retro game audio modding project where J2B is the target container
  • Converting camcorder audio to J2B as part of a custom Jazz Jackrabbit 2 level pack that requires soundtrack files in the game's native format
  • Isolating ambient sound or field recordings captured on a MOD-based camcorder for use in a game audio pipeline that ingests J2B files
  • Archiving the audio content of MOD footage independently when the video stream is corrupt or no longer needed, with J2B as the delivery format for a specific game engine workflow
  • Testing or demonstrating FFmpeg's ability to write J2B-wrapped MP3 audio from a real-world MPEG-PS source file for format research or tooling development

Frequently Asked Questions

Yes, some quality loss is inevitable because this is a lossy-to-lossy transcode. The audio in a MOD file is already compressed (typically as AC-3 or MPEG audio), and re-encoding it with LAME at 128k introduces a second generation of lossy compression. If preserving audio fidelity is critical, increase the output bitrate to 192k or 320k using the -b:a flag in the FFmpeg command to minimize the generational loss.
J2B is a proprietary audio container format from the Jazz Jackrabbit 2 game, originally designed to wrap ASYLUM Music Format module data with a simple file header. It is not a general-purpose audio format and most mainstream media players (VLC, Windows Media Player, etc.) will not recognize it. The output from this tool is intended for use within Jazz Jackrabbit 2 or compatible game engines and level editors that explicitly support the J2B format.
Metadata preservation is very limited in this conversion. MOD files can carry recording timestamps and camera metadata in their MPEG-PS headers, but these are not transferred into the J2B container, which has only a minimal fixed header structure with no standard metadata fields. Effectively, all camcorder-specific metadata is lost in the output file.
Replace the 128k value in the -b:a flag with your desired bitrate. For example, use -b:a 192k or -b:a 320k for higher quality MP3 output. The J2B format supports bitrate options of 64k, 128k, 192k, 256k, and 320k. Since the audio is being re-encoded from a lossy MOD source, choosing 192k or higher is recommended if the output will be used in a quality-sensitive context.
Yes, you can adapt the command for batch processing in a shell script. On Linux or macOS, use a loop such as: for f in *.mod; do ffmpeg -i "$f" -vn -c:a libmp3lame -b:a 128k "${f%.mod}.j2b"; done. On Windows Command Prompt, use a for loop: for %f in (*.mod) do ffmpeg -i "%f" -vn -c:a libmp3lame -b:a 128k "%~nf.j2b". The browser-based tool processes one file at a time, so the command-line approach is preferable for large collections.
The J2B format's FFmpeg implementation only supports libmp3lame as its audio codec, because the format's practical use within Jazz Jackrabbit 2 and its toolchain is tied to MP3-encoded audio wrapped in the ASYLUM header structure. Codecs like AAC, Opus, or Vorbis are not valid options for J2B output, which is why the -c:a libmp3lame flag is hardcoded for this conversion rather than defaulting to a more modern codec.

Technical Notes

MOD files produced by JVC and Panasonic camcorders use a modified MPEG Program Stream container — not to be confused with the tracker music MOD format — and typically encode audio as Dolby AC-3 or standard MPEG Layer II audio alongside MPEG-2 video. FFmpeg handles MOD demuxing through its MPEG-PS parser, which reliably identifies and separates the audio elementary stream. The -vn flag ensures the MPEG-2 video stream is completely ignored and not decoded, which keeps processing fast. The audio is then decoded from its original codec and re-encoded as MP3 via libmp3lame before being written into the J2B container. Because J2B is an extremely niche game-specific format with no standard metadata schema, fields like track title, artist, or recording date cannot be embedded in the output. Users should also be aware that while FFmpeg can write J2B files, playback support outside of Jazz Jackrabbit 2 and its associated tools is essentially nonexistent — verifying output compatibility in the target game engine before processing large batches is strongly recommended.

Related Tools