User Tools

Site Tools


video:neuralupscale

1080p to 4K Neural Net Upscale

ideal for 4:4:4 1080p master/prores video (chroma resolution is fullsize same as 4K 4:2:0) - nnedi3_rpow2 scaler

Download

AVISynth
nnedi3_rpow
FFmpeg
Deblock

uhqresize.avs
input = "input.mov"
aud = ffaudiosource(input)
ffvideosource(input)
ColorYUV(levels="PC->TV")
ConvertToYUV444
nnedi3_rpow2(rfactor=2,nns=4,cshift="Spline36Resize",pscrn=4,qual=2)
aWarpSharp2(type=1,depth=10)
audiodub(aud)

* upscale by factor 2 and correct shifted colors by Spline36Resize, gently sharpened.
add fwidth=3840, fheight=2160 to resize

Process 1080p saved as 1080i

Assume PsF material
AssumeFieldBased()
Deblock(quant=25, aOffset=0, bOffset=0, planes=“yuv”)
Weave

uhqresize.bat
c:\programs\stream\ffmpeg -i "uhqresize.avs" -pix_fmt yuv420p -codec:v libx265 -c:a libopus -b:a 320k -crf 18 -preset slow output.mkv
video/neuralupscale.txt · Last modified: 2020/11/13 22:44 by Jan Forman