Log in

View Full Version : MeGUI wont work


neo squidward
5th December 2005, 01:30
After I choose my avs script I get this error
http://img521.imageshack.us/my.php?image=megui3iu.jpg

I have avisynth, and .net framework 1.1 installed (I even uninstalled my previous version of .net framework just to install 1.1). Maybe I am making my scripts wrong? Here is one I tried using:

avisource("C:\shows\nlcv.avi")

and another:

directshowsource("c:\shows\nlcv.avi")

Doom9
5th December 2005, 01:32
can you post the contents of the details, up until the point where you get xml fragments (exclude those, they are useless)?

neo squidward
5th December 2005, 01:33
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidCastException: Specified cast is not valid.
at MeGUI.VideoPlayer.InitializeComponent()
at MeGUI.VideoPlayer..ctor()
at MeGUI.MeGUI.openAvisynthScript(String fileName)
at MeGUI.MeGUI.inputOpenButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
megui-x264
Assembly Version: 0.2.3.1018
Win32 Version: 0.2.3.1018
CodeBase: file:///C:/Program%20Files/x264/megui-x264.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
7tyhtbix
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
ohaqppee
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------

ChronoCross
5th December 2005, 02:42
Reported in the development thread and x264 dev thread. this is the latest x264-megui revision.

jackiehcs
5th December 2005, 02:44
I have the same problem too(with the MeGUI in x264 rev.381)
This only makes me unable to preview the input, but it can still encode properly.

neo squidward
5th December 2005, 03:03
No, it won't encode for me. When I start the encoding it begins then gives this error in the log

Next job job1 is a video job. encoder commandline:
"C:\Program Files\x264\x264.exe" --bitrate 1000 --ref 3 --bframes 3 --b-pyramid --subme 6 --b-rdo --weightb --trellis 1 --analyse all --8x8dct --threads 2 --progress --no-psnr --output "C:\shows\fgmovie.mp4" "C:\shows\fgmovie.avs"
successfully set up video encoder and callbacks for job job1
----------------------------------------------------------------------------------------------------------

Log for job job1

avis [error]: unsupported input format (DIB )
could not open input file 'C:\shows\fgmovie.avs'

----------------------------------------------------------------------------------------------------------

Sirber
5th December 2005, 03:07
"DIB "
AVISynth error. Start the AVS with MPC.

jackiehcs
5th December 2005, 03:14
just add
ConvertToYV12()
in the AVS

neo squidward
5th December 2005, 03:16
Oh good I took something out of the avs and now it encodes.

Sirber
5th December 2005, 03:21
can we see your avs? ;)

neo squidward
5th December 2005, 03:24
avisource("c:\shows\family guy - stewie griffin the untold story.avi")
converttoyv12

Sirber
5th December 2005, 04:11
What did you remove?

puffpio
5th December 2005, 06:39
I also have a problem.

Running megui 0.2.3.1018 built by sharktooth

anytime I try to load an avs script I get an error which I will paste below.
The script loads just fine in virtualdub and also media player classic.

------------script------------------
LoadPlugin("C:\Program Files\GordianKnot\DGMPGDec\DGDecode.dll")

video = mpeg2source("C:\Documents and Settings\David\Desktop\work\as\as.d2v")
video = video.DeDot()
video = video.AssumeTFF()
interp = video.separatefields().selecteven().EEDI2(field = 1)
video = video.tdeint(edeint=interp)
#video = video.fft3dGPU(sigma=3, bt=4, sharpen=0.7, plane=1, mode=1)
#video = video.fft3dGPU(sigma=3, bt=4, sharpen=0.7, plane=0, mode=1)
video = video.FFT3DFilter(sigma=3, plane=4, bt=4, sharpen=0.7)
video = video.crop(4, 0, -4, -4)
video = video.LanczosResize(512, 384)
#video = video.ColorMatrix(d2v="C:\Documents and Settings\David\Desktop\work\as\as.d2v")

return video

-------------------------------------------

here is the error output

-------------- specified cast is not valid -----------------------

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidCastException: Specified cast is not valid.
at MeGUI.VideoPlayer.InitializeComponent()
at MeGUI.VideoPlayer..ctor()
at MeGUI.MeGUI.openAvisynthScript(String fileName)
at MeGUI.MeGUI.inputOpenButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
megui
Assembly Version: 0.2.3.1018
Win32 Version: 0.2.3.1018
CodeBase: file:///C:/Program%20Files/x264/megui.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
bc-j3htt
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
nrvbmfp0
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
63bchnx3
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
kdcswgrg
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
c0ldpbzu
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.

berrinam
5th December 2005, 10:02
We've now had three posts about the same bug. Three posts, and three identical errors posted. As ChronoCross said (he reported this bug first), Reported in the development thread and x264 dev thread The bug has been reported, it is reproducible and I have posted a bugfix, so can we stop with reporting the same bug, as you aren't contributing anything new.