Convert DV to M2TS — Free Online Tool
Convert DV camcorder footage to M2TS (BDAV MPEG-2 Transport Stream), re-encoding the native DV intra-frame video into H.264 using libx264 and transcoding the uncompressed PCM audio to AAC — producing a compact, Blu-ray-compatible file ready for AVCHD playback or archival.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your DV file here
or click to browse
Free — no uploads, no signups. Your files never leave your browser.
Settings
Note: Browser-based encoding uses approximate quality targets. For precise CRF compression, copy the FFmpeg command above and run it on your desktop.
Estimated output:
Conversion Complete!
DownloadHow It Works
DV files store video as a sequence of individually compressed frames using intra-frame DCT compression at a fixed bitrate (typically 25 Mbps for DV25), with audio stored as uncompressed 16-bit PCM at 48 kHz. During this conversion, FFmpeg fully decodes every DV video frame and re-encodes them using the libx264 H.264 encoder, which applies inter-frame compression — meaning it can reference nearby frames to dramatically reduce file size compared to DV's purely intra-frame approach. The PCM audio stream is simultaneously transcoded to AAC at 128 kbps. The resulting streams are then muxed into an M2TS container, which uses the MPEG-2 Transport Stream format with BDAV extensions, making the output compatible with Blu-ray players, AVCHD-capable devices, and media servers that recognize the .m2ts format.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg binary, the open-source multimedia processing engine that handles decoding the DV input, re-encoding to H.264 and AAC, and muxing into the M2TS container. |
-i input.dv
|
Specifies the input DV file. FFmpeg automatically detects the DV container and selects the appropriate dvvideo decoder for the video stream and pcm_s16le decoder for the uncompressed 16-bit PCM audio. |
-c:v libx264
|
Encodes the decoded DV video frames using the libx264 H.264 encoder, switching from DV's intra-frame-only compression to H.264's inter-frame prediction — the primary reason M2TS files are much smaller than the DV source. |
-c:a aac
|
Transcodes the DV file's uncompressed PCM audio to AAC using FFmpeg's built-in AAC encoder, producing a compressed audio stream compatible with Blu-ray players, AVCHD devices, and the M2TS container specification. |
-crf 23
|
Sets the H.264 Constant Rate Factor to 23, the libx264 default, which produces a good balance of visual quality and file size for standard-definition DV source material. Lowering this value (e.g., to 15 or 18) increases quality and file size, which is advisable for archival-quality conversions of DV footage. |
-b:a 128k
|
Sets the AAC audio output bitrate to 128 kbps, which is generally sufficient to faithfully represent the 48 kHz stereo audio captured from DV camcorders. Increase to 192k or 256k if pristine audio fidelity is a priority. |
output.m2ts
|
Specifies the output filename and triggers FFmpeg to use the M2TS (BDAV MPEG-2 Transport Stream) muxer, wrapping the H.264 video and AAC audio into the Blu-ray-compatible .m2ts container format. |
Common Use Cases
- Archive old MiniDV camcorder tapes that have been captured as .dv files into a smaller, Blu-ray-compatible M2TS format for long-term storage without the massive file sizes of raw DV
- Prepare DV footage for authoring onto AVCHD-compatible Blu-ray discs or USB drives playable on standalone Blu-ray players
- Import legacy DV camcorder footage into media server software like Plex or Jellyfin, which handles M2TS/H.264 natively but may struggle with raw DV streams
- Convert DV news or broadcast footage archives into M2TS for integration into modern broadcast or post-production workflows that expect transport stream containers
- Reduce the storage footprint of captured DV footage — a 1-hour DV file at ~13 GB can be converted to M2TS at a fraction of the size while retaining broadcast-quality appearance at lower CRF values
- Prepare DV interview or documentary footage for delivery to clients or editors who require AVCHD-style M2TS files compatible with Sony or Panasonic camera-native workflows
Frequently Asked Questions
Yes, this conversion involves a full re-encode and is therefore a lossy process. DV already uses lossy intra-frame DCT compression at a fixed ~25 Mbps, and H.264 will re-compress that footage using inter-frame prediction. At the default CRF 23, most viewers will find the output visually indistinguishable from the DV source for typical camcorder footage, but any pre-existing compression artifacts in the DV can be amplified. For archival or broadcast work, using a lower CRF value such as 15 or 18 is recommended to minimize introduced degradation.
DV stores every frame independently at a fixed bitrate of approximately 25 Mbps (for standard DV25), which means even static or low-motion scenes consume the same data rate as fast-moving content. H.264 in the M2TS output uses inter-frame compression, allowing it to encode only the differences between frames, resulting in dramatically lower average bitrates for typical camcorder footage. A one-hour DV file around 13 GB can shrink to 1–3 GB as M2TS at CRF 23 without visually significant quality loss.
M2TS with H.264 video and AAC audio is widely supported by AVCHD-capable Blu-ray players and devices. However, strict Blu-ray disc specification compliance requires specific constraints on bitrate, frame size, and audio codec — standalone disc players may reject files that fall outside those profiles. For AVCHD playback from USB or SD card, compatibility is generally broader. If authoring to a pressed Blu-ray disc, use dedicated Blu-ray authoring software to ensure full specification compliance after generating the M2TS.
DV files can embed timecode and basic metadata, but the M2TS container uses a different metadata model tied to MPEG-2 Transport Stream program map tables, and FFmpeg does not automatically migrate DV timecode into the M2TS output during this conversion. Camera model, recording date, and tape timecode embedded in DV are typically lost. If preserving timecode is critical for your workflow, consider using professional DV capture and archival tools before converting to M2TS.
The -crf flag controls H.264 quality using a Constant Rate Factor scale from 0 (lossless) to 51 (worst quality), with 23 as the default. Lowering the value improves quality at the cost of a larger file — for DV source footage being archived, CRF 15 to 18 is a good balance. You can modify the command directly: for example, replace '-crf 23' with '-crf 18' to produce a higher-quality encode. You can also change the audio bitrate by replacing '-b:a 128k' with '-b:a 192k' or '-b:a 256k' for better AAC fidelity.
Yes. On Linux or macOS, you can use a shell loop: 'for f in *.dv; do ffmpeg -i "$f" -c:v libx264 -c:a aac -crf 23 -b:a 128k "${f%.dv}.m2ts"; done'. On Windows Command Prompt, use: 'for %f in (*.dv) do ffmpeg -i "%f" -c:v libx264 -c:a aac -crf 23 -b:a 128k "%~nf.m2ts"'. Note that H.264 encoding is CPU-intensive, so batch processing many hours of DV footage can take significant time — consider adding '-preset faster' to the command to trade some quality efficiency for encoding speed.
Technical Notes
DV video is strictly intra-frame compressed, meaning each frame is a self-contained DCT-encoded image with no temporal prediction. This makes DV highly edit-friendly but storage-inefficient. Converting to H.264 in M2TS fundamentally changes the compression model to one that exploits temporal redundancy across frames, which is why the size reduction is so dramatic. The default libx264 encode uses the 'medium' preset, balancing encoding speed and compression efficiency — for archival conversion of DV footage, adding '-preset slow' to the command will produce a slightly more efficient encode at the same CRF value. The DV format is locked to either 720x480 (NTSC DV) or 720x576 (PAL DV) resolution; this conversion preserves the source resolution, so the output will not be upscaled to HD despite being in an M2TS container. The M2TS container supports multiple audio tracks and subtitles, features unavailable in the DV format, but this single-stream conversion does not populate those additional tracks. PCM audio from DV is losslessly decoded before being re-encoded to AAC, introducing a small additional generation of lossy audio compression beyond what the DV format itself applied.