Extract Audio from DV to J2B — Free Online Tool

Extract the PCM audio track from a DV camcorder file and convert it to J2B format using the LAME MP3 encoder. This tool strips the dvvideo stream entirely and re-encodes the 16-bit PCM audio as MP3 at 128kbps, producing a J2B file compatible with the Jazz Jackrabbit 2 game audio system.

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 (pcm_s16le — 16-bit signed little-endian) alongside the dvvideo stream in an intra-frame compressed container originally designed for tape-based camcorders. During this conversion, the dvvideo stream is completely discarded using the -vn flag — no video decoding or encoding occurs. The raw PCM audio is then decoded from the DV container and re-encoded using the LAME MP3 encoder (libmp3lame) at 128kbps into the J2B container. J2B is a thin wrapper format used by Jazz Jackrabbit 2, built on the ASYLUM Music Format, but when carrying MP3 audio via FFmpeg it is treated as a straightforward MP3-bearing container. Because DV audio is already uncompressed, the only quality loss in this pipeline comes from the PCM-to-MP3 transcoding step itself.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg command-line tool, which is the underlying engine used by this browser-based tool via FFmpeg.wasm (WebAssembly). The same binary command runs identically on your desktop for files over 1GB.
-i input.dv Specifies the input DV file. FFmpeg reads the DV container, which holds both the dvvideo intra-frame compressed video stream and the pcm_s16le uncompressed audio stream recorded by the camcorder.
-vn Disables video output entirely, telling FFmpeg to skip the dvvideo stream without decoding it. This is essential here because J2B is an audio-only format and no video processing is needed or desired.
-c:a libmp3lame Selects the LAME MP3 encoder to transcode the DV file's uncompressed PCM audio into MP3, which is the audio codec required by the J2B format as handled by FFmpeg.
-b:a 128k Sets the MP3 audio bitrate to 128kbps. This is the default quality setting for J2B output in this tool; you can increase it to 192k, 256k, or 320k in the FFmpeg command if you need to better preserve the quality of the original DV PCM audio source.
output.j2b Specifies the output filename with the .j2b extension, which tells FFmpeg to write the encoded MP3 audio into a J2B container — the Jazz Jackrabbit 2 audio format used by the game engine for music and sound playback.

Common Use Cases

  • Extracting dialogue or ambient sound recorded on a DV camcorder to use as game audio assets in a Jazz Jackrabbit 2 mod or custom level pack
  • Converting a DV tape capture of a live musical performance into J2B format for integration into a JJ2 fan-made episode's soundtrack
  • Pulling the clean PCM audio from a DV interview recording and compressing it to a smaller MP3-based J2B file for archival or distribution in a retro-gaming context
  • Repurposing DV-format field recordings — such as nature sounds or crowd ambience — as background music or sound effects for a Jazz Jackrabbit 2 custom campaign
  • Testing how DV-sourced audio holds up after MP3 compression at 128kbps before committing to a higher or lower bitrate for a batch of JJ2 audio assets
  • Stripping the video from a DV camcorder clip to produce a lightweight J2B audio file that can be embedded in a JJ2 level without carrying unnecessary video data

Frequently Asked Questions

Yes, there will be some quality loss. DV stores audio as uncompressed 16-bit PCM at 48kHz or 32kHz, which is lossless in terms of the audio signal. Converting to MP3 at 128kbps (the default) introduces lossy compression artifacts, particularly in high-frequency content. For most speech or camcorder-recorded audio, 128kbps MP3 sounds very close to the original, but if you need higher fidelity you can increase the bitrate to 192k or 320k using the -b:a flag.
Correct — J2B is a niche audio container format native to the Jazz Jackrabbit 2 game engine, based on the ASYLUM Music Format with a simple file header. FFmpeg supports writing J2B output, and in this pipeline it wraps MP3 audio encoded by the LAME encoder. This conversion is specifically useful for JJ2 modders and level designers who need to bring external DV-sourced audio into the game's audio system.
No. The -vn flag explicitly instructs FFmpeg to ignore and discard the dvvideo stream entirely. The DV video is never decoded, which also makes this conversion faster than a full video transcode since only the audio track is processed. The resulting J2B file contains only the MP3-encoded audio with no video data whatsoever.
Replace the value after -b:a in the command. For example, changing -b:a 128k to -b:a 320k will encode the MP3 at 320kbps, the highest quality option available for the LAME encoder and the closest to the original DV PCM audio. Supported options are 64k, 128k, 192k, 256k, and 320k. Higher bitrates produce larger files but preserve more of the original audio detail from the DV source.
Yes. On Linux or macOS you can use a shell loop: for f in *.dv; do ffmpeg -i "$f" -vn -c:a libmp3lame -b:a 128k "${f%.dv}.j2b"; done. On Windows Command Prompt, use: for %f in (*.dv) do ffmpeg -i "%f" -vn -c:a libmp3lame -b:a 128k "%~nf.j2b". This processes each DV file individually, extracting and re-encoding the audio to a matching J2B file. The in-browser tool handles one file at a time, so the command-line approach is recommended for batch workflows.
No. DV containers can store metadata such as recording timestamps and device information, but J2B is a minimal game audio format that does not have a metadata structure capable of carrying this information. FFmpeg will silently drop any DV metadata during the conversion. If preserving recording metadata is important, you should extract it separately before converting using a tool like MediaInfo or exiftool.

Technical Notes

DV audio is recorded at either 48kHz (2-channel) or 32kHz (4-channel) as 16-bit PCM, making it a high-quality uncompressed source. When FFmpeg reads the DV container, it decodes the pcm_s16le stream directly without any intermediate lossy step before handing it to the LAME encoder. The J2B format was designed around the ASYLUM module music system of the Jazz Jackrabbit 2 era, so its use with MP3 audio via FFmpeg is unconventional but technically functional for JJ2 modding purposes. One known limitation is that J2B's game-engine context means playback outside of JJ2 or FFmpeg itself may not work in standard media players. The default 128kbps bitrate is a reasonable balance for the format's game-audio use case, but given that DV source audio is uncompressed and often of broadcast quality, bumping to 192kbps or higher is advisable if the audio content is music or high-fidelity sound design rather than casual camcorder speech. Stereo channel mapping from DV is preserved through the LAME encoder into the MP3 output.

Related Tools