Versions were pretty fragmented, so wanted to clean that up and softsub the last hardsubbed xvid one.
This is the JP version, not the English version.
Video:
AV1 10bit main profile 0,crf 18
Audio:
192kbit AC3 (Remux)
Subs:
1-2: Rocket Gang
4: PocketMonsters-fansubs (OCRed)
3,5-16:IrochigaiSubs
```
def postprocess(n, f, clip, deinterlaced):
if f.props['_Combed'] > 0:
return deinterlaced
else:
return clip
video = core.ffms2.Source(source="")
matched_clip = core.vivtc.VFM(video, order=1,mode=0,cthresh=8,micmatch=2,mi=6,scthresh=8)
deinterlaced_clip = haf.QTGMC(video, Preset='very slow', TR0=2, TR1=2, TR2=1, TFF=True, SourceMatch=3 ).std.SelectEvery( cycle=2, offsets=0)
postprocessed_clip = core.std.FrameEval(matched_clip, functools.partial(postprocess, clip=matched_clip, deinterlaced=deinterlaced_clip), prop_src=matched_clip)
video = core.vivtc.VDecimate(postprocessed_clip)
video = core.knlm.KNLMeansCL(video, d=3, a=6, s=4, h=0.6, wmode=0, wref=1.0, device_type="gpu")
video2 = core.std.Crop(video,4,2,0,0)
video = core.fmtc.resample (video2, css="444")
video = core.fmtc.bitdepth(video, bits=32)
video = core.fmtc.matrix(video,mat="601",col_fam=vs.RGB)
video = core.ort.Model(video,network_path="RealESRGAN_x4plus_anime_6B.onnx",fp16 = True,provider = "DML")
video = core.resize.Spline64(video,width=720,height=540, matrix_s="170m", format = vs.YUV420P10)
video2 = core.fmtc.bitdepth(video2, bits=16)
video2 = core.placebo.Shader(video2,shader="AiUpscale_HQ_2x_LineArt.glsl",width= video2.width * 2 , height = video2.height * 2)
video2 = core.resize.Spline64(video2,width=720,height=540)
video2 = core.fmtc.resample (video2, css="420")
video2 = core.fmtc.bitdepth(video2, bits=10)
video = core.std.Merge(video2,video, weight=.15)
video.set_output()
```
Comments - 3
kaiserstar1
2ndfire (uploader)
rusty_mst