Avisynth open failure: Crop: you cannot use crop to enlarge or 'shift' a clip
Trying to use xlogo. Runs fine in virtualdub-mpeg if I load mpg or avi file, use xlogo04.vdf and load bitmap.
When I try to use avisynth 2.5 script I get "Avisynth open failure: Crop: you cannot use crop to enlarge or 'shift' a clip" ## DLL Section ## LoadPlugin("c:\video\dlls\MPEG2DEC3.dll") LoadPlugin("c:\video\dlls\gripfit_yv12.dll") LoadPlugin("c:\video\dlls\unfilter_2.5\unfilter.dl l") LoadPlugin("c:\video\dlls\stmed_2.5a\STMedianFilte r.dll") LoadPlugin("c:\video\dlls\asharp.dll") LoadPlugin("c:\video\dlls\undot.dll") LoadPlugin("c:\video\dlls\decomb510.dll") LoadPlugin("c:\video\dlls\xlogo.dll") MaxTreshold = 1.50 nf = 0 # Current frame. #mpegsource("h:\testtibb\test.d2v") avisource("h:\testtibb\test.avi") Telecide(order=1,guide=1,post=2,vthresh=25) decimate() Xlogo("h:\testtibb\test_x_518_y_358_2.bmp",518,358 ) # undot() Limiter() asharp(1, 4) #BicubicResize(352, 350, 0, 0.6, 0, 1, 720, 478) GripCrop(352, 480) 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) ") # # #AddBorders(16, 81, 16, 81) #AddBorders(0, 65, 32, 65) GripBorders() #LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker! #LetterBox(0, 0, 16, 16) Limiter() # # ## Functions ### function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 } # #### |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.