JasinChen
帖子: 43
注册时间: 2017-06-10 22:14

vapoursynth editor预览是否仍不支持高色深

之前就有看帖子说vapoursynth editor不支持高于8bit画面的预览,今天试了一下确实是这样。

上图

代码: 全选

clip = core.f3kdb.Deband(clip, output_depth=8,preset='high/nograin')
图片

代码: 全选

clip = core.f3kdb.Deband(clip, output_depth=10,preset='high/nograin')
图片

代码: 全选

clip = core.f3kdb.Deband(clip, output_depth=16,preset='high/nograin')
图片

可以看出来,精度越高色带越明显。但是用x265压出10bit视频后色带又消失了。
这个是否可以说是vapoursynth editor的锅
头像
Holy
核心会员
核心会员
帖子: 235
注册时间: 2010-09-24 9:28

Re: vapoursynth editor预览是否仍不支持高色深

vsedit 是用 core.resize 轉成 RGB24 來顯示預覽畫面,而 core.resize 的 dither_type 預設是 none,才會造成你看到的結果。你可先自行轉成 RGB24 並加上 error diffusion 做 dithering 再預覽看看。
图片
JasinChen
帖子: 43
注册时间: 2017-06-10 22:14

Re: vapoursynth editor预览是否仍不支持高色深

Holy 写了: 2018-05-10 0:07 vsedit 是用 core.resize 轉成 RGB24 來顯示預覽畫面,而 core.resize 的 dither_type 預設是 none,才會造成你看到的結果。你可先自行轉成 RGB24 並加上 error diffusion 做 dithering 再預覽看看。
原来如此,感谢指教!
fch1993
帖子: 213
注册时间: 2012-06-12 11:56

Re: vapoursynth editor预览是否仍不支持高色深

Holy 写了: 2018-05-10 0:07 vsedit 是用 core.resize 轉成 RGB24 來顯示預覽畫面,而 core.resize 的 dither_type 預設是 none,才會造成你看到的結果。你可先自行轉成 RGB24 並加上 error diffusion 做 dithering 再預覽看看。
问一下HDR的视频在VSedit中预览应该怎么写。
头像
Holy
核心会员
核心会员
帖子: 235
注册时间: 2010-09-24 9:28

Re: vapoursynth editor预览是否仍不支持高色深

fch1993 写了: 2018-05-20 21:43 问一下HDR的视频在VSedit中预览应该怎么写。

若是指將 HDR10 轉成 SDR 的話,則類似下面這樣。
clip = core.resize.Bicubic(clip, format=vs.RGBS, transfer_s='linear', nominal_luminance=1000)
clip = core.tonemap.Mobius(clip)

# preview
#clip = core.resize.Bicubic(clip, 1920, 1080, format=vs.RGB24, transfer_s='709', primaries_s='709', dither_type='error_diffusion')

# encode
#clip = core.resize.Bicubic(clip, 1920, 1080, format=vs.YUV420P10, matrix_s='709', transfer_s='709', primaries_s='709', dither_type='error_diffusion')
图片

回到 “VapourSynth”