View Single Post
Old 7th January 2019, 20:19   #55  |  Link
ifb
Registered User
 
Join Date: Dec 2009
Posts: 72
Quote:
Originally Posted by lansing View Post
The hable method is the only one that came close, but color are still off. The other two failed completely, as they have nothing to tweak.
tonemap requires linear input and you still need to convert from 2020 to 709.

<edit>
I'm pretty sure it's HLG but with Rec.709 color, which is weird but I suppose they are worried about backward compatibility.

This is with zero tweaking, just copied from the tonemap examples:
Code:
c = core.ffms2.Source(source  = "4kbs_trim.mp4")
c = core.resize.Lanczos(clip=c, format=vs.RGBS, 
                        width=1920, height=1080,
                        matrix_in_s="709",
                        transfer_in_s="std-b67", transfer_s="linear",
                        nominal_luminance=1000)
c = core.tonemap.Mobius(clip=c, exposure=4)
c = core.resize.Lanczos(clip=c, format=vs.YUV420P10, matrix_s="709",
                        primaries_in_s="709",  primaries_s="709",
                        transfer_in_s="linear", transfer_s="709")

Last edited by ifb; 7th January 2019 at 20:51.
ifb is offline   Reply With Quote