What is the YUV file format?
The .yuv extension is also referred to as the Y'UV file format. It is a raw image and video storage format useful for splitting data storage into individual components: the Y value - otherwise known as luminance or brightness - and the U and V values, also called chrominance or color.
This file type stores color details more efficiently than direct .rgb representation, exploiting the human eye's lower sensitivity to color resolution than to brightness. Chroma subsampling - reducing U/V resolution while keeping Y at full resolution - significantly reduces data volume without visible quality loss. Common subsampling ratios include 4:2:0 (U/V planes at half width and height), 4:2:2 (half width only), and 4:4:4 (full resolution for all planes).
.yuv files are headerless and carry no embedded metadata. Width, height, bit depth, and subsampling layout must be provided externally - without these parameters a .yuv file cannot be decoded correctly. For toolchain interoperability, the .y4m format adds a small text header with these parameters. A single 1920×1080 4:2:0 8-bit frame occupies roughly 3 MB; uncompressed 4K sequences can reach several gigabytes per minute.
The format is used almost exclusively in professional video engineering, codec development, and broadcast toolchains. It is not well supported by low-end consumer graphics applications; tools such as FFmpeg, VLC, and YUView require explicit width, height, and format parameters when opening .yuv files.
Security & safety
RISK: LOWRaw YUV files contain only pixel data - no executable code, no scripts, no macros. The risk is essentially zero from the format itself. The danger is misidentifying another file type as YUV and passing it to video tools with incorrect parameters, which would produce garbage output rather than security issues.
Format details
in a nutshell- IrfanView YUV (16-bit grayscale YUV image) - IrfanView's YUV plugin reads a specific 16-bit YUV still image format (separate Y+U+V files) - different from the raw video stream convention.
Programs that open YUV files
Technical details
deep spec| Container | Headerless raw (no file header, no embedded metadata) |
| Color model | YCbCr - luma (Y) plus chroma (Cb/Cr, also written U/V) |
| Chroma subsampling variants | 4:2:0 (I420/YUV420P), 4:2:2 (I422/YUV422P), 4:4:4 (YUV444P), packed 4:2:2 (YUY2/YUYV) |
| Bit depth | 8 bits per channel (standard); 10, 12, or 16 bits for HDR/professional variants (P010, P016) |
| External metadata required | Width, height, chroma subsampling format, bit depth, and plane order - not embedded in the file |
| Frame size (1080p 4:2:0 8-bit) | Approximately 3 MB per frame |
| Byte order | Little-endian for >8-bit samples; no byte-order issue for 8-bit |
| Frame boundaries | No delimiters - sequential video frames are concatenated without markers |
| Compression | None (raw uncompressed luma and chroma samples) |
| Typical use | Professional video engineering, codec testing, broadcast toolchains, video research |
| Planar vs. packed | Planar formats store Y, U, V as separate planes; packed formats (YUY2/YUYV) interleave samples per pixel |
| Related header format | .y4m (YUV4MPEG2) wraps raw YUV with a text header carrying width, height, fps, and subsampling metadata |
| Released | 1950s (analog TV; digital raw YUV used in video engineering since the 1980s) |
| Latest version | N/A - no versioned standard; subformats defined by V4L2, FFmpeg, and codec specifications |
| Open standard | Yes · royalty-free |
| Specification | docs.kernel.org |
YUV conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about YUV files.