Last active
October 23, 2025 07:54
-
-
Save lextra2/11106c55561c8d45c5601b90fee33f5a to your computer and use it in GitHub Desktop.
AVISYNTH-2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LWLibavVideoSource("C:\Users\ULTRA\Downloads\ffmpeg\06.mkv").Prefetch(0) | |
| DeBilinearResizeMT(1280, 720).Prefetch(0) | |
| z_ConvertFormat(pixel_type="RGBPS", colorspace_op="709:709:709:limited=>rgb:709:709:full", dither_type="error_diffusion", cpu_type="avx2", use_props=0).Prefetch(0) | |
| mlrt_ort(network_path="C:\Program Files (x86)\AviSynth+\plugins64+\mlrt_ort_rt\models\2x_Ani4Kv2_G6i2_Compact_107500_fp32.onnx", builtin=False, provider="DML", fp16=True, num_streams=1).Prefetch(2) | |
| z_ConvertFormat(pixel_type="YUV420P8", colorspace_op="rgb:709:709:full=>709:709:709:limited", dither_type="error_diffusion", cpu_type="avx2", use_props=0).Prefetch(0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LWLibavVideoSource("C:\Users\ULTRA\Downloads\ffmpeg\06.mkv").Prefetch(0) | |
| z_ConvertFormat(pixel_type="RGBPS", colorspace_op="709:709:709:limited=>rgb:709:709:full", dither_type="error_diffusion", cpu_type="avx2", use_props=0).Prefetch(0) | |
| RIFE(model=68, model_path="C:\Program Files (x86)\AviSynth+\plugins64+\rife-v4.24_ensembleTrue").Prefetch(2) | |
| z_ConvertFormat(pixel_type="YUV420P8", colorspace_op="rgb:709:709:full=>709:709:709:limited", dither_type="error_diffusion", cpu_type="avx2", use_props=0).Prefetch(0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 321 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LWLibavVideoSource("C:\Users\ULTRA\Downloads\ffmpeg\OVA.mkv").Prefetch(0) | |
| ConvertBits(32).Prefetch(0) | |
| BM3D_CUDA(radius=2).Prefetch(8) | |
| BM3D_VAggregate(radius=2).Prefetch(8) | |
| ConvertBits(16).Prefetch(0) | |
| ConvertBits(10, dither=0).Prefetch(0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LWLibavVideoSource("C:\Users\ULTRA\Downloads\ffmpeg\OVA.mkv").Prefetch(0) | |
| EZdenoise(Chroma=true).Prefetch(11) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # EZdenoise v5 | |
| function EZdenoise(clip Input, int "thSAD", int "thSADC", int "TR", int "BLKSize", int "Overlap", int "Pel", bool "Chroma", bool "out16", int "Plane") | |
| { | |
| thSAD = default(thSAD, 150) | |
| thSADC = default(thSADC, thSAD) | |
| TR = default(TR, 3) | |
| BLKSize = default(BLKSize, 8) | |
| Overlap = default(Overlap, 4) | |
| Pel = default(Pel, 1) | |
| Chroma = default(Chroma, True) | |
| out16 = default(out16, False) | |
| # Ternary operator to avoid using UV planes, when Chroma is set to "False". | |
| Plane = Chroma ? 4 : 1 | |
| Super = Input.MSuper(Pel=Pel, Chroma=Chroma) | |
| Multi_Vector = Super.MAnalyse(Multi=True, Delta=TR, BLKSize=BLKSize, Overlap=Overlap, Chroma=Chroma) | |
| Input.MDegrainN(Super, Multi_Vector, TR, thSAD=thSAD, thSAD2=int(float(thSAD*0.9)), thSADC=thSADC, thSADC2=int(float(thSADC*0.9)), out16=out16, Plane=Plane) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LWLibavVideoSource("C:\Users\ULTRA\Downloads\ffmpeg\S01E01.mkv", cache=false).Prefetch(0) | |
| QTGMC(Preset="Very Slow", Sharpness=1.0, FPSDivisor=2).Prefetch(9) | |
| z_ConvertFormat(pixel_type="RGBPS", colorspace_op="601:601:170m:limited=>rgb:709:709:full", dither_type="ordered", cpu_type="avx2", use_props=0).Prefetch(0) | |
| mlrt_ort(network_path="C:\Program Files (x86)\AviSynth+\plugins64+\mlrt_ort_rt\models\2x_AniSD_AC_G6i2a_Compact_72500_fp32.onnx", builtin=False, provider="DML", fp16=True, num_streams=1).Prefetch(2) | |
| z_ConvertFormat(height=1080, pixel_type="YUV420P8", colorspace_op="rgb:709:709:full=>709:709:709:limited", dither_type="error_diffusion", cpu_type="avx2", use_props=0).Prefetch(0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LWLibavVideoSource("C:\Video\SPONGEBOB_DISC1_NTSC\D3_t02.mkv") | |
| tfm(slow=2, mChroma=false) | |
| tdecimate(mode=1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MPEG2Source("C:\Users\Admin\Downloads\New folder\E3_t06.d2v") | |
| TFM(d2v="C:\Users\Admin\Downloads\New folder\E3_t06.d2v", slow=2, mode=5) | |
| TDecimate(mode=1) | |
| Crop(6, 0, -6, -0) | |
| Spline36Resize(720, 540) | |
| FFT3DFilter(sigma=10, bt=5, bw=32, bh=32, ow=16, oh=16, plane=3) | |
| Autolevels(filterRadius=30).Levels(0, 1, 255, 0, 235) | |
| Prefetch(4) | |
| ConvertBits(32).ConvertToPlanarRGB() | |
| mlrt_ort(network_path="C:\Program Files (x86)\AviSynth+\plugins64+\models2\2x_Garfieldjr_span48.onnx", builtin=false, provider="dml") | |
| #4445 | |
| #7590 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function ShowMe(clip Input) | |
| { | |
| Super = Input.MSuper(hpad=0, vpad=0, pel=1) | |
| Vector = MAnalyse(Super) | |
| MShow(Super, Vector, showsad=true) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LWLibavVideoSource("C:\Users\Admin\Downloads\New folder\S01E01.mkv") | |
| global c = last | |
| global n = DoubleWeave(c).SelectOdd() | |
| global p = DoubleWeave(c).SelectOdd().DuplicateFrame(0) | |
| global c = VMAF2(c,vinverse(c),feature = 0) | |
| global n = VMAF2(n,vinverse(n),feature = 0) | |
| global p = VMAF2(p,vinverse(p),feature = 0) | |
| c | |
| ScriptClip(""" | |
| n_metric = propGetFloat(n,"psnr_y") + propGetFloat(n,"psnr_cb") + propGetFloat(n,"psnr_cr") | |
| c_metric = propGetFloat(c,"psnr_y") + propGetFloat(c,"psnr_cb") + propGetFloat(c,"psnr_cr") | |
| p_metric = propGetFloat(p,"psnr_y") + propGetFloat(p,"psnr_cb") + propGetFloat(p,"psnr_cr") | |
| n_metric > c_metric && n_metric > p_metric ? n : \ | |
| p_metric > c_metric && p_metric > n_metric ? p : c | |
| """) |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.videohelp.com/software/DGDecNV