dzwds
帖子: 6
注册时间: 2012-08-04 16:25

[已解决]小白裸压UHD-HDR到1080p-HDR有轻微色差

2018-03-04 2:05

原盘颜色泛红
图片

RIP的颜色轻微偏绿
图片

vapoursynth是这么写的

import vapoursynth as vs
import mvsfunc as mvf
import havsfunc as haf
import vsTAAmbk as taa
import CSMOD as cs
import adjust
core = vs.get_core(accept_lowercase=True)
core.max_cache_size = 8192

core = vs.get_core()
src = core.lsmas.LWLibavSource(r"H:\00001.mkv", threads=1)
src = core.fmtc.resample (clip=src, w=1920, h=1080, kernel="blackman")
src.set_output()

可最后hdr信息和原盘是一样的,并且也显示是bt.2020了,说明x265编码过程中有颜色转换了,那么怎么写脚本、加载那些插件或x265如何设置才能不用转换色彩直接输出原本bt.2020呢。小白一枚只会裸压,现在只有色彩这个问题很头疼 {:xiaocry}
==================================================================================



import vapoursynth as vs
import mvsfunc as mvf
import havsfunc as haf
import sys
core = vs.get_core(accept_lowercase=True,threads=4)
core.max_cache_size = 8192
a=r"K:\Movies\Batman_v_Superman.mkv"
src = core.lsmas.LWLibavSource(a,threads=1)
w=1920
h=1080
src = src.resize.Lanczos(w,h)
src.set_output()
这么整就没问题了 {:cat_17}

回到 “理论讨论 / Theoratical discussion”