分页: 1 / 1

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

发表于 : 2018-05-09 13:36
JasinChen
之前就有看帖子说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的锅

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

发表于 : 2018-05-10 0:07
Holy
vsedit 是用 core.resize 轉成 RGB24 來顯示預覽畫面,而 core.resize 的 dither_type 預設是 none,才會造成你看到的結果。你可先自行轉成 RGB24 並加上 error diffusion 做 dithering 再預覽看看。

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

发表于 : 2018-05-15 23:44
JasinChen
Holy 写了: 2018-05-10 0:07 vsedit 是用 core.resize 轉成 RGB24 來顯示預覽畫面,而 core.resize 的 dither_type 預設是 none,才會造成你看到的結果。你可先自行轉成 RGB24 並加上 error diffusion 做 dithering 再預覽看看。
原来如此,感谢指教!

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

发表于 : 2018-05-20 21:43
fch1993
Holy 写了: 2018-05-10 0:07 vsedit 是用 core.resize 轉成 RGB24 來顯示預覽畫面,而 core.resize 的 dither_type 預設是 none,才會造成你看到的結果。你可先自行轉成 RGB24 並加上 error diffusion 做 dithering 再預覽看看。
问一下HDR的视频在VSedit中预览应该怎么写。

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

发表于 : 2018-05-21 11:43
Holy
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')