【求助】有关2160p UHD Blu-ray HEVC 的视频
megui吧
全部回复
仅看楼主
level 2
大家都最近一个月4K原盘大爆发
那么问题就来了,4K原盘这么转换才能把颜色搞正常
播放器能调正常,但是megui里颜色还是灰灰的,avs要怎么写啊?
视频是2160p / 23.976 fps / 16:9 / Main 10 Profile 5.1 High / 4:2:0 / 10 bits / HDR / BT.2020 / 的
2017年11月09日 14点11分 1
level 12
如果要压制成普通的x264的话,色域要从BT2020转成BT709,即HDR转SDR
2017年11月18日 03点11分 3
level 2
@捕鲸叉fly 请问在megui中的脚本怎么写?
2017年11月25日 15点11分 4
level 12
@重生的雄狮 AVS好久没用过了,如果想裸压的话以下命令行可以参考一下
--preset veryslow --colorprim bt2020 --transfer smpte-st-2084 --colormatrix bt2020nc --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000 ,50)" --max-cll "1529,380" --uhd-bd --hdr --hrd --hdr-opt --deblock -1:-1 --ctu 32 --crf 17.5 --pbratio 1.2 --cbqpoffs -2 --crqpoffs -2 --no-sao --me 3 --subme 5 --merange 57 --b-intra --no-rect --no-amp --ref 4 --weightb --keyint 300 --min-keyint 1 --bframes 6 --aq-mode 2 --aq-strength 0.9 --rd 4 --psy-rd 2.0 --psy-rdoq 3.0 --rdoq-level 2 --no-open-gop --rc-lookahead 80 --scenecut 40 --qcomp 0.65 --no-strong-intra-smoothing
如果想HDR转SDR,这个vapoursynth代码可以参考一下:
import vapoursynth as vs
core = vs.get_core()c = core.ffms2.Source(source = 'path/to/file')source_peak=1200 #set manuallyc=core.resize.Bilinear(clip=c, format=vs.YUV444PS, range_in_s="limited", range_s="full",chromaloc_in_s="center",dither_type="none")c=core.resize.Bilinear(clip=c, format=vs.RGBS, matrix_in_s="2020ncl", range_in_s="full",dither_type="none")c=core.resize.Bilinear(clip=c, format=vs.RGBS, transfer_in_s="st2084", transfer_s="linear",dither_type="none", nominal_luminance=source_peak)exposure_bias=source_peak/100#hable/uncharted tone mappingtm = core.std.Expr(c, expr="x {exposure_bias} * 0.15 x {exposure_bias} * * 0.05 + * 0.004 + x {exposure_bias} * 0.15 x {exposure_bias} * * 0.50 + * 0.06 + / 0.02 0.30 / - ".format(exposure_bias=exposure_bias),format=vs.RGBS)#12=1200 nits / 100 nitsw = core.std.Expr(c, expr="{exposure_bias} 0.15 {exposure_bias} * 0.05 + * 0.004 + {exposure_bias} 0.15 {exposure_bias} * 0.50 + * 0.06 + / 0.02 0.30 / - ".format(exposure_bias=exposure_bias),format=vs.RGBS)# c = core.std.Expr(clips=[tm,w], expr=" x 1 y / * ",format=vs.RGBS)#c=core.fmtc.primaries(clip=c, prims="2020", primd="709")c=core.resize.Bilinear(clip=c, format=vs.RGBS, primaries_in_s="2020", primaries_s="709",dither_type="none")c=core.resize.Bilinear(clip=c, format=vs.RGBS, transfer_in_s="linear", transfer_s="709",dither_type="none")c=core.resize.Bilinear(clip=c, format=vs.YUV420P8, matrix_s="709", range_in_s="full",range_s="limited",chromaloc_in_s="center")c.set_output()
2017年12月09日 06点12分 5
有空试试
2017年12月12日 17点12分
level 2
请问怎么将hevc视频导入megui啊
2019年01月27日 02点01分 7
level 1
楼主搞明白了,怎么写AVS,听说需要个插件?
2021年07月30日 09点07分 8
1