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:
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.
---
When loading it in Hybrid, Hybrid does not auto-load stuff.
Cu Selur
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()
boxx = 82
boxy = 380
boxw = 266
boxh = 40
box = Crop(boxx, boxy, boxw, boxh).SelectEvery(1,0,0)
yd = Crop(boxx, boxy, boxw, boxh).Yadif(mode=1, order=1).QTGMC(InputType=1)
bmask = box.Crop(2,2,-2,-2).ColorYUV(off_y=256).AddBorders(2,2,2,2).Blur(1.0).Blur(1.0).Blur(1.0)
Overlay(QTGMC(preset="fast"), yd, x=boxx, y=boxy, mask=bmask)
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
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.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.