Convert Dolby Vision Profile 7 To Profile 8 New Exclusive May 2026
The Core Concept
- Profile 7 (P7): Used on 4K Blu-rays. Has a 10-bit HDR10 base layer + a 2nd “enhancement” layer (EL, often 1080p, 10‑ or 12‑bit). This EL is required for full Dolby Vision reconstruction.
- Profile 8 (P8.1): A single‑layer, 10‑bit or 12‑bit stream (no separate EL). Widely supported by streaming services, many TVs (LG, Sony, Hisense), media players (Shield TV, Ugoos AM6B+), and software players (Infuse, Plex, VLC). P8.1 carries full dynamic metadata, but discards the enhancement layer’s spatial info.
- Profile 8.4: Used for Blu‑ray backups with the EL merged into a single 12‑bit stream (P8.4 is not officially standard but is emerging via tools like
dovi_tool). Best quality for playback on capable devices.
Step 6: Remux Back to MKV
Use mkvmerge to put the new video track back into an MKV container with your original audio and subtitles.
mkvmerge -o movie_DV_P8.mkv movie_converted.hev \
--audio-tracks 0:1 --language 0:eng audio.ac3 \
--subtitle-tracks 0:2 original_subs.sup
(Adjust track mapping to your specific file)
Player Support After Conversion
| Player | P7 (orig) | P8.1 | P8.4 |
|--------|-----------|------|------|
| LG OLED (WebOS) | ❌ fallback HDR10 | ✅ | ⚠️ (some models) |
| Sony TV (Google TV) | ❌ | ✅ | ❌ |
| Nvidia Shield (Plex/Kodi) | ❌ (melts) | ✅ | ❌ |
| Apple TV (Infuse) | ❌ | ✅ | ❌ |
| Ugoos AM6B+ (CoreELEC) | ✅ | ✅ | ✅ |
3) Functional components
-
Input parser/demuxer
- Extract base-layer frames, enhancement RPU packets, SEI messages and timing (PTS/DTS).
- Validate Profile 7 signatures and metadata version; report unsupported versions.
-
Metadata decoder and validator
- Parse DV RPU (Reference Processing Unit) packets, enhancement layer SEI (e.g., dvhe/rpu/vdr).
- Validate colorimetry (BT.2020/BT.709), transfer (PQ/HLG), mastering display metadata presence.
- Map fields between RPU versions if necessary (with warnings).
-
Alignment & temporal matching
- Align each base-layer frame with corresponding RPU/enhancement packets by PTS.
- Handle missing/duplicate RPUs: interpolation, hold-last, or drop strategies with configurable policy.
-
Pixel-processing / frame-level reconstruction convert dolby vision profile 7 to profile 8 new
- Decode base-layer bitstream to access decoded YUV (for optional re-encode/verification).
- Option A (lossless/low-change): Keep base-layer compressed samples, insert merged RPU per sample according to Profile 8 encapsulation—minimal re-encode.
- Option B (re-encode): Reconstruct final frame by applying enhancement mapping on decoded base YUV, then re-encode as single HEVC stream—allows bitrate/quality tuning and artifact reduction.
- Provide mode switch: "encapsulate-only" vs "re-encode-merge".
-
RPU merging & packaging
- Convert/pack RPU payloads into Profile 8 compliant SEI/bitstream format.
- Ensure sample-based DV metadata placement and correct nal unit types per spec.
- Update HEVC sample entry descriptors (CodecPrivate) to indicate DV Profile 8.
-
Compliance & validation
- Validate output against Dolby Vision bitstream compliance checks: SEI presence/format, RPU syntax, timing, parameter ranges.
- Optionally run reference visual check (PSNR/SSIM/VMAF) between input enhancement-applied frames and output.
-
Performance & streaming
- Support chunked/fragmented MP4 (fMP4) and CMAF segments for streaming.
- Low-latency mode: avoid full-frame re-encode; use encapsulate-only merging when RPUs are available inline.
- Multi-threaded processing: demux, parse, and pack in parallel; limited frame buffer for alignment.
-
Error handling & fallbacks
- On unsupported RPU version or corrupt metadata: optionally fall back to HDR10 output or passthrough base layer with warning.
- Provide diagnostic logs per frame and a summary report (counts of interpolated/missing RPUs, re-encode frames).
-
UX / CLI / API
- CLI flags: --input, --output, --mode (encapsulate|reencode), --interpolate-policy (hold|interp|drop), --hdr10-fallback, --validate, --vmaf-threshold.
- REST API for server use: job submission with callbacks, progress, and downloadable artifacts.
- Presets: streaming-lowlatency, archival-highquality, fast-transcode.
-
Metadata preservation & sidecar outputs
- Preserve original mastering display color volume metadata; optionally write sidecar JSON with per-frame RPU data.
- Generate HDR10 metadata (ST2086/MaxFALL/MaxCLL) from DV metadata for devices without DV support.
- Security & licensing notes
- Dolby Vision is a licensed technology. Include licensing checks/warnings; do not claim official Dolby certification unless obtained.
- Ensure key-file handling for any signed metadata is secure.
- Testing & verification
- Unit tests for parsing RPUs, alignment, and packet packing.
- Integration tests with sample Profile 7 streams (multiple RPU versions).
- Visual regression tests (VMAF/SSIM) and compliance tests with Dolby-supplied conformance bitstreams (if licensed).
2) Supported inputs / outputs
- Inputs:
- Dolby Vision Profile 7 elementary streams (HEVC) or MP4/MKV containers with separate base (HDR10/HLG) and DV enhancement SEI.
- Container-level tracks with Dolby Vision RPU/rap/vdr metadata (RPU V2/V3 as applicable).
- Outputs:
- Dolby Vision Profile 8 single-layer HEVC bitstream in MP4/MKV with DVSEI/RPU merged into sample payloads per Profile 8 spec.
- Optional HDR10 fallback (compatible ST 2086/MaxFALL/MaxCLL) generation.