Selur's Little Message Board

Full Version: avsInfo.exe has stopped working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Continuing this conversation from July...

Every time I drop a .avs into the Open File, this appears.
I'm still using the 64+32 build from July, _dev_2020.07.28-212013.exe

I just have to close the error, and that's that. Nothing bad seems to happen, just annoying.

What else do you need to trace this, make it stop? Smile

Quote:Problem signature:
  Problem Event Name: APPCRASH
  Application Name: avsInfo.exe
  Application Version: 0.0.0.0
  Application Timestamp: 5e79c80b
  Fault Module Name: AviSynth.dll
  Fault Module Version: 3.4.0.0
  Fault Module Timestamp: 5dbf3d81
  Exception Code: c0000005
  Exception Offset: 0000000000084b56
  OS Version: 6.1.7601.2.1.0.256.1
  Locale ID: 1033
  Additional Information 1: 7e8e
  Additional Information 2: 7e8ecfdceb26d81eb1befd46d24f834b
  Additional Information 3: 8770
  Additional Information 4: 8770382a7be71118b0d4369bee05261f

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=1...cid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
Quote:What else do you need to trace this, make it stop?
a debug output to start off Smile
(13.09.2020, 05:29)Selur Wrote: [ -> ]
Quote:What else do you need to trace this, make it stop?
a debug output to start off Smile

Where is it? (Forgot again. Blush )
Debug attached.
Okay, not surprised that Hybrid might not like your script:
Code:
AVISource("N:\DC final new\DC 03.avi")
AssumeTFF()
ConvertToYV12(interlaced=true)
# QTGMC(Preset="Faster")
# SelectEven

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)

#Overlay(QTGMC(), yd.Invert(), x=boxx, y=boxy, mask=bmask)
#Overlay(QTGMC(), bmask, x=boxx, y=boxy)

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:
Code:
Color: YUY2, Resolution: 640x480, Frame rate: 60000/1001 fps, Length: 260114 frames, TFF
Audio:
Sample rate: 48000 Hz, Channel count: 2
and doesn't output an error.

-> 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
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. Cool

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.
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. Smile

Using:
Code:
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
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