Crop(22,0,-14,-14) # use both lines
AddBorders(18, 6, 18, 8) # use both lines # left,top,right,bottom
spline36resize(640,480)
ConvertToYUY2
a. script does not return anything (unlike some other tools Hybrid does not add 'return last' to scripts
b. your script does not include the scripts and load the files it relies on.
Strange thing is that avsInfo (64bit) version properly reports:
-> I'll compile a current dev version for Windows and send you a link via PM.
atm. my guess is that this is either some problem with the old version or this is a problem with AviSource not liking the fast open and release of the source file.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
No effect, still the same ... sort of.
The error is now instant. There used to be a lag of 2-3 seconds, between dragging AVS to input, and the pop-up error.
Using the 9/18 dev.
This issue aside, I see some other nice changes and additions in that new dev. Need time to play.
Note that I write my scripts in AvsPmod, and generally test encode a trim() piece as AVI before commit to Hybrid encode. Not running into any Avisynth errors there.
22.09.2020, 07:48 (This post was last modified: 22.09.2020, 07:53 by Selur.)
Did you 'fix' the problems I mentioned, like:
a. loading the dependencies
b. adding 'return last' to the end of your script
?
Have you tried using FFVideoSource instead of AviSource. Problem with AviSource is that it uses VFW and thus I can't easily reproduce the problem here.
Using:
ClearAutoloadDirs()
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\LoadDll.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\AddGrainC.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\dfttest.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\EEDI2.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\eedi3.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\FFT3DFilter.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\TDeint.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\MedianBlur2.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\nnedi3.dll")
LoadCPlugin("I:\Hybrid\32bit\AVISYN~1\yadif.dll")
LoadDLL("I:\Hybrid\32bit\avisynthPlugins\libfftw3f-3.dll")
Import("I:\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
Import("I:\Hybrid\32bit\avisynthPlugins\SMDegrain.avsi")
Import("I:\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi")
LoadCPlugin("I:\Hybrid\32bit\AVISYN~1\ffms2.dll")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: F:\TestClips&Co\files\interlaceAndTelecineSamples\interlaced\YUV422_sample.avi
# input color sampling YUY2@8, matrix:Rec.709, scantyp: top field first
# input luminance scale tv
FFVideoSource("F:\TESTCL~1\files\INTERL~1\INTERL~1\YUV422~1.AVI",cachefile="E:\Temp\avi_1deca8d5573c8cb8cd8489678b764f38_853323747_1_0.ffindex",fpsnum=25,colorspace="YUY2")
# current resolution: 720x576
# deinterlacing
ConvertToYV16(interlaced=true)
AssumeTFF()
Crop(22,0,-14,-14) # use both lines
AddBorders(18, 6, 18, 8) # use both lines # left,top,right,bottom
spline36resize(640,480)
ConvertToYUY2
PreFetch(8)
return last
as script Hybrid does open the file without problems here.
My guess is that the problem is due to a mix of Avisynth dlls or script versions being loaded between Hybrid and your auto-load Avisynth folder. (or an issue with AviSource or the vfw decoder)
Which is why Hybrids Avisynth scripts always start with 'ClearAutoloadDirs()' to avoid auto-loading.
---
Quote:Note that I write my scripts in AvsPmod, and generally test encode a trim() piece as AVI before commit to Hybrid encode. Not running into any Avisynth errors there.
Your AvsPmod is probably setup to use the system wide files in the Avisynth auto-load folder which whatever Avisynth version is installed in your system.
When loading it in Hybrid, Hybrid does not auto-load stuff.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.