View Single Post
Old 3rd September 2017, 00:35   #2  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,902
First thing first.
We don't actually have a sample, but it could be that the master file was 720p and that it has been upscaled to 1920x1080 (in Studios it's generally either Bilinear or Bicubic).
If that's the case, I would personally reverse upscale in 16bit to 1280x720 and encode it to 10bit 4:4:4.
Now... let's talk about anime. Generally, anime are made in 1280x720 or slightly higher resolution like 810p and animation studios work in RGB 'till the very last moment, when they export to their target (Generally Apple ProRes 10bit 4:2:2 planar yv16). The reason why people do reverse upscale and encode Blu-ray (1080p 4:2:0 8bit) in 1280x720 10bit 4:4:4 is because they try to preserve chroma, which makes sense. But, if they use a 1080p 4:2:0 8bit source and encode in 1080p 4:4:4, then they are just upscaling chroma, which doesn't make sense.


In your case, this would be my script:

Code:
#your favourite index (LWLibav, FFMpeg, DGI)

Dither_convert_8_to_16() 
ly = debicubicy(1280,720,lsb_inout=true) 
lu = utoy().dither_resize16(1280,720,kernel="spline64",invks=true,invkstaps=3,src_left=0.25,u=1,v=1) 
lv = vtoy().dither_resize16(1280,720,kernel="spline64",invks=true,invkstaps=3,src_left=0.25,u=1,v=1) 
ytouv(lu,lv,ly)
Dither_quantize (10, reducerange=true, mode=6)
Dither_out()

Last edited by FranceBB; 3rd September 2017 at 00:51.
FranceBB is offline   Reply With Quote