output_width = 1280
output_height = 528
src_left=0
src_top=140
src_width=1920
src_height=800
input_tvrange = True
output_tvrange = True
input_matrix = "709"
output_matrix = "709"
input_transfer = "709"
output_colorspace = "YV24"
# You can achieve matrix & TV/PC range conversion here
nnedi3_resize16(lsb_in=False, tv_range=input_tvrange, matrix=input_matrix, output="RGB48Y")
# 1920x1080 stacked-16bit RGB conveyed on Y of YV12
nnedi3_resize16(output_width, output_height, lsb_in=False, lsb=True, tv_range=False, curve=input_transfer, Y=3, U=1, V=1)
# 1280x720 stacked-16bit RGB conveyed on Y of YV12
# Here for RGB48Y input, nnedi3_resize16 processes it the same as YV12, so we set "U=1, V=1" and don't set "output" here.
I've noticed this bug a while ago. Figured I should report it.
I'm not sure what causing it but changing these settings: nsize, nns, pscrn is causing artifacts to appear.
Usually I was noticing 'em on eyelashes. Examples can be seen on the following screenshots:
For comparison, here is the screenshot without any noticeable artifacts (a bit different settings as you can see)
nsize=3, nns=4, pscrn=2 gives artifacts as well, but almost invisible to the eye (in this scene at least)
with nsize=4, nns=4, pscrn=4 I don't see any artifacts.
The script contains only source reading line and the call of nnedi3_resize16 shown on the screenshots.
Thank you