{
  "schemaVersion": 1,
  "contentVersion": "ca42e61ede0a24f789d7287a0001244ad22f4abf",
  "id": "docs/codecs/video/utvideo",
  "collection": "docs",
  "title": "UT Video",
  "description": "Ut Video is a fast lossless intra-frame codec used for captures and editing intermediates, with an independent encoder and decoder in FFmpeg.",
  "canonicalUrl": "https://encode.wiki/codecs/video/utvideo/",
  "apiUrl": "https://encode.wiki/api/v1/documents/docs/codecs/video/utvideo.json",
  "markdownUrl": "https://encode.wiki/api/v1/markdown/docs/codecs/video/utvideo.md",
  "status": "current",
  "tags": [
    "migrated",
    "video"
  ],
  "license": "CC BY-SA 4.0",
  "dates": {
    "lastVerified": "2026-10-08T00:00:00.000Z"
  },
  "authors": [],
  "sources": [
    {
      "title": "Ut Video Codec Suite repository",
      "url": "https://github.com/umezawatakeshi/utvideo",
      "accessedAt": "2026-10-08T00:00:00.000Z"
    },
    {
      "title": "Ut Video Codec Suite 23.2.0 readme",
      "url": "https://github.com/umezawatakeshi/utvideo/blob/master/readme.en.html",
      "accessedAt": "2026-10-08T00:00:00.000Z"
    },
    {
      "title": "FFmpeg utvideoenc.c (n9.0.2)",
      "url": "https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/utvideoenc.c",
      "accessedAt": "2026-10-08T00:00:00.000Z"
    },
    {
      "title": "FFmpeg utvideodec.c (n9.0.2)",
      "url": "https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/utvideodec.c",
      "accessedAt": "2026-10-08T00:00:00.000Z"
    }
  ],
  "provenance": {
    "originUrl": "https://github.com/av1-community-contributors/codec-wiki/blob/37c3317fd058b23c71a87679bed5619a98f77752/docs/video/utvideo.mdx",
    "originCommit": "37c3317fd058b23c71a87679bed5619a98f77752",
    "migratedAt": "2026-08-21T00:00:00.000Z",
    "modified": true,
    "originPath": "docs/video/utvideo.mdx"
  },
  "headings": [
    {
      "depth": 2,
      "text": "Encode with FFmpeg",
      "anchor": "encode-with-ffmpeg"
    },
    {
      "depth": 2,
      "text": "Families and FourCCs",
      "anchor": "families-and-fourccs"
    },
    {
      "depth": 2,
      "text": "Pitfalls",
      "anchor": "pitfalls"
    }
  ],
  "sections": [
    {
      "id": "_preamble",
      "title": "Page introduction",
      "depth": 0,
      "canonicalUrl": "https://encode.wiki/codecs/video/utvideo/",
      "apiUrl": "https://encode.wiki/api/v1/sections/docs/codecs/video/utvideo/_preamble.json",
      "markdownUrl": "https://encode.wiki/api/v1/sections/docs/codecs/video/utvideo/_preamble.md",
      "checksum": "bf799ab04320dce783d5b9aa499bd1d75b8e00416e17862a61b6393a3d05e2ad",
      "bytes": 645
    },
    {
      "id": "encode-with-ffmpeg",
      "title": "Encode with FFmpeg",
      "depth": 2,
      "anchor": "encode-with-ffmpeg",
      "canonicalUrl": "https://encode.wiki/codecs/video/utvideo/#encode-with-ffmpeg",
      "apiUrl": "https://encode.wiki/api/v1/sections/docs/codecs/video/utvideo/encode-with-ffmpeg.json",
      "markdownUrl": "https://encode.wiki/api/v1/sections/docs/codecs/video/utvideo/encode-with-ffmpeg.md",
      "checksum": "48588105dab12a5d7d2476c2874945f8b8f2ccd86e52e23274e338f2d8dfdc91",
      "bytes": 757
    },
    {
      "id": "families-and-fourccs",
      "title": "Families and FourCCs",
      "depth": 2,
      "anchor": "families-and-fourccs",
      "canonicalUrl": "https://encode.wiki/codecs/video/utvideo/#families-and-fourccs",
      "apiUrl": "https://encode.wiki/api/v1/sections/docs/codecs/video/utvideo/families-and-fourccs.json",
      "markdownUrl": "https://encode.wiki/api/v1/sections/docs/codecs/video/utvideo/families-and-fourccs.md",
      "checksum": "98e84c96b8a2380826fe2dd1cb5c0c28f634a548d654a207d03ffa25a39eaa8e",
      "bytes": 647
    },
    {
      "id": "pitfalls",
      "title": "Pitfalls",
      "depth": 2,
      "anchor": "pitfalls",
      "canonicalUrl": "https://encode.wiki/codecs/video/utvideo/#pitfalls",
      "apiUrl": "https://encode.wiki/api/v1/sections/docs/codecs/video/utvideo/pitfalls.json",
      "markdownUrl": "https://encode.wiki/api/v1/sections/docs/codecs/video/utvideo/pitfalls.md",
      "checksum": "68a1745717242540af3a4757c300e80b55c5ef1d5fbd33c7fdd2d108eb419991",
      "bytes": 380
    }
  ],
  "outboundReferences": [
    "/codecs/video/ffv1/"
  ],
  "checksum": "0771a7eb941cfc5f7e65409262c6142326050b90b5b070cd523d3ec93b50e88d",
  "contentFormat": "markdown",
  "markdown": "Ut Video is a fast lossless codec by Takeshi Umezawa, built as a better-compressing alternative to HuffYUV. It is light enough on the CPU to capture HD in real time, which makes it a common choice for lossless screen and video captures and editing intermediates. Files are noticeably larger than [FFV1](/codecs/video/ffv1/), but encoding and decoding are much faster.\n\nThe original Ut Video Codec Suite (GPL v2 or later, version 23.2.0) is a Windows VCM and DirectShow codec. FFmpeg ships an independent encoder and decoder, which is what most people use on Linux and macOS. Current Windows builds of the suite require a CPU with AVX2 and BMI2.\n\n## Encode with FFmpeg\n\n```sh\nffmpeg -i input.mkv -c:v utvideo -pred median output.mkv\n```\n\n`-pred` takes `none`, `left` (the default) or `median`. `median` gives smaller files at about the same speed. The FFmpeg encoder has no gradient prediction.\n\nThe encoder works in 8-bit `yuv420p`, `yuv422p`, `yuv444p`, `gbrp` and `gbrap` and converts anything else, so a 10-bit source is reduced to 8 bits. FFmpeg cannot encode the 10-bit Ut Video Pro family; use [FFV1](/codecs/video/ffv1/) for 10-bit lossless work.\n\nFor YCbCr, the FourCC records the matrix: FFmpeg writes `ULH*` (BT.709) when the stream is tagged BT.709 and `ULY*` (BT.601) otherwise. Add `-colorspace bt709` for untagged HD sources, or the decoding application may convert with the wrong matrix.\n\n## Families and FourCCs\n\nThe suite contains several codec families. The FourCC in the file tells you which one:\n\n| Family | FourCCs | Notes |\n| --- | --- | --- |\n| Ut Video | `ULRG`, `ULRA`, `ULY0/2/4`, `ULH0/2/4` | 8-bit RGB, RGBA and YCbCr. `ULY*` is BT.601 and `ULH*` BT.709. |\n| Ut Video T2 | `UMRG`, `UMRA`, `UMY2/4`, `UMH2/4` | Usually faster with lower compression; supports inter-frame compression. |\n| Ut Video Pro | `UQRG`, `UQRA`, `UQY0/2` | 10-bit. |\n\nFFmpeg encodes only the first family. It decodes all three, but its T2 decoder has no inter-frame support, so use the Windows suite for T2 files encoded with inter-frame compression.\n\n## Pitfalls\n\n- AVI is the traditional container because the Windows suite is a VfW/DirectShow codec. FFmpeg-based tools are just as happy with Matroska.\n- Lossless only holds for the format Ut Video stores. Converting RGB to YUV, 10-bit to 8-bit or 4:4:4 to 4:2:0 loses data before compression.\n- Files are large and there is no browser or hardware playback; make a viewing copy.\n"
}
