▼
1.26 GB 1:16:48 HEVC 1440x1080 10 bit 25.000 2147 kb/s MPEG Audio 2ch 192 kb/s 48.0 kHz ffmpeg32.avs
SetWorkingDir("C:\Programs\tvaiplus") # tvaiplus (ffmpeg32) directory
SetMemoryMax(4096)
SetMaxCPU("avx2") # avx
LoadPlugin("common\avss.dll")
LoadPlugin("common\nnedi3_AVX2.dll") # nnedi3_AVX.dll
LoadPlugin("common\mvtools2.dll")
LoadPlugin("common\masktools2.dll")
LoadPlugin("common\VerticalCleanerS.dll")
LoadPlugin("common\RgTools.dll")
LoadPlugin("common\fft3dfilter.dll")
Import("common\avss.avsi")
Import("common\Zs_RF_Shared.avsi")
LoadPlugin("GetSystemEnv\GetSystemEnv.dll")
input_file=GetSystemEnv("input_file")
DirectShowSource2(input_file, fps=25, preroll=15, lavs="L3", lavd="L3")
ConvertToYV12(interlaced=true)
Import("QTGMC\QTGMC.avsi")
QTGMC(Preset="medium", SourceMatch=3, Lossless=2, Sharpness=1, TR2=1, NoiseRestore=1, FPSDivisor=2, EdiThreads=1)
LoadPlugin("InpaintDelogo\grunt.dll")
LoadPlugin("InpaintDelogo\RT_Stats_x86.dll")
LoadPlugin("InpaintDelogo\AvsInPaint.dll")
LoadPlugin("InpaintDelogo\neo-fft3d.dll")
Import("InpaintDelogo\InpaintDelogo.avsi")
InpaintDelogo(mask=ScriptDir()+"\logo.bmp",Loc="66,42,66,28")
InpaintDelogo(mask=ScriptDir()+"\logo.bmp",Loc="574,40,70,54")
dm = 2.4
str = 0.8
ls =50
hs =50
Import("Dehalo\Dehalo_alpha_MT2.avsi")
dehalo_alpha(rx=dm,ry=dm,darkstr=0.0,brightstr=str,lowsens=ls,highsens=hs,ss=1.0)
dehalo_alpha(rx=dm,ry=dm,darkstr=str,brightstr=0.0,lowsens=ls,highsens=hs,ss=1.0)
LoadPlugin("RemoveDirt\RemoveDirt.dll")
Import("RemoveDirt\RemoveDirtMC.avs")
Import("RemoveDirt\RemoveSpotsMC.avs")
RemoveSpotsMC()
Tweak(hue=0, sat=0.96, bright=0, cont=1, coring=false, dither=false)
LoadPlugin("AutoLevels\AutoLevels_x86.dll")
btb = 24
blr = 32
bf = last
ab = autolevels(bf,filterRadius=5,sceneChgThresh=10,ignore_low=0.003,ignore_high=0.003,output_low=0,output_high=215, border_t=btb, border_b=btb, border_l=blr, border_r=blr, autogamma=true)
Overlay(bf, ab, mode="blend", opacity=0.15)
LoadPlugin("WhiteBalance\WhiteBalance.dll")
st = last
co = coloryuv(autowhite = true)
Overlay(st,co, mode="blend", opacity=0.5)
Import("NonlinUSM\NonlinUSM.avs")
NonlinUSM(z=6, pow=1, str=0.1, rad=36)
tvai.txt
scale=w=768:h=576,setsar=1,crop=w=738:h=570:x=8:y=4,tvai_up=model=prob-4:scale=0:w=1440:h=1080:preblur=0:noise=0:details=0.1:halo=0.1:blur=0:compression=0:estimate=8:device=0:vram=1:instances=0,scale=w=1440:h=1080:flags=lanczos:threads=0:force_original_aspect_ratio=decrease,pad=1440:1080:-1:-1:color=black
ffmpeg.txt
-c:v libx265 -x265-params sar=1:aq-mode=2:deblock=-3,-3:crf=22.0:interlace=0:no-info=1
logo.bmp