Skip to main content
🇪🇸 Español 🇧🇷 Português 🇩🇪 Deutsch 🇫🇷 Français 🇯🇵 日本語 🇮🇹 Italiano 🇮🇩 Bahasa Indonesia 🇹🇷 Türkçe 🇰🇷 한국어 🇵🇱 Polski 🇳🇱 Nederlands
Image Converter Document Converter Video Converter Audio Converter
Tools Formats (201) Guides Pricing · ⚡ 4,99 € API
Log In
Y4M file .y4m
File format · Released 2002 · By MPlayer developers

About Y4M Files

YUV4MPEG2

YUV4MPEG2 (Y4M) is a simple uncompressed video format that stores raw YUV pixel data with a minimal header. It is widely used as an intermediate format for video processing and quality benchmarking where no compression artifacts are acceptable.

Family

Video Files

Extension

.y4m

MIME Type

video/x-raw-yuv

Can Use As

Input Output
● Hex Magic-Bytes Signature (Offset 0x00) Video Files Binary/Text Stream
59 34 4D 46 00 01 00 00 4B 41 49 4A ASCII: Y4MF....KAIJ
WASM + ISO-27001 HYBRID ENGINE
→
📏 Physical Size (CM / MM / Inch → 300 DPI Pixels)
Passport & ID Presets:

📈 Target Minimum File Size (Guaranteed ≥ KB)

Lossless JPEG Q100 + standard COM segment padding for government & exam portals

Tap to choose your file

QUICK INGEST:
Max 25 MB · Free plan · No signup required

Convert to:

Detecting available formats...

Target Max File Size:

Optimize for:
⚡ Instant In-Browser • 100% Private (0s)

Uploading...

⚡ Converted locally in your browser (0ms upload)

READY!

Advertisement
Original preview
Converted preview

🛡️ Verification Audit

  • ✓
  • ✓ sRGB Color Fidelity
  • ✓

Continue with this converted file (0s zero re-upload):

⚡ Install Desktop App for 1-Click Conversions

Batch Conversion Ready!

⚡ Install Desktop App for 1-Click Conversions
Advertisement
🕒 Recent Conversions (60m Session)
The story

HOW Y4M CAME TO BE.

Y4M — YUV4MPEG2 — is a raw uncompressed video container used almost exclusively by codec developers. The format is brutally simple: a one-line ASCII header (`YUV4MPEG2 W1920 H1080 F30:1 Ip A1:1 C420 XCS=100`), then alternating frames prefixed with `FRAME\n` markers, then raw YUV pixel data. No compression, no timecodes beyond the framerate — a video codec’s perfect ground-truth input.

X264, x265, SVT-AV1, every video codec encoder on Earth accepts .y4m as test input. A 10-second 1080p Y4M weighs 600 MB uncompressed, which is the entire point: no prior codec decisions have been baked in, so codec-quality comparisons use Y4M as the source of truth.

ISO / MIME SPECS

Technical Specifications

MIME type
video/x-yuv4mpeg2
Extension
.y4m
Pixel format
YUV 4:2:0, 4:2:2, 4:4:4
Header
ASCII single line

Typical Sizes & Weights

10 sec 1080p Y4M

~600 MB

1 min 4K Y4M

~14 GB

STRENGTHS & LIMITATIONS.

Strengths

  • Uncompressed raw YUV — codec benchmark truth.
  • Dead-simple header.
  • Universal codec development support.

Limitations

  • Enormous file sizes.
  • Development-only — not for consumption.
  • No metadata beyond basic stream params.

CURIOSITIES & TRIVIA.

01

Every video codec benchmark on the planet uses Y4M as ground-truth source — x264, x265, AOM AV1, SVT-AV1.

02

Y4M's header is one ASCII line — trivially parseable and human-readable.

03

10 seconds of 1080p Y4M is about 600 MB — codec developers work with terabytes of Y4M test data.

04

The `FRAME\n` marker between frames is deliberately simple — parsers can seek by scanning.

05

Y4M's simplicity is why codec papers always cite Y4M inputs: no ambiguity about pre-processing.

Advertisement
STUDIO TOOLS FOR Y4M

Specialized Utilities for .Y4M Files

View all 45 tools →

CONVERT FROM Y4M

Common Use Cases

Video quality benchmarking, uncompressed intermediate, codec testing

Related Formats

Popular comparisons

Popular Y4M conversions

The most-requested destinations when starting from Y4M.

Frequently Asked Questions

Y4M (YUV4MPEG2) is a video container format that bundles one or more video streams, audio tracks, and optional subtitles into a single file. The container format determines how metadata is organised and which codecs can live inside; the visual quality itself depends on the codec (H.264, H.265, VP9, AV1) rather than the Y4M wrapper. It is part of the video files family.

VLC, MPV and PotPlayer play nearly every Y4M file on desktop. Browser support varies: modern Chromium, Firefox and Safari play common containers via the HTML5 <video> tag, but niche Y4M variants may fail. If a device refuses your Y4M, convert to MP4 with our Y4M to MP4 converter for universal playback.

Upload your Y4M to KaijuConverter and pick MP4, MOV, MKV, WebM, or any other target. Our pipeline uses FFmpeg under the hood and stream-copies when codecs are compatible (no quality loss) or transcodes at high-quality defaults otherwise. Conversion runs server-side; both files delete within two hours.

Only when the target requires re-encoding. If the codecs inside Y4M match what the target container supports, FFmpeg stream-copies the streams and the output is bit-identical to the source. Transcoding uses transparent quality defaults (CRF 20–23 H.264) and produces output indistinguishable from the original at normal viewing distance.

Professional Workstation Solution
Unlimited Batch Jobs Zero Upload Wait Times Direct Disk-to-Disk I/O

Need to Convert Gigabyte Archives or Mass Folders?

KaijuConverter delivers ultra-fast in-memory conversions for everyday tasks. For multi-gigabyte production workloads without browser bandwidth bottlenecks, explore high-throughput desktop suites.

Zero cloud transfer • Native hardware performance
24-Hour Fast Pass (€4.99 one-time) Up to 1 GB · No subscription

One-time payment with zero recurring commitment: convert files up to 1 GB, OCR, PDF/A, and .ZIP batches for 24 hours.

Instant Stripe Checkout →
7-Day Project Pass (€9.99 one-time) 7 Days · 2 GB · Ad-Free

Full 7 days of unlimited conversions, up to 2 GB per file, 100% ad-free with zero subscription.

Instant Stripe Checkout →
Kaiju Cloud Business Annual (€99/yr) Up to 2 GB + B2B Invoice

High-throughput enterprise pipeline for files up to 2,048 MB, 50-file batches, ISO PDF/A, and priority processing.

Instant Stripe Checkout →
ImageMagick CLI / XnConvert Free • Mass Batch

Convert thousands of camera RAW files (CR3, NEF, ARW) to WebP, AVIF, or TIFF in one pass.

Affinity Photo / Adobe Lightroom Photo Pro

GPU-accelerated RAW development with end-to-end 16-bit ICC color profile management.

Advertisement
We use cookies and similar technologies to personalise content and ads, and to analyse traffic. Learn more about cookies.