Timberlake
28th July 2019, 04:02
Recently I've been working on covert HDR to SDR correctly.
Source is playing by mpc-hc. Using madVR.
https://i.loli.net/2019/07/28/5d3d0cf1ddd6f24716.png
This is a screenshot of the encode using following script.
https://i.loli.net/2019/07/28/5d3d0cf1d7db323613.png
loadplugin("D:\Software\Encode\dgdecnv2053\DGDecodeNV.dll")
loadplugin("D:\Software\Encode\_AVSFilter\DGHDRtoSDR_1.12\DGHDRtoSDR.dll")
DGSource("00005.dgi", fulldepth=true)
DGHDRtoSDR()
prefetch(6)
BilinearResize(1920, 1080)
This is a screenshot of the encode using following script.
https://i.loli.net/2019/07/28/5d3d0cf1d923536552.png
loadplugin("D:\Software\Encode\dgdecnv2053\DGDecodeNV.dll")
loadplugin("D:\Software\Encode\_AVSFilter\DGTonemap\DGTonemap.dll")
loadplugin("D:\Software\Encode\_AVSFilter\avsresize-r1d\Release\avsresize.dll")
SetFilterMTMode("z_ConvertFormat", MT_MULTI_INSTANCE) # May not be needed.
DGSource("00005.dgi",fulldepth=true)
ConvertBits(10) # Use 12 for 12-bit
z_ConvertFormat(pixel_type="RGBPS",colorspace_op="2020ncl:st2084:2020:l=>rgb:linear:2020:l", dither_type="none")
# Choose one of these:
#DGReinhard()
DGHable()
z_ConvertFormat(pixel_type="YV12",colorspace_op="rgb:linear:2020:l=>709:709:709:l",dither_type="ordered")
prefetch(4)
BilinearResize(1920, 1080)
Or perhaps there is something wrong with madVR.
Two scripts each comes from DGHDRtoSDR_1.12.txt (http://rationalqm.us/hdr/DGHDRtoSDR_1.12.rar) and DGTonemap_1.2.txt (http://rationalqm.us/DGTonemap.rar)
Source is playing by mpc-hc. Using madVR.
https://i.loli.net/2019/07/28/5d3d0cf1ddd6f24716.png
This is a screenshot of the encode using following script.
https://i.loli.net/2019/07/28/5d3d0cf1d7db323613.png
loadplugin("D:\Software\Encode\dgdecnv2053\DGDecodeNV.dll")
loadplugin("D:\Software\Encode\_AVSFilter\DGHDRtoSDR_1.12\DGHDRtoSDR.dll")
DGSource("00005.dgi", fulldepth=true)
DGHDRtoSDR()
prefetch(6)
BilinearResize(1920, 1080)
This is a screenshot of the encode using following script.
https://i.loli.net/2019/07/28/5d3d0cf1d923536552.png
loadplugin("D:\Software\Encode\dgdecnv2053\DGDecodeNV.dll")
loadplugin("D:\Software\Encode\_AVSFilter\DGTonemap\DGTonemap.dll")
loadplugin("D:\Software\Encode\_AVSFilter\avsresize-r1d\Release\avsresize.dll")
SetFilterMTMode("z_ConvertFormat", MT_MULTI_INSTANCE) # May not be needed.
DGSource("00005.dgi",fulldepth=true)
ConvertBits(10) # Use 12 for 12-bit
z_ConvertFormat(pixel_type="RGBPS",colorspace_op="2020ncl:st2084:2020:l=>rgb:linear:2020:l", dither_type="none")
# Choose one of these:
#DGReinhard()
DGHable()
z_ConvertFormat(pixel_type="YV12",colorspace_op="rgb:linear:2020:l=>709:709:709:l",dither_type="ordered")
prefetch(4)
BilinearResize(1920, 1080)
Or perhaps there is something wrong with madVR.
Two scripts each comes from DGHDRtoSDR_1.12.txt (http://rationalqm.us/hdr/DGHDRtoSDR_1.12.rar) and DGTonemap_1.2.txt (http://rationalqm.us/DGTonemap.rar)