ArArdin wrote: Fri Apr 29, 2022 3:59 pm
Could you explain why the enhancement layer is always shown as 1080p and not in 4K resolution?
I can imagine it's just extra sub-sampling into a smaller footprint for compression efficacy. Where I wonder if this would be possible because the data itself is differential, and/or the source being encoded in 4:2:0 color subsampling.
Any thoughts?
The short answer: Because that's what the DV spec specifies for P7. It was just a choice to make it work within the UHD BD spec, for efficiency and bandwidth. You only need to encode 2 bits of color data in the EL; you don't need a full 2160p 10-bit stream for that. Moreover, decoding two simultaneous 2160p60 HEVC streams @ 130Mbps requires twice the throughput of the overall system as compared to a single stream. Lowering the max EL down to 1080p60 @ 70Mbps lessens those hardware/software constraints considerably (from 2x to ~1.5x for the coded picture, and from 2x to 1.25x for the decoded picture).
The long answer, breaking down
Dolby Vision Profiles and Levels:
As we know, DV has
profiles, which specify:
- video codec, video profile, and video level
- single or dual layer (BL+RPU or BL+EL+RPU)
- cross-compatibility IDs (CCIDs) that specify the BL characteristics (SDR, HDR10, HLG)
DV Profile 7 specifies:
- 10-bit HEVC video (HDR10) for both BL and EL
- a 1:1 ratio in BL:EL if the BL is FHD (1080p), which equates to a max of DV Level of 5
- a 1:1/4 ratio in BL:EL if the BL is UHD (2160p), with a max DV Level of 9
So DV also has
levels.
The Profile specifies constraints on the Level based on the specs of the BL.
So if you want a BL of 3840*2160*24fps = 199,065,600 pixels per second (pps), that equates to DV Level 6:
So with DV Level 6, you're beyond the limit of DV Level 5 for a 1:1 BL:EL ratio, and therefore the EL has to drop to 1/4 the pps of the BL, per the spec. The pps of DV Level 5 is 1/4 the pps of DV Level 9, hence a BL of Level 9 will be limited to an EL of Level 5.
With a BL of DV Level 6, which is where you see UHD BD P7 encodes, 1/4 the pps limits you to an EL of Level 3. And basically you only see UHD BD movies with BLs of at least Level 6, because that's what you need for 2160p24, and only ELs of Level 3, because that's what you need to support 1080p24.
When you see "dvhe.07.06", that's a "DV codec string" that's specifying:
- DV Profile string: "dvhe.07" — Dolby Vision, HEVC video codec, Profile 7
- DV Level ID: "06" — the max pps specified by Level 6
Lastly, you have the CCID (which isn't included in the DV codec string):
- when you see "DV 8.1", "DV P8.1", or "DV Profile 8.1", that's specifying:
- Profile: 8 — all the constraints of DV8
- CCID: 1 — which specifies the BL must be HDR10
- when you see DV 8.4, that's specifying:
- Profile: 8
- CCID: 4 — which specifies the BL must be HLG
