Convert DV to J2B — Free Online Tool

Convert DV camcorder footage to J2B audio format, extracting the PCM 16-bit stereo audio track from your DV file and re-encoding it as MP3 using the LAME encoder. This is a niche but precise tool for pulling legacy camcorder audio into a format compatible with Jazz Jackrabbit 2 game audio pipelines.

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

DV files store audio as uncompressed PCM 16-bit little-endian (pcm_s16le) alongside intra-frame compressed dvvideo. Since J2B is a pure audio format with no video container, the video stream is discarded entirely during this conversion. The raw PCM audio is decoded from the DV stream and then re-encoded using the libmp3lame encoder at 128 kbps by default, wrapped in the J2B container structure — an ASYLUM Music Format file with a Jazz Jackrabbit 2-specific header. This is a lossy-to-lossy transcode: DV's PCM audio is lossless at the source, but the output MP3 encoding introduces compression artifacts.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg tool, which handles all demuxing, decoding, encoding, and muxing in this conversion pipeline entirely on your local machine or within the WebAssembly runtime in your browser.
-i input.dv Specifies the input DV file, which contains a dvvideo stream and a pcm_s16le audio stream typical of camcorder recordings. FFmpeg will demux both streams but only the audio is used in this conversion.
-c:a libmp3lame Selects the LAME MP3 encoder to re-encode the PCM audio extracted from the DV file. libmp3lame is the standard encoder for producing MP3-based audio, which is the codec embedded inside the J2B container.
-b:a 128k Sets the MP3 audio bitrate to 128 kilobits per second. This is the default quality level for the J2B output — a reasonable balance between file size and audio fidelity for game audio use. Increase to 320k for higher quality or decrease to 64k for smaller files.
output.j2b Defines the output filename and triggers FFmpeg to use the J2B muxer, which wraps the encoded MP3 audio in the Jazz Jackrabbit 2-specific ASYLUM Music Format header structure required by the game engine.

Common Use Cases

  • Extracting spoken dialogue or ambient sound recorded on a DV camcorder to use as custom audio in a Jazz Jackrabbit 2 mod or fan-made level
  • Converting a DV-recorded musical performance or foley sound into a J2B file for use as in-game background music in JJ2 community maps
  • Archiving the audio track from old DV tapes into a J2B format for a retro game preservation or modding project
  • Pulling narration or voice-over recorded on a DV camcorder into J2B format for use in a custom JJ2 cutscene or level intro
  • Testing how real-world recorded audio from DV footage sounds when compressed at various MP3 bitrates within the J2B container before finalizing game assets

Frequently Asked Questions

The video stream is completely dropped during this conversion. J2B is a pure audio format designed for the Jazz Jackrabbit 2 game engine and has no capacity to store video data. Only the audio track — originally stored as uncompressed PCM 16-bit stereo in the DV container — is extracted, re-encoded as MP3, and placed into the J2B file.
Yes, there will be some quality loss. DV stores audio as uncompressed PCM 16-bit at either 48 kHz or 32 kHz, which is lossless. The J2B format uses MP3 encoding via libmp3lame, which is lossy. At the default 128 kbps bitrate, the difference is subtle for most listeners, but artifacts may be noticeable on high-frequency content like cymbals or sibilants. If quality is a priority, use the FFmpeg command locally and increase the bitrate to 256k or 320k.
Replace the value after '-b:a' in the command to adjust the MP3 bitrate. For example, use '-b:a 320k' for the highest standard MP3 quality, or '-b:a 64k' for a smaller file size with more compression. The supported options for the J2B output in this context are 64k, 128k, 192k, 256k, and 320k. Higher bitrates produce better audio fidelity but result in larger output files.
Yes, on Linux or macOS you can use a shell loop: 'for f in *.dv; do ffmpeg -i "$f" -c:a libmp3lame -b:a 128k "${f%.dv}.j2b"; done'. On Windows Command Prompt, use: 'for %f in (*.dv) do ffmpeg -i "%f" -c:a libmp3lame -b:a 128k "%~nf.j2b"'. The in-browser tool processes one file at a time, so the FFmpeg command is the best approach for bulk conversions.
No, J2B is a proprietary game audio format specific to Jazz Jackrabbit 2, not a general-purpose audio format. Most standard media players will not open .j2b files natively. The format is intended for use within the JJ2 game engine or compatible modding tools. If you simply want the audio from your DV file in a widely playable format, consider converting to MP3 or AAC instead.
DV audio can be stored at either 48 kHz (the most common setting for camcorders using 2-channel stereo) or 32 kHz (used in 4-channel mode). FFmpeg will read whichever sample rate is in your specific DV file and pass it through the libmp3lame encoder, which supports both rates. The sample rate is preserved in the MP3 stream embedded in the J2B output, so no resampling occurs unless you explicitly add a '-ar' flag to the command.

Technical Notes

DV is a broadcast-grade intra-frame format where each video frame is independently compressed using DCT, but its audio is notably stored as raw uncompressed PCM — making the audio portion of a DV file actually higher fidelity than its video compression might suggest. When converting to J2B, FFmpeg ignores the dvvideo stream entirely and only decodes the pcm_s16le audio stream before handing it to the libmp3lame encoder. J2B files are structurally an ASYLUM Music Format payload with a fixed Jazz Jackrabbit 2-specific 4-byte header prepended; FFmpeg's J2B muxer handles this wrapping automatically. No metadata from the DV file (such as recording date, camera model, or tape timecode) is carried over to the J2B output, as the J2B format has no metadata fields. If your DV file contains multiple audio channels (some DV camcorders record 4-channel 32kHz audio), FFmpeg will default to the first two channels; use '-ac 2' explicitly if you encounter channel mapping issues. File size will decrease significantly compared to the DV source, as DV audio at 48kHz stereo PCM runs at roughly 1.5 Mbps, while the J2B-wrapped MP3 at 128k uses only about 128 kbps.

Related Tools