View Single Post
Old 23rd October 2019, 13:32   #58  |  Link
redbtn
Registered User
 
redbtn's Avatar
 
Join Date: Jan 2019
Location: Russia
Posts: 105
Quote:
Originally Posted by excellentswordfight View Post
Please provide samples, and full information of the pipeline and paramenters.
Sample https://gofile.io/?c=1b5LFV
VapourSynth R48 RC1 (pipeline vspipe.exe)
x265 3.2+7 by Barough https://forum.doom9.org/showthread.p...94#post1887694
Simple x264/265 Launcher 2.94 https://github.com/lordmulder/Simple...ncher/releases

Frame № 37
Screens https://gofile.io/?c=FDrVMt (SDR screen is tonemapped source encoded with the same setting exclude HDR setting)
Tonemap.dll https://gofile.io/?c=Pl4Pmj

The best I could do is --aq-mode 1 --aq-strength 0.8 --cbqpoffs -3 --crqpoffs -3

Quote:
--level-idc 51 --sar 1:1 --colorprim 9 --colormatrix 9 --transfer 16 --range limited --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50)" --max-cll "3241,902" --hdr --hdr-opt --hrd --aud --chromaloc 2 --repeat-headers --min-luma 0 --max-luma 1023 --no-cutree --no-sao --no-open-gop --no-strong-intra-smoothing --vbv-bufsize 160000 --vbv-maxrate 160000 --min-keyint 1 --keyint 240 --ipratio 1.4 --pbratio 1.2 --deblock -3:-3 --qcomp 0.65 --aq-mode 1 --aq-strength 0.8 --ctu 64 --merange 57 --me star --limit-refs 1 --no-early-skip --weightb --b-intra --rd 4 --rdoq-level 2 --rc-lookahead 72 --psy-rd 2 --psy-rdoq 1.2 --max-merge 4 --lookahead-slices 0 --bframes 8 --ref 4 --subme 4 --tu-intra-depth 4 --tu-inter-depth 4 --limit-tu 4 --no-rect --no-amp --limit-modes --cbqpoffs -3 --crqpoffs -3

Quote:
import vapoursynth as vs
core = vs.get_core()
core.max_cache_size = 32768
clip = core.lsmas.LWLibavSource(source="E:\sample.mkv", format="YUV420P10", cache=1)
clip = core.std.AssumeFPS(clip, fpsnum=24000, fpsden=1001)
clip = core.std.CropRel(clip=clip, left=0, right=0, top=280, bottom=280)

# color adjustment using ToneMap
clip = core.resize.Bilinear(clip=clip, format=vs.RGBS, range_in_s="limited", matrix_in_s="2020ncl", primaries_in_s="2020", primaries_s="2020", transfer_in_s="st2084", transfer_s="linear",dither_type="none", nominal_luminance=125)
clip = core.tonemap.Hable(clip=clip, exposure=2.000)
clip = core.resize.Bilinear(clip=clip, format=vs.YUV420P8, matrix_s="709", primaries_s="709",range_s="limited", transfer_s="709", transfer_in_s="linear", range_in_s="limited", dither_type="ordered")

clip.set_output()

Last edited by redbtn; 23rd October 2019 at 13:53.
redbtn is offline   Reply With Quote