encoding.info
You are hereSourcePredictionTransformEntropy codingFiltersFramesDecisionsRate controlPerceptionQualityBitstreamSettingsEncoder map
Page 2 of 3 in Codec by codec

Profiles, levels and tiers

Codec by codec · concept · added 2026-11-15

In Brief:
A profile names the coding tools and sample formats a stream may use. A level limits the decoding workload, and a tier picks a bitrate range where tiers exist. Together they state what a decoder must support; the labels alone do not prove that a stream conforms.

A decoder is built to limits: which coding tools it implements, how large and how fast a picture it can handle, how many bits per second it can take in. A stream declares the limits it stays within, which helps a device check before decoding whether its decoder supports them. Those declarations are the profile, the level and, in the newer formats, the tier.

Three kinds of limit

Profile
Which tools the stream may use: bit depth, chroma format, and in H.264 individual coding tools.
Level
Picture size, processing rate and other resources, such as buffers.
Tier
Where tiers exist, two bitrate ceilings for one level: gray Main, teal High.
Conceptual illustration.

Find the level

Set a picture size, a frame rate and a bitrate to check. For each format the table gives the lowest level, in that format's encoder's level table, that passes the size, rate and bitrate checks used here: x264's table for H.264 in its High profile, x265's for High Efficiency Video Coding (HEVC), libaom's for AV1 in profile 0. H.264 counts in 16×16 macroblocks; the other two count pixels.

This is a partial check, not conformance: buffer limits and AV1's decode rate, among others, are left out. The bitrate is one assumed rate compared with each ceiling, not a model of bursts or of the decoder's buffer. The lowest level is taken first, High tier included, so a device limited to the Main tier may need a higher level than shown.

8 Mbit/s
← 1 Mbit/s800 Mbit/s →
FormatLevel that passesTierIts bitrate limit
H.264, High
HEVC
AV1, profile 0
Pixels a frame
Pixels a second
Macroblocks a second

Simplified demo: the three tables are copied from x264, x265 and libaom, and the rule checks selected limits from them, picture size, picture rate and bitrate, as the part of each encoder's test that uses those fields does. Left out: the limits on the decoded picture buffer, on the coded picture buffer's capacity, on AV1's decode rate, on motion vectors, on tiles and on header rate, and libaom's fuller conformance check on measured statistics, any of which can push a real stream to a higher level. The H.264 bitrate limit is the table's value times 5/4, x264's factor for the High profile. The AV1 limit is profile 0's; libaom doubles it for profile 1 and triples it for profile 2. x265 compares the bitrate with its table as written. H.264 has no tiers, and the other two tables have a High tier only from level 4. Levels are per format: the same number in two formats does not mean the same limits.

For 1920×1080 at 30 frames a second and 8 Mbit/s:

In the encoders

x264 and x265 name a profile and a level themselves unless you set them, and libaom checks the sample format against the AV1 profile. In x264, --profile restricts tools and refuses a request it cannot hold; it converts nothing.

How x264, x265 and libaom choose and check
  • Profile from the tools in use, in x264. 4:4:4 or lossless coding gives High 4:4:4 Predictive; 4:2:2 gives High 4:2:2; more than 8 bits gives High 10; the 8×8 transform, a quantization matrix or monochrome gives High; binary arithmetic coding, B-frames, interlacing or weighted prediction give Main; otherwise Baseline. Given --profile baseline, the 8×8 transform, arithmetic coding, B-frames and weighted prediction are switched off. Lossless coding, 4:4:4, 4:2:2, more than 8 bits or monochrome under a profile that lacks it stops x264 with an error.
  • The automatic level. With no --level, x264 takes the first row of its table that passes its checks. x265 does the same, and moves to the High tier when the bitrate or the buffer size is over a level's Main limit and within its High limit, unless --no-high-tier forbids it. The bitrate each tests is the buffer model's maximum rate; without one, x265 uses the bitrate target, and x264's automatic choice in average bitrate mode uses twice the target.
  • Sample formats in libaom. Among its checks, it refuses 4:4:4 input in profile 0, monochrome in profile 1, 4:2:2 outside profile 2, and 12 bits below profile 2.

Trade-offs

Sources

Read 2026-11-15, at the commits linked. The buffer checks, the bitrate each encoder tests, the requests --profile refuses and libaom's profile factor were read 2026-11-16.