View Single Post
Old 25th September 2019, 12:14   #5  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
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.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 3rd October 2019 at 17:27.
StainlessS is offline   Reply With Quote