View Single Post
Old 10th May 2010, 14:40   #1010  |  Link
eidolen
Registered User
 
Join Date: Dec 2003
Posts: 12
Denoise Errors

Hi,
I just auto-updated a couple days ago and now anytime I try and add a denoise filter I get errors. It took me some time to see what was happening, but for some reason the AVS Script is getting corrupted somehow.

My source is mpeg2 and is indexed with DGCreator first before opening AVS Acript Creator. After that I can use any other options fine but if I add the noise filter at any level and select "Preview AVS Script", I get multiple errors.

The default AVS Script before selecting any options looks like this:

Code:
#denoiseLoadPlugin("C:\Program Files\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\VIDEO CACHE\[Test Clips]\Source\I_Opening.d2v", cpu=4, info=3)
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
#crop
#resize
#denoise
I can already see that something looks awry with #denoise at the very top. When I actually load a denoise filter it changes to this:

Code:
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\FluxSmooth.dll")
FluxSmoothST(7,7) # Medium NoiseLoadPlugin("C:\Program Files\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\VIDEO CACHE\[Test Clips]\Source\I_Opening.d2v", cpu=4, info=3)
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
#crop
#resize
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\FluxSmooth.dll")
FluxSmoothST(7,7) # Medium Noise
If I reformat the script by hand it seems to work ok, but I figure it's something wrong on my end as I can't find anything anywhere on anyone else having the same problem. Am I doing something wrong, or have a corrupt file somewhere? I'd really like to get this working properly again and hope I'm not missing something obvious.

The first error that appears doesn't show in the log but states:
Code:
"AviSynth script error:
Script Error: Invalid arguments to function "FluxSmoothST""
After clicking OK, the following error appears and shows up in the log:
Code:
"MeGUI encountered a fatal error and may not be able to proceed. Reason. Parameter is not valid."
Here is the relevant portion of the log:
Code:
[Error] Unhandled error
--[NoImage] Exception message: Parameter is not valid.
--[NoImage] Stacktrace
---[NoImage]    at System.Drawing.Image.get_Width()
---[NoImage]    at System.Drawing.Image.get_Size()
---[NoImage]    at System.Windows.Forms.PictureBox.ImageRectangleFromSizeMode(PictureBoxSizeMode mode)
---[NoImage]    at System.Windows.Forms.PictureBox.get_ImageRectangle()
---[NoImage]    at System.Windows.Forms.PictureBox.OnPaint(PaintEventArgs pe)
---[NoImage]    at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
---[NoImage]    at System.Windows.Forms.Control.WmPaint(Message& m)
---[NoImage]    at System.Windows.Forms.Control.WndProc(Message& m)
---[NoImage]    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
---[NoImage]    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
---[NoImage]    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[NoImage] Inner exception: null


Source:
Code:
Video
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@Main
Format settings, Matrix          : Standard
Duration                         : 10s 0ms
Bit rate mode                    : Constant
Bit rate                         : 3 522 Kbps
Nominal bit rate                 : 8 500 Kbps
Width                            : 720 pixels
Height                           : 480 pixels
Display aspect ratio             : 16/9
Frame rate                       : 29.970 fps
Standard                         : NTSC
Colorimetry                      : 4:2:0
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 0.821
Thanks for any help in sorting this out,
eidolen
eidolen is offline   Reply With Quote