This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Coversion Dolby Vision to SDR
#5
Hello Selur,

  I tried the LUT dvhe0509_to_BT709.cube, but for my sample it was unable to properly map the colors.
  Mediainfo report the HDR format: Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU
 
  The filter Tonemap (Placebo) was the only filter able to to map the colors to SDR but with a quite dark results.
  To get a good result I had to apply the following filters

# adjusting color space from YUV420P10 to YUV444P16 for vsToneMapPlacebo
clip = core.resize.Bicubic(clip=clip, format=vs.YUV444P16, range_s="limited")
# color adjustment using ToneMap (Placebo)
clip = core.placebo.Tonemap(clip=clip, src_csp=3, dst_csp=0, src_min=0.0050, src_max=1000.0000, dst_min=0.2023, dst_max=203.0000, dynamic_peak_detection=1, tone_mapping_param=0.000, use_dovi=True)
# adjusting color space from YUV444P16 to RGB48 for vsLevels
clip = core.resize.Bicubic(clip=clip, format=vs.RGB48, matrix_in_s="2020ncl", range_s="limited")
# Color Adjustment using Levels on RGB48 (16 bit)
clip = core.std.Levels(clip=clip, min_in=4096, max_in=60160, min_out=4096, max_out=60160, gamma=1.30)
# adjusting color space from RGB48 to YUV444P16 for vsTweak
clip = core.resize.Bicubic(clip=clip, format=vs.YUV444P16, matrix_s="2020ncl", range_s="limited")
# Color Adjustment
clip = adjust.Tweak(clip=clip, hue=-5.00, sat=1.05, cont=1.01, bright=2560, coring=True)

     In the Tweak GUI settings I set the Brightness to "10", but in the code this value has been changed in "2560" (strange), but the code worked, so should not be a problem...

Dan
Reply


Messages In This Thread
Coversion Dolby Vision to SDR - by Dan64 - 28.01.2024, 15:24
RE: Coversion Dolby Vision to SDR - by Selur - 28.01.2024, 15:33
RE: Coversion Dolby Vision to SDR - by Dan64 - 28.01.2024, 16:48
RE: Coversion Dolby Vision to SDR - by Selur - 28.01.2024, 18:48
RE: Coversion Dolby Vision to SDR - by Dan64 - 30.01.2024, 19:10
RE: Coversion Dolby Vision to SDR - by Selur - 30.01.2024, 19:13

Forum Jump:


Users browsing this thread: 1 Guest(s)