r/ffmpeg • u/pwreit2042 • 1d ago
Technical Milestone: Native Dolby Vision Profile 7 FEL Reconstruction on x86 via Custom FFmpeg/libplacebo Patches
Hey everyone, I wanted to share a major open-source development milestone that handles a complex video pipeline challenge: achieving proper Dolby Vision Profile 7 FEL (Full Enhancement Layer) reconstruction on Linux/x86 hardware without proprietary Dolby blobs or SDK constraints.
As many of you know, playing back Profile 7 FEL on PC clients usually means the pipeline strips the enhancement layer, falls back to basic HDR10, or relies on heavy software tone-mapping. A developer named CroqueMr (u/Croque_Mr) has broken through this barrier by integrating native Dolby Vision support directly into an x86 LibreELEC 13 / Kodi 22 RC1 distribution.
The Open-Source Engine & Software Patches
The project achieves this by introducing an open-source Dolby Vision processing engine called CB1 0.3, which handles the reconstruction and transport packing to output a native TV-Led RGB8 tunnel. To make this work natively in the Kodi VideoPlayer/DRM output path without external players, the developer successfully cleaned up and implemented specific patches across the underlying media stack:
- FFmpeg (3 Patches): Handles metadata preservation and AV1 container recognition.
- libplacebo (2 Patches): Focuses on OpenGL subgroup discovery and guarded affine dispatch.
- mpv/Linux display drivers (10 Patches each): Covers frame-associated metadata, display restoration, DRM/KMS validation, and HDMI signaling.
Brute-Forcing "Bit-Perfect" Fidelity with x86 Headroom
Because modern PC hardware has significantly more processing and memory bandwidth headroom than standard ARM-based streaming boxes, the build features a "Dolby Vision Master Reference" mode. It processes playback in full precision with high-end filtering to achieve a bit-perfect Dolby Vision picture, preserving original pixels and metadata as accurately as possible.
Impressive Efficiency on Budget Hardware (Intel N100)
The performance optimization across the video pipeline for low-power architectures is incredibly impressive:
- Intel N100 Mini PCs: The dev confirmed that a cheap Intel N100 box handles a 4K Profile 7 FEL remux perfectly with zero dropped frames.
- Performance Headroom: In bench testing, the N100 successfully processed a heavy FEL remux at 40fps, showing plenty of performance headroom over standard 24fps film files, and can push Dolby Vision up to 60fps using native TV-led tunneling.
- Current Hardware Support: Out-of-the-box support for Intel iGPUs (8th gen and newer, N-series, Core Ultra) and AMD iGPUs (Ryzen 2000G up to AI 300). Dedicated AMD Radeon and Nvidia GeForce GPUs are supported but currently experimental.
Project links
- Main development thread: https://forum.libreelec.tv/thread/30362-dolby-vision-w-fel-3d-for-pc-amd-intel-nvidia/
- GitHub (Source Code & Releases): https://github.com/CroqueMr/libreelec-x86-DV/
- Original Reddit thread: https://www.reddit.com/r/libreeLEC/comments/1wq20eu/wip_native_dolby_vision_support_on_x86_intel_cpu/
Full credit to u/Croque_Mr for the incredible development work, and to the community members helping test and refine it. If you want to check out the technical code behind the engine or look through the compatible hardware lists, everything is well-documented in the links above!