Avisynth: Illegal resolution?
I seem to be getting an illegal resolution of 356x56 when I use the current script..here is the video.avs from tok
## DLL Section ## # LoadPlugin("C:\Filters25\MPEG2Dec3.dll") LoadPlugin("C:\Filters25\GripFit_YV12.dll") LoadPlugin("C:\Filters25\STMedianFilter.dll") LoadPlugin("C:\Filters25\asharp.dll") LoadPlugin("C:\Filters25\unfilter.dll") LoadPlugin("C:\Filters25\undot.dll") # #### ## Defined Variables and Constants ## # MaxTreshold = 1.50 nf = 0 # Current frame. # #### ## Main section and static filters ### # Mpeg2Source("C:\DVD\evolution.d2v") # undot() Limiter() asharp(1, 4) GripCrop(352, 240, overscan=1, source_anamorphic=false) GripSize(resizer="BicubicResize") STMedianFilter(8, 32, 0, 0 ) MergeChroma(blur(MaxTreshold)) MergeLuma(blur(0.1)) # # ## Linear Motion Adaptive Filtering ## # # ( Portions from AviSynth's manual ) - This will apply temporalsoften to # very static scenes, and apply variable blur on moving scenes. # We also assign a variable - and this is why a line break is inserted: SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \ unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \ TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ") # # # GripBorders() #LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker! Limiter() # # ## Functions ### function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 } # #### AssumeFPS(24.000) LoadPlugin("C:\TOK53\ToK_EXTRAS\Sampler\Sampler-2.5.dll") oldfps = framerate AssumeFps(oldfps *1) Sampler(samples=0,length=24) AssumeFps(oldfps) David |
Hi David,
Did you use DVD2AVI version 1.77.3 :?: That's what we're using with AviSynth 2.52. Try to open your .avs with Vdub, and see if you get an error. -kwag |
Yep I used DVD2AVI 1.77.3, I opened with vdub an got an error. errors on line 2 and line 21
David |
|
Thanks Kwag :D Its working great :!:
David |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.