Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Capturing and Editing Video > NLE - Non Linear Editing

Thread Tools Search this Thread Display Modes
Old 29th July 2020, 04:07   #1  |  Link
Registered User
wswartzendruber's Avatar
Join Date: Feb 2008
Posts: 68
4K Blu-ray: Conversion from PQ to HLG

I have a Rust project that converts raw PQ frames into HLG. It follows the BBC R&D method for doing so and is quite primitive. I am contemplating extending it with the following approach:

1. Determine the reference white level of the movie by sampling how bright the credits are.
* RGB48 (PQ, Rec.2020) comes in from FFMPEG. *
2. Globally adjust the brightness of each frame as a whole such that the credits (if white) sit at 203 nits (linear scaling of each color channel).
3. Apply Kim-Kautz tone mapping to push everything down to within 1,000 nits.
4. Apply the inverse HLG EOTF function.
* RGB48 (HLG, Rec.2020) goes back out to FFMPEG. *

Given that I want a Good™ HLG encode of something, does this seem like a good way to go about it?
wswartzendruber is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 23:43.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.