Use this as an Avisynthesizer_MOD template
Code:
#ASYNTHER BATCH_Goorawin
########################### Above uses name "BATCH_Goorawin" in Avisynthesizer Dialog box.
FN = "___FILE___" # No square brackets, is Batch Mode Avisynthesizer template (Avisynthesizer_Mod inserts filename here)
#FN= ".\Parade.avi" # Use this only for my testing, then comment out
SetMemoryMax(2048) # This is probably too Much, 1GB usually more than enough or just let it default.
FN = RT_GetFullPathName(FN) # EDIT: Probably not needed, should (I think) insert full pathname already.
INFO_FN = FN + "_INFO.Txt"
TIMES_FN = FN + "_TIMES.Txt"
LWLibavVideoSource(FN)
Audio=LWLibavAudioSource(FN)
PASS1=ExactDedup(firstpass=true, dupinfo=INFO_FN, times=TIMES_FN, maxdupcount=2, show=false)
RT_ForceProcess(PASS1)
PASS1 = 0
ExactDedup(firstpass=false, dupinfo=INFO_FN, times=TIMES_FN, maxdupcount=2, show=false)
BicubicResize(1920,1080)
AudioDubEx(Audio)
AssumeFPS(25)
Right click select many source files, "SendTo Avisynthesizer", and then select "BATCH_Goorawin", will auto create an instance of avs script for each selected source file.
Avisynthesizer_MOD
https://forum.doom9.org/showthread.p...ynthesizer_Mod
EDIT: Above script needs to have an *.avst extension in Avisynthesizer_Mod template directory.