Convert M4V to MPEG — Free Online Tool
Convert M4V files (Apple's iTunes-compatible MPEG-4 container using H.264 or H.265 video) to MPEG format using MPEG-2 video and MP2 audio — the broadcast and DVD-era standard. Useful for feeding Apple video content into legacy editing systems, broadcast workflows, and hardware players that predate modern codec support.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your M4V 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
M4V files typically carry H.264 (or H.265) video and AAC audio inside Apple's variant of the MPEG-4 container. MPEG files, by contrast, use MPEG-2 video and MP2 audio — a fundamentally different codec family. This means the conversion is a full re-encode: the H.264 video stream is decoded frame-by-frame and re-encoded using the mpeg2video encoder, and the AAC audio track is decoded and re-encoded as MP2. There is no stream-copy shortcut here — every frame is touched. The result is a program stream (.mpeg) compatible with DVD authoring tools, broadcast ingest systems, and legacy hardware players. Any Apple DRM (FairPlay) on the M4V will block conversion, so only DRM-free M4V files can be processed. Subtitles, chapters, and secondary audio tracks present in the M4V are dropped, as the MPEG program stream format does not support these features.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg command-line tool. In this browser-based tool, FFmpeg runs locally via WebAssembly (FFmpeg.wasm) — no data leaves your device. |
-i input.m4v
|
Specifies the input file — an M4V file, which is Apple's MPEG-4 container variant carrying H.264 or H.265 video and AAC audio. FFmpeg will decode both streams fully before re-encoding, since neither codec is compatible with the target MPEG format. |
-c:v mpeg2video
|
Instructs FFmpeg to re-encode the video stream using the MPEG-2 video encoder. This replaces the H.264 video from the M4V with an MPEG-2 encoded stream, which is required for the MPEG program stream output format and for compatibility with DVD authoring tools and legacy players. |
-c:a mp2
|
Re-encodes the audio using the MPEG Audio Layer II (MP2) codec, replacing the AAC audio track from the M4V. MP2 is the standard audio codec for MPEG-2 program streams and DVD video, and is supported by virtually all legacy hardware and broadcast systems that accept MPEG files. |
-q:v 2
|
Sets the MPEG-2 video quality using the Variable Quantizer scale, where 1 is the highest quality and 31 is the lowest. A value of 2 produces near-maximum quality MPEG-2 output with a high bitrate, minimizing visible degradation from the re-encode of the original H.264 content. |
-b:a 192k
|
Sets the MP2 audio output bitrate to 192 kilobits per second, which is the standard bitrate for DVD-compatible MP2 audio and provides good stereo fidelity. This is a step up from typical AAC bitrates in M4V files but appropriate for the MP2 codec, which is less efficient than AAC. |
output.mpeg
|
Specifies the output filename with the .mpeg extension, which causes FFmpeg to write an MPEG-2 program stream. This container format carries the mpeg2video and MP2 streams in a structure compatible with DVD authoring tools, legacy media players, and broadcast ingest systems. |
Common Use Cases
- Importing iTunes-purchased (DRM-free) M4V movie extras or bonus content into legacy DVD authoring software like DVD Studio Pro or DVDStyler, which expects MPEG-2 program streams
- Feeding Apple-originated video content into broadcast ingest systems or linear playout servers that require MPEG-2 elementary or program streams
- Archiving M4V content to optical media using older Blu-ray or DVD burning tools that only accept MPEG-2 encoded files
- Playing back M4V content on standalone MPEG players, older set-top boxes, or hardware media players that lack H.264 decoding capability
- Supplying M4V-sourced video to video production switchers or hardware encoders in institutional or church AV setups that accept only MPEG-2 input
- Converting tutorial or training videos downloaded from iTunes to MPEG-2 for integration into older e-learning platforms with strict legacy codec requirements
Frequently Asked Questions
No — both subtitles and chapter markers will be lost. The MPEG program stream format does not have a standardized container-level mechanism for storing subtitles or chapter metadata the way M4V does. If your M4V contains iTunes chapter markers or embedded subtitle tracks, they will be silently dropped during the re-encode. If subtitles are essential, you would need to burn them into the video frames as a separate step before or during conversion.
No. M4V files protected with Apple's FairPlay DRM cannot be decoded by FFmpeg or any standard tool, because the decryption key is tied to an authorized Apple device or application. FFmpeg will either produce an error or output a corrupted file. Only DRM-free M4V files — such as those marked 'iTunes Extras', home videos exported from iMovie, or purchased content that Apple has made DRM-free — can be converted.
MPEG-2 files are typically significantly larger than H.264 M4V files at comparable visual quality, because MPEG-2 is a less efficient codec. At the default quality setting of -q:v 2 (near-maximum quality), you can expect the output MPEG file to be roughly 2x to 4x the size of the source M4V, depending on content complexity and original bitrate. If file size is a concern, increasing the -q:v value (e.g., to 5 or 8) will reduce bitrate and file size at the cost of visible quality reduction.
Video quality is controlled by the -q:v flag, which accepts integer values from 1 (best quality, largest file) to 31 (lowest quality, smallest file). The default used here is 2, which is near-maximum MPEG-2 quality. For audio, -b:a 192k sets the MP2 audio bitrate to 192 kbps, which is the standard for DVD-compatible audio; you can raise it to 256k or 320k for higher fidelity, or lower it to 128k to reduce file size. For example: ffmpeg -i input.m4v -c:v mpeg2video -c:a mp2 -q:v 5 -b:a 128k output.mpeg
Yes. On Linux or macOS, you can loop over files in a directory using a shell one-liner: for f in *.m4v; do ffmpeg -i "$f" -c:v mpeg2video -c:a mp2 -q:v 2 -b:a 192k "${f%.m4v}.mpeg"; done. On Windows Command Prompt, use: for %f in (*.m4v) do ffmpeg -i "%f" -c:v mpeg2video -c:a mp2 -q:v 2 -b:a 192k "%~nf.mpeg". This is especially useful for the desktop FFmpeg command shown on this page when you have files larger than 1GB that exceed the browser tool's limit.
Partially. The MPEG-2 video and MP2 audio produced by this command are the correct codec types for DVD video, but DVD-compliant MPEG-2 requires specific constraints: video must be 720x480 (NTSC) or 720x576 (PAL), the bitrate must stay within DVD spec limits, and the stream must be structured as a VOB-compatible program stream. The command as-is does not enforce these constraints, so further processing with a DVD authoring tool (like DVDStyler or HandBrake's DVD output) may be needed to ensure full hardware DVD player compatibility.
Technical Notes
Converting M4V to MPEG involves a generational step backward in codec efficiency: H.264 (the dominant M4V video codec) achieves equivalent visual quality at roughly half the bitrate of MPEG-2. The mpeg2video encoder in FFmpeg uses the Variable Quantizer quality scale (-q:v), where lower numbers mean better quality and higher bitrates — unlike the CRF scale used by libx264. The MP2 audio codec produced in the output is a joint stereo MPEG Audio Layer II stream, which is the standard for MPEG program streams and DVD video audio. AAC (used in M4V) is not part of the MPEG-1/2 specification and is therefore not used here. M4V-specific metadata — including iTunes artwork, content ratings, episode metadata, and Apple-specific atoms — is entirely discarded, as the MPEG program stream format has no equivalent metadata container. If the source M4V contains multiple audio tracks (e.g., a director's commentary track), only the first (default) audio track will be encoded into the output, since MPEG program streams do not support multiple audio track multiplexing in the same way. The output .mpeg file uses the MPEG-2 program stream wrapper, which is the standard for DVD and broadcast delivery.