Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 02-Morbius-tonemap_linear
- clip = core.resize.Bicubic(
- clip, transfer_s="linear", nominal_luminance=203, format=vs.RGB48
- )
- clip = core.tonemap.Mobius(clip, exposure=1, peak=558/203)
- clip = core.resize.Bicubic(
- clip,
- primaries_s="709",
- transfer_s="709",
- matrix_s="709",
- dither_type="error_diffusion",
- format=vs.YUV420P16,
- )
- # 03-Morbius-placebo
- clip = vsutil.depth(clip, 16)
- clip = clip.placebo.Tonemap(
- src_csp=1,
- dst_csp=0,
- src_max=558,
- dst_max=203,
- dynamic_peak_detection=False,
- tone_mapping_function=6 # Mobius
- )
- # 04-bt2390-placebo
- clip = vsutil.depth(clip, 16)
- clip = clip.placebo.Tonemap(
- src_csp=1,
- dst_csp=0,
- src_max=558,
- dst_max=203,
- dynamic_peak_detection=False,
- tone_mapping_function=2 # BT.2390
- )
- # 05-bt2446a-placebo
- clip = vsutil.depth(clip, 16)
- clip = clip.placebo.Tonemap(
- src_csp=1,
- dst_csp=0,
- src_max=558,
- dst_max=203,
- dynamic_peak_detection=False,
- tone_mapping_function=3 # BT.2446a
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement