Initializing... drag & drop files here
Supports: XCF
scene_01.xcf through scene_30.xcf) to assemble a longer video. Flatten layered projects in GIMP first (Image → Flatten Image, then re-save the .xcf) — only one layer of a multi-layer XCF is encoded. Batch is supported — drop in an entire folder of XCFs and they process together.XCF is GIMP's native layered editing format — introduced with GIMP 0.99.16 on December 15, 1997 and now at version 25 — designed to store the complete editing state of an image (layers, channels, masks, paths, text, layer groups, effects). MPEG-2 (ISO/IEC 13818-2, first edition approved July 1996) is the codec baked into DVD-Video, DVB / ATSC broadcast television, SVCD discs, and a long tail of legacy hardware. XCF → MPEG-2 is the bridge from a layered design file to a flattened, playable video stream that drops into DVD authoring tools, broadcast workflows, and pre-2015 signage hardware without further re-encoding. Because XCF is GIMP-specific and not an interchange format, you almost always need this conversion before any non-GIMP playback target sees the artwork.
| Property | XCF | MPEG-2 |
|---|---|---|
| Media type | Layered still image (editing format) | Video stream / container |
| Introduced | GIMP 0.99.16, Dec 15 1997 | ISO/IEC 13818-2, first edition July 1996 |
| Owner / Spec | GIMP project (open spec, evolving) | ISO/IEC 13818-2 (also ITU-T H.262) |
| Layers, masks, paths | Yes — multi-layer, blend modes, vector paths | No — flattened frames only |
| Audio support | No | Yes — MP2, AC-3, MP3, AAC, Opus |
| Frame count | 1 composition per file | 1 → millions of frames |
| DVD-Video compatible | No | Yes — required codec at 720×480 / 720×576 |
| Browser playback | None — opens only in GIMP / Krita | Limited (legacy embeds; not native HTML5) |
| Typical size | 5-200 MB per layered design | 4-9.8 Mbps for DVD; up to 80 Mbps for HD |
| Best fit | GIMP editing, design iteration | DVD authoring, broadcast, kiosks, archival |
| Disc / Use case | Resolution | Video codec | Audio codec |
|---|---|---|---|
| DVD-Video NTSC (US, Canada, Japan) | 720×480 | MPEG-2 | AC-3 or MP2 |
| DVD-Video PAL (Europe, Australia, most of Asia) | 720×576 | MPEG-2 | AC-3 or MP2 |
| SVCD NTSC | 480×480 | MPEG-2 | MP2 |
| SVCD PAL | 480×576 | MPEG-2 | MP2 |
| VCD NTSC | 352×240 | MPEG-1 | MP2 |
| VCD PAL | 352×288 | MPEG-1 | MP2 |
| Legacy kiosk / IFE / signage | 480P or 640×480 | MPEG-2 | MP2 |
| Modern non-DVD MPEG-2 | 720P / 1080P | MPEG-2 | AAC or MP2 |
Only one layer of it reaches the video. A multi-layer XCF presents to the decoder as a multi-page image — one page per layer — and the converter takes a single page rather than compositing the stack the way GIMP's canvas does. The frame you get is therefore missing the other layers' content, and wherever they would have covered the canvas the pixels arrive transparent, which the MPEG-2 encoder then fills with your background colour (MPEG-2 has no alpha channel). Blend modes, opacity, and layer masks that depend on layers interacting have nothing to interact with. Do the merge in GIMP before uploading and none of this applies.
If you select MPEG-2 video plus a DVD-spec resolution (640×480 VGA approximating NTSC 720×480, or 576P approximating PAL 720×576) plus MP2 or AC-3 audio, the output meets DVD-Video requirements and authoring tools (DVDStyler, ImgBurn, Wondershare DVD Creator, Apple DVD Studio Pro on older Macs) will accept the file directly. Authoring still adds the VIDEO_TS / AUDIO_TS folder structure and the IFO / BUP files — this converter produces the elementary MPEG-2 stream, not the burned ISO. For exact 720×480 / 720×576 pixel dimensions, use Width × Height to enter the values directly.
Pick NTSC (720×480, 29.97 fps) if the disc will play in North America, Japan, South Korea, the Philippines, or most of South America. Pick PAL (720×576, 25 fps) for Europe, the UK, Australia, India, China, and most of Africa and Asia. Many modern DVD players are region-free and dual-standard, but standalone players from before ~2010 are often locked to one — match the disc to the destination's broadcast region.
The DVD-Video specification mandates MPEG-2 video at a maximum of 9.8 Mbps for the combined video + audio + subtitle payload — DVD authoring tools reject H.264 or H.265 inside an MPG / MPEG-2 container. If you don't need a playable disc and just want MPEG-2 for legacy hardware reasons (signage, IFE, broadcast), the alternative codecs (MPEG-1 for VCD, MPEG-4 / Xvid / DivX for older AVI-era players, H.264 / H.265 for modern software players that happen to handle MPEG containers) are all in the Video Codec dropdown.
Yes, if it has more than one layer. Open the project, set layer visibility, opacity, and text rasterization the way you want them, then choose Image → Flatten Image and re-save the .xcf — that single-layer file encodes exactly as it looks on your canvas. Exporting a flattened PNG from GIMP and running PNG to MPEG-2 is the same thing by another route. A project that is already one layer needs no preparation at all.
Output duration = number of XCFs × image duration. 30 XCF panels at 5 seconds each = 150 seconds (2 minutes 30 seconds), which fits comfortably on a single-layer DVD-R alongside menus and chapter art. 600 GAP animation frames at 1/24 second = a 25-second clip. The duration setting is per-image, applied uniformly across the batch.
Each XCF frame scales to fit inside the chosen output resolution while preserving its source aspect ratio. Empty space is filled with the background color (white is the default; black is the DVD-safe pick, or choose from the named colors including navy, crimson, teal, gold, lime, magenta). For consistent results, set every XCF to the same canvas size in GIMP (Image → Canvas Size) before uploading.
DVD-spec MPEG-2 caps at 720×480 (NTSC) or 720×576 (PAL) — roughly 0.4 megapixels per frame. A typical XCF canvas at 1920×1080, 4K, or higher print resolution is being downscaled by 5-30×, then re-encoded with mid-1990s motion-compensated DCT compression. That's expected and unavoidable for DVD output. For sharper modern playback, output to 1080P or 4K MPEG-2 at a higher quality preset, or use XCF to MP4 at 1080P / 2160P with H.264 or H.265 instead.
Yes — Video Trim sets a start time and duration on the output (seconds or HH:MM:SS.sss), and Image Drop Frames takes every 2nd / 3rd / 4th / up to every 10th XCF from a long sequence to shorten an animation without re-exporting from GIMP. To go the other direction (extract stills back out of an MPEG-2), see MPEG-2 to JPG or MPEG-2 to PNG.