Convert MPEG to MOD — Free Online Tool

Convert MPEG files (MPEG-1/MPEG-2 video) to MOD format, the camcorder container used by JVC and Panasonic devices, re-encoding the video stream with H.264 (libx264) for better compression while preserving the MPEG-PS container structure MOD is based on. This is useful for ingesting legacy broadcast or DVD-compatible MPEG footage into camcorder-oriented workflows.

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

MPEG files typically carry MPEG-1 or MPEG-2 video alongside MP2 audio inside an MPEG program stream container. MOD, used by JVC and Panasonic camcorders, is itself a modified MPEG-PS container but conventionally stores H.264 video with AAC audio rather than raw MPEG-2. Because the video codec changes from MPEG-2 to H.264 (libx264), a full re-encode of the video stream is required — this is not a simple remux. The audio is similarly transcoded from MP2 to AAC. The CRF-based encoding used for the output gives the H.264 encoder a quality target rather than a fixed bitrate, typically producing a smaller file than the original MPEG at equivalent perceptual quality.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg tool, the open-source multimedia processing engine that powers this conversion both in the browser (via FFmpeg.wasm) and on the desktop command line.
-i input.mpeg Specifies the input file — an MPEG container typically holding MPEG-1 or MPEG-2 video and MP2 audio in a program stream structure. FFmpeg auto-detects the stream types from this file.
-c:v libx264 Sets the video encoder to libx264, re-encoding the MPEG-2 (or MPEG-1) video stream into H.264. This is a full transcode, not a stream copy, because MOD files use H.264 rather than MPEG-2 video.
-c:a aac Transcodes the audio from the MPEG source's MP2 track into AAC, the audio codec conventionally used in MOD camcorder files and a more modern and efficient format than MP2.
-crf 23 Sets the Constant Rate Factor for the H.264 encoder to 23, libx264's default quality level. Lower values (e.g., 18) produce higher quality and larger files; higher values (e.g., 28) produce smaller files with more compression artifacts. This controls the visual quality of the MOD output relative to the decoded MPEG-2 source.
-b:a 128k Sets the AAC audio bitrate to 128 kilobits per second, which is generally considered sufficient for transparent stereo audio and is lower than the typical 192k MP2 bitrate found in broadcast MPEG sources.
output.mod The output filename with the .mod extension, which tells FFmpeg to write the result in the MOD container format — a modified MPEG-PS structure used by JVC and Panasonic camcorders.

Common Use Cases

  • Importing legacy broadcast MPEG recordings into a JVC or Panasonic camcorder editing workflow that expects MOD-formatted files
  • Re-encoding old DVD-ripped MPEG-2 content into the more compression-efficient H.264 codec while maintaining the MPEG-PS container structure expected by MOD-aware software
  • Converting MPEG footage from a legacy satellite or cable capture card into MOD so it can be organized alongside native camcorder recordings in camcorder management software
  • Reducing file size of large MPEG-2 video archives by re-encoding to H.264 inside the MOD wrapper, taking advantage of H.264's significantly better compression ratio over MPEG-2
  • Preparing MPEG source footage for editing on camcorder companion software (such as older JVC Everio MediaBrowser) that reads MOD files natively

Frequently Asked Questions

Yes, some generation loss is inevitable because the MPEG-2 video stream must be fully decoded and re-encoded as H.264 — there is no way to copy the stream directly since the codecs are different. However, H.264 at CRF 23 (the default used here) is typically perceptually close to the original MPEG-2 quality while producing a noticeably smaller file. If you need to preserve as much quality as possible, you can lower the CRF value (e.g., -crf 18) in the FFmpeg command at the cost of a larger output file.
MPEG files commonly carry MP2 (MPEG-1 Audio Layer II) audio, which was standard for broadcast and DVD applications. MOD files, following camcorder conventions, are expected to use AAC audio instead. FFmpeg transcodes the MP2 stream to AAC at 128k bitrate by default during this conversion. AAC at 128k is generally considered transparent for most audio content, meaning the difference from the original MP2 track is unlikely to be audible.
The video quality is controlled by the -crf flag, which accepts values from 0 (lossless) to 51 (worst quality), with 23 as the default. To improve quality, lower the number — for example, replacing '-crf 23' with '-crf 18' will produce a higher-quality H.264 output at the expense of a larger file size. For archival conversions from MPEG-2 source material, a CRF between 18 and 20 is a common choice. You can also change the audio bitrate by modifying the -b:a value, for example to '-b:a 192k' for higher-fidelity AAC output.
Yes. On Linux or macOS you can use a shell loop: 'for f in *.mpeg; do ffmpeg -i "$f" -c:v libx264 -c:a aac -crf 23 -b:a 128k "${f%.mpeg}.mod"; done'. On Windows Command Prompt, use 'for %f in (*.mpeg) do ffmpeg -i "%f" -c:v libx264 -c:a aac -crf 23 -b:a 128k "%~nf.mod"'. The browser-based tool processes one file at a time, so the FFmpeg command copied from this page is the recommended approach for bulk conversions.
MPEG program streams carry limited metadata compared to modern containers, and MOD files similarly have minimal metadata support. FFmpeg will attempt to copy any global metadata tags present in the MPEG source, but format-specific information such as broadcast timestamps embedded in MPEG-2 program stream headers will not be preserved in the MOD output. If metadata fidelity is important, you should inspect the source file with 'ffprobe input.mpeg' before converting to understand what metadata exists.
H.264 (libx264) is a significantly more efficient codec than MPEG-2, which was standardized in the early 1990s. At equivalent perceptual quality, H.264 typically requires 40–60% less bitrate than MPEG-2. So even though both the source MPEG and the output MOD use lossy compression, the H.264 re-encode can deliver comparable image quality at a substantially lower file size. This efficiency gain is one of the practical reasons to perform this conversion for archival or storage purposes.

Technical Notes

MPEG (specifically MPEG-2) uses the program stream (PS) container, the same underlying structure that MOD is derived from — but the two formats diverge significantly at the codec level. The source MPEG-2 video stream cannot be stream-copied into MOD because MOD conventionally expects H.264 video, requiring a full transcode via libx264. The default CRF 23 setting in this command is libx264's own default and represents a good general-purpose quality level, but users converting from high-bitrate broadcast MPEG-2 sources (e.g., 15–50 Mbps MPEG-2) may want to target a lower CRF to prevent any perceived quality loss. Neither MPEG nor MOD supports transparency, embedded subtitles, chapters, or multiple audio tracks, so none of these features are lost in conversion — they simply were never present. The MOD format lacks widespread software support outside of JVC/Panasonic camcorder ecosystems, so if your goal is general-purpose H.264 video rather than camcorder workflow compatibility, converting to MP4 instead of MOD would be more practical.

Related Tools