This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Evaluate: Unhandled C++ exception!
#1
When I enable some filters, AVS viewer window closes with error:

Quote:Evaluate: Unhandled C++ exception!
(C:\Windows\Temp\tempPreviewAvisynthFile05_32_20_701.avs, line 27)
..... avsViewer error output - END ---
Reply
#2
Preview script itself seems fine:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LSMASHSource.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\nnedi3.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi")
# loading source: L:\!_Video\P\!_Single\Denise Masino\Black Label XXX Vol. 1 - Muscle Elegance Productions\gotovo\Black Label - Scene1-.avi
# color sampling YV12@8, matrix: bt601, scantyp: top field first, luminance scale: limited
Source = LWLibavVideoSource("L:\!_Video\P\!_Single\Denise Masino\Black Label XXX Vol. 1 - Muscle Elegance Productions\gotovo\Black Label - Scene1-.avi",cache=false,dr=true,format="YUV420P8", prefer_hw=0)
# current resolution: 624x352
# deinterlacing
SourceFiltered = Source
Source = Source.AssumeBFF()
Source = Source.QTGMC(Preset="Medium", InputType=0, TR2=1, Sharpness=1.0, SourceMatch=0, Lossless=0, ediThreads=6, PrevGlobals="Reuse")# added PrevGlobals="Reuse" to handle multiple QTGMC instances
Source = Source.SelectOdd()
SourceFiltered = SourceFiltered.AssumeBFF()
SourceFiltered = SourceFiltered.QTGMC(Preset="Medium", InputType=0, TR2=1, Sharpness=1.0, SourceMatch=0, Lossless=0, ediThreads=6, PrevGlobals="Reuse")# added PrevGlobals="Reuse" to handle multiple QTGMC instances
SourceFiltered = SourceFiltered.SelectOdd()
# filtering
# anti-aliasing
SourceFiltered = SourceFiltered.Turnleft().nnedi3(field=1,nsize=4,dh=true).TurnRight().BicubicResize(SourceFiltered.width,SourceFiltered.height,0,0,0.5,0)
# stacking horizontal for filter preview
# adjust color to RGB32 (for preview)
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec601")
# adjust color to RGB32 (for preview)
Source = Source.ConvertToRGB32(matrix="Rec601")
StackHorizontal(Source, SourceFiltered)
PreFetch(6)
# setting output fps to 23.976fps
AssumeFPS(24000,1001)
#  output: color sampling RGB32@8, matrix: bt601, scantyp: progressive, luminance scale: limited
return last
Does it work if you reopen avsViewer?

Some filter combinations cause problems when they are killed and restarted ot fast, which is why 'Synth auto refresh' is disabled by default. (like mentioned in the tool-tip)

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
Quote:Does it work if you reopen avsViewer?
Yes, after reopen avsViewer, preview working.
Reply
#4
Quote:Yes, after reopen avsViewer, preview working.
Then it's an expexted effect and the reason why 'Synth auto refresh' is disabled by default.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#5
Quote:Then it's an expexted effect and the reason why 'Synth auto refresh' is disabled by default.

if the 'Synth auto refresh' is disabled, then it will become very difficult to work.
Reply
#6
Quote:if the 'Synth auto refresh' is disabled, then it will become very difficult to work.
Still there is nothing I can do about it.
-> Either don't use Hybrid or live with the fact that you sometimes have to restart the Avisynth Preview.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)