Tool
Turns strings like avc1.640028, found in an HLS playlist's CODECS attribute, in MP4 info or in <source type>, into plain language. Your input is processed only inside this browser and is never sent anywhere.
avc1.640028
H.264 High, Level 4
Ask this browser
Minimum level needed by resolution and fps (H.264)
| Video | Minimum level needed | OK at your level? |
|---|---|---|
| 720p 30fps | 3.1 | Yes |
| 1080p 30fps | 4 | Yes |
| 1080p 60fps | 4.2 | No |
| 1440p 60fps | 5.1 | No |
| 4K 30fps | 5.1 | No |
| 4K 60fps | 5.2 | No |
| 8K 30fps | 6 | No |
| 8K 60fps | 6.1 | No |
This only considers the frame size and samples-per-second limits. Levels also have bitrate limits, so a high-bitrate video may need a level one step higher.
#EXT-X-STREAM-INF:...CODECS="avc1.64001f,mp4a.40.2"<source src=... type='video/mp4; codecs="av01.0.08M.08"'>MediaSource.isTypeSupported(), canPlayType() and MediaCapabilities.decodingInfo() in JavaScriptSplit the six hex digits after the dot into pairs. PP is the profile (64=100=High, 4D=77=Main, 42=66=Baseline), CC holds the constraint flags, and LL is the level times 10. avc1.640028 splits into 64, 00 and 28: High profile, level 0x28=40, which is level 4.0.
In hvc1.1.6.L123.B0, 1 means Main and 2 means Main 10. The L in L123 means the Main tier (H is the High tier), and the number 123 is the level times 30, so 123÷30=4.1. The difference between hvc1 and hev1 is whether the parameter sets are kept in the file header or may also appear inside the samples.
av01.0.08M.08 means profile 0 (Main), level number 08, tier M, 8-bit. Convert the level number with 2 + (number÷4).number%4: 08 → 2+2=4 with remainder 0, so 4.0; 12 → 5.0; 13 → 5.1. There is also a longer form with monochrome, subsampling, color info and range fields appended.
canPlayType result changes.type in the order AV1 → HEVC → H.264, and the browser picks the first source it can play (see Chapter 18)."probably", "maybe" or "" (an empty string). An empty string means it can't play it.supported, smooth and powerEfficient fields of MediaCapabilities. A “Yes” for power efficient usually signals that a hardware decoder handles it.