elbennodiablo
I've added these lines to script (Here:
http://www.mediafire.com/download/p8...idb/Frames.zip)
Code:
RT_DebugF("\n\nFILM = %s",film)
RT_DebugF("DOING PARAMETERS")
RT_DebugF("DONE PARAMETERS : Set MemoryMax")
RT_DebugF("Set MemoryMax DONE : Load Plugins")
RT_DebugF("Load Plugins DONE : Get AviSource")
RT_DebugF("Get AviSource DONE : Crop")
RT_DebugF("Crop Source DONE : Stabilizing")
RT_DebugF("Stabilize DONE : Denoise")
RT_DebugF("Denoise DONE : Sharpen")
RT_DebugF("Denoise DONE : Interpolate") # Oops
RT_DebugF("Interpolate DONE : Result1")
RT_DebugF("Result1 DONE : Result3")
RT_DebugF("Result3 DONE : Result2")
RT_DebugF("Result2 DONE : Result4")
RT_DebugF("Result4 DONE : Source4")
RT_DebugF("Source4 DONE : Stack")
RT_DebugF("Stack DONE : Eval")
RT_DebugF("Eval DONE")
and a "return Last" after the Eval.
Should produce something like this in Debugview
Code:
00000005 0.60150105 RT_DebugF: FILM = D:\FRAMES\frames.avi
00000006 0.60159677 RT_DebugF: DOING PARAMETERS
00000007 0.60190696 RT_DebugF: DONE PARAMETERS : Set MemoryMax
00000008 0.60225672 RT_DebugF: Set MemoryMax DONE : Load Plugins
00000010 0.61894488 RT_DebugF: Load Plugins DONE : Get AviSource
00000011 0.67595273 RT_DebugF: Get AviSource DONE : Crop
00000012 0.67660767 RT_DebugF: Crop Source DONE : Stabilizing
00000013 0.70261818 RT_DebugF: Stabilize DONE : Denoise
00000014 0.80626643 RT_DebugF: Denoise DONE : Sharpen
00000015 0.81613147 RT_DebugF: Denoise DONE : Interpolate # oops
00000016 0.81626463 RT_DebugF: Interpolate DONE : Result1
00000017 0.81971866 RT_DebugF: Result1 DONE : Result3
00000018 0.82288140 RT_DebugF: Result3 DONE : Result2
00000019 0.82504261 RT_DebugF: Result2 DONE : Result4
00000020 0.82685977 RT_DebugF: Result4 DONE : Source4
00000021 0.82758445 RT_DebugF: Source4 DONE : Stack
00000022 0.83403766 RT_DebugF: Stack DONE : Eval
00000023 0.83468759 RT_DebugF: Eval DONE
The Debug lines are output in script order and any Filter has its constructor also called in script order (non MT avisynth, no idea about MT).
If it gets all the way to the Eval line then it really would have to be problem in MeGUI I think.
EDIT:
Denoise should read Sharpen, easily changed in linked script.
Also see NOTE, in last paragraph of previous post.
EDIT: OK, I've put it through MeGUI OK.
Here is result I got, 4 times opened in MeGUI (Before Preview, number probably depends upon settings eg source detector etc)
Code:
00000001 0.00000000 FFMS2 avs plugin: Initializing...
00000002 0.00004937 FFMS2 - avs 2.6 mode
00000003 0.11882889 RT_DebugF:
00000004 0.11884817 RT_DebugF:
00000005 0.11887187 RT_DebugF: FILM = D:\FRAMES\frames.avi
00000006 0.11896720 RT_DebugF: DOING PARAMETERS
00000007 0.11926990 RT_DebugF: DONE PARAMETERS : Set MemoryMax
00000008 0.11961066 RT_DebugF: Set MemoryMax DONE : Load Plugins
00000009 0.13258466 RemoveDirt 0.9
00000010 0.13494150 RT_DebugF: Load Plugins DONE : Get AviSource
00000011 0.19484177 RT_DebugF: Get AviSource DONE : Crop
00000012 0.19537163 RT_DebugF: Crop Source DONE : Stabilizing
00000013 0.21945123 RT_DebugF: Stabilize DONE : Denoise
00000014 0.32367137 RT_DebugF: Denoise DONE : Sharpen
00000015 0.33339244 RT_DebugF: Sharpen DONE : Interpolate
00000016 0.33352518 RT_DebugF: Interpolate DONE : Result1
00000017 0.33696708 RT_DebugF: Result1 DONE : Result3
00000018 0.34014246 RT_DebugF: Result3 DONE : Result2
00000019 0.34266844 RT_DebugF: Result2 DONE : Result4
00000020 0.34410685 RT_DebugF: Result4 DONE : Source4
00000021 0.34481767 RT_DebugF: Source4 DONE : Stack
00000022 0.35119697 RT_DebugF: Stack DONE : Eval
00000023 0.35183230 RT_DebugF: Eval DONE
00000024 0.78333014 FFMS2 avs plugin: Initializing...
00000025 0.78337759 FFMS2 - avs 2.6 mode
00000026 0.90251386 RT_DebugF:
00000027 0.90253317 RT_DebugF:
00000028 0.90255731 RT_DebugF: FILM = D:\FRAMES\frames.avi
00000029 0.90265137 RT_DebugF: DOING PARAMETERS
00000030 0.90294999 RT_DebugF: DONE PARAMETERS : Set MemoryMax
00000031 0.90328592 RT_DebugF: Set MemoryMax DONE : Load Plugins
00000032 0.91621315 RemoveDirt 0.9
00000033 0.91855925 RT_DebugF: Load Plugins DONE : Get AviSource
00000034 0.95205951 RT_DebugF: Get AviSource DONE : Crop
00000035 0.95271254 RT_DebugF: Crop Source DONE : Stabilizing
00000036 0.97634923 RT_DebugF: Stabilize DONE : Denoise
00000037 1.08068645 RT_DebugF: Denoise DONE : Sharpen
00000038 1.09038162 RT_DebugF: Sharpen DONE : Interpolate
00000039 1.09051287 RT_DebugF: Interpolate DONE : Result1
00000040 1.09484911 RT_DebugF: Result1 DONE : Result3
00000041 1.09801018 RT_DebugF: Result3 DONE : Result2
00000042 1.10007620 RT_DebugF: Result2 DONE : Result4
00000043 1.10188591 RT_DebugF: Result4 DONE : Source4
00000044 1.10271096 RT_DebugF: Source4 DONE : Stack
00000045 1.10907829 RT_DebugF: Stack DONE : Eval
00000046 1.10970640 RT_DebugF: Eval DONE
00000047 1.44251180 FFMS2 avs plugin: Initializing...
00000048 1.44255936 FFMS2 - avs 2.6 mode
00000049 1.56131518 RT_DebugF:
00000050 1.56133366 RT_DebugF:
00000051 1.56136513 RT_DebugF: FILM = D:\FRAMES\frames.avi
00000052 1.56145990 RT_DebugF: DOING PARAMETERS
00000053 1.56176162 RT_DebugF: DONE PARAMETERS : Set MemoryMax
00000054 1.56211233 RT_DebugF: Set MemoryMax DONE : Load Plugins
00000055 1.57448709 RemoveDirt 0.9
00000056 1.57684755 RT_DebugF: Load Plugins DONE : Get AviSource
00000057 1.59341848 RT_DebugF: Get AviSource DONE : Crop
00000058 1.59389615 RT_DebugF: Crop Source DONE : Stabilizing
00000059 1.61701894 RT_DebugF: Stabilize DONE : Denoise
00000060 1.72179067 RT_DebugF: Denoise DONE : Sharpen
00000061 1.73217332 RT_DebugF: Sharpen DONE : Interpolate
00000062 1.73230469 RT_DebugF: Interpolate DONE : Result1
00000063 1.73578584 RT_DebugF: Result1 DONE : Result3
00000064 1.73894203 RT_DebugF: Result3 DONE : Result2
00000065 1.74101222 RT_DebugF: Result2 DONE : Result4
00000066 1.74282789 RT_DebugF: Result4 DONE : Source4
00000067 1.74354339 RT_DebugF: Source4 DONE : Stack
00000068 1.75003195 RT_DebugF: Stack DONE : Eval
00000069 1.75066531 RT_DebugF: Eval DONE
00000070 2.15759468 RT_DebugF:
00000071 2.15761828 RT_DebugF:
00000072 2.15764475 RT_DebugF: FILM = D:\FRAMES\frames.avi
00000073 2.15773964 RT_DebugF: DOING PARAMETERS
00000074 2.15804648 RT_DebugF: DONE PARAMETERS : Set MemoryMax
00000075 2.15837908 RT_DebugF: Set MemoryMax DONE : Load Plugins
00000076 2.16456151 RemoveDirt 0.9
00000077 2.16592050 RT_DebugF: Load Plugins DONE : Get AviSource
00000078 2.17438102 RT_DebugF: Get AviSource DONE : Crop
00000079 2.17504430 RT_DebugF: Crop Source DONE : Stabilizing
00000080 2.17974997 RT_DebugF: Stabilize DONE : Denoise
00000081 2.28370476 RT_DebugF: Denoise DONE : Sharpen
00000082 2.29205322 RT_DebugF: Sharpen DONE : Interpolate
00000083 2.29218745 RT_DebugF: Interpolate DONE : Result1
00000084 2.29684854 RT_DebugF: Result1 DONE : Result3
00000085 2.29884410 RT_DebugF: Result3 DONE : Result2
00000086 2.30090427 RT_DebugF: Result2 DONE : Result4
00000087 2.30284047 RT_DebugF: Result4 DONE : Source4
00000088 2.30355978 RT_DebugF: Source4 DONE : Stack
00000089 2.30998969 RT_DebugF: Stack DONE : Eval
00000090 2.31122875 RT_DebugF: Eval DONE
The FFMS2 line is from FFMpegSource FFMS2.avsi script, in my plugins (I added a few newlines in 'RT_DebugF("\n\nFILM = %s",film)' line
as whoever writes that FFMS2 line to Debug forgot to add a newline to the end of line [messes up formatting, and I also switched on
'Forced Carriage Returns' In Debugview]).
Also, If you use Avisynth v2.58, it outputs lots of debugging stuff to the Debugview window, to avoid the v2.58 deluge,
in Debugview, "Menu/Edit/Filter/Highlight", set Include to ':' instead of '*' as RT_Debug sends ':' with all messages and
so DebugView will exclude those message without ':' in them [Above I did not set filter and so removedirt line is there even without ':'].
I think the last group above must be some kind of seek to frame 0 (for Preview Window when Imporved AVS opening switched OFF,
seeks to middle frame when switched ON) as there is no FFMS2 line shown for that group. {Some Kind of seek to Frame 0 == Re-open script
without AutoLoading plugins again, Groucho2004 could probably explain that.}
The number of groups opened when error occurs might be an indicator of what MeGUI was doing when error occurred.
Script opened via VDMod
Code:
00000001 0.00000000 FFMS2 avs plugin: Initializing...
00000002 0.00004664 FFMS2 - avs 2.6 mode
00000003 0.59475178 RT_DebugF:
00000004 0.59477013 RT_DebugF:
00000005 0.59479302 RT_DebugF: FILM = D:\FRAMES\frames.avi
00000006 0.59488684 RT_DebugF: DOING PARAMETERS
00000007 0.59518802 RT_DebugF: DONE PARAMETERS : Set MemoryMax
00000008 0.59553158 RT_DebugF: Set MemoryMax DONE : Load Plugins
00000009 0.60842794 RemoveDirt 0.9
00000010 0.61096829 RT_DebugF: Load Plugins DONE : Get AviSource
00000011 0.66322827 RT_DebugF: Get AviSource DONE : Crop
00000012 0.66387904 RT_DebugF: Crop Source DONE : Stabilizing
00000013 0.68979824 RT_DebugF: Stabilize DONE : Denoise
00000014 0.79376590 RT_DebugF: Denoise DONE : Sharpen
00000015 0.80353099 RT_DebugF: Sharpen DONE : Interpolate
00000016 0.80366617 RT_DebugF: Interpolate DONE : Result1
00000017 0.80714786 RT_DebugF: Result1 DONE : Result3
00000018 0.81030709 RT_DebugF: Result3 DONE : Result2
00000019 0.81235421 RT_DebugF: Result2 DONE : Result4
00000020 0.81419826 RT_DebugF: Result4 DONE : Source4
00000021 0.81491786 RT_DebugF: Source4 DONE : Stack
00000022 0.82208782 RT_DebugF: Stack DONE : Eval
00000023 0.82282597 RT_DebugF: Eval DONE