Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Linux, Mac OS X, & Co
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 17th September 2008, 14:40   #1  |  Link
Carpo
Registered User
 
Carpo's Avatar
 
Join Date: Dec 2002
Location: /dev/null
Posts: 1,368
megui and linux - how?

after extensive googling i still cant get megui to run, i have mono compiled and installed, as i cant get .net to install.

but everytime i try to start it i get this error

megui$ mono MeGUI.exe

Code:
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: gdiplus.dll
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] --- End of inner exception stack trace ---

  at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000]
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000]
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000]
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000]
  at System.Windows.Forms.XplatUI..cctor () [0x00000] --- End of inner exception stack trace ---

  at System.Windows.Forms.Application.EnableVisualStyles () [0x00000]
  at MeGUI.MainForm.Main (System.String[] args) [0x00000]
using slackware12.1, kernel 2.6.24.5, mono 1.91
__________________
The Internet: where men are men, women are men, and children are FBI Agents
Carpo is offline   Reply With Quote
Old 17th September 2008, 15:36   #2  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
currently megui needs some changes to run in linux.
try using wine btw... since all tools megui uses are for win32.
Sharktooth is offline   Reply With Quote
Old 17th September 2008, 15:47   #3  |  Link
Carpo
Registered User
 
Carpo's Avatar
 
Join Date: Dec 2002
Location: /dev/null
Posts: 1,368
i have been - megui installs but wont run, guessing because .net isnt there, when i can get the box back up (i needed the wall socket for something else) i'll post the error that gives me
__________________
The Internet: where men are men, women are men, and children are FBI Agents
Carpo is offline   Reply With Quote
Old 17th September 2008, 17:13   #4  |  Link
Carpo
Registered User
 
Carpo's Avatar
 
Join Date: Dec 2002
Location: /dev/null
Posts: 1,368
ok heres the full error when using wine - its a biggie

Code:
carpo@carp-serv:~/.wine/drive_c/Program Files/megui$ wine MeGUI.exe
wine: Unhandled privileged instruction at address 0x451e1a (thread 0014), starting debugger...
Unhandled exception: privileged instruction in 32-bit code (0x00451e1a).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:00451e1a ESP:7eb41918 EBP:00451e1a EFLAGS:00210206(   - 00      - RIP1)
 EAX:00000000 EBX:7ef5d904 ECX:7efff6d4 EDX:00000000
 ESI:004500c8 EDI:7eb419b4
Stack dump:
0x7eb41918:  004de662 7eb41928 00200246 004500c8
0x7eb41928:  7eb419d8 7ef5c0f0 7ef5dd80 7eb419b4
0x7eb41938:  00111050 00000000 00110ef0 7eb419c4
0x7eb41948:  00000000 00000130 00000026 7ef5c7be
0x7eb41958:  7eb419bc 7eb419b4 7ef5dd80 7eb41998
0x7eb41968:  7ef5c7aa 7eb419c8 7eb419c4 004f275c
Backtrace:
=>1 0x00451e1a in hardlock.sys (+0x1e1a) (0x00451e1a)
0x00451e1a: movl        %cr4,%esi
Modules:
Module  Address                 Debug info      Name (31 modules)
PE        450000-  4f7400       Export          hardlock.sys
ELF     7bf00000-7bf03000       Deferred        <wine-loader>
ELF     7e9cb000-7ea33000       Deferred        msvcrt<elf>
  \-PE  7e9e0000-7ea33000       \               msvcrt
ELF     7eb43000-7eb56000       Deferred        libresolv.so.2
ELF     7eb61000-7eb76000       Deferred        hal<elf>
  \-PE  7eb70000-7eb76000       \               hal
ELF     7eb76000-7eb94000       Deferred        iphlpapi<elf>
  \-PE  7eb80000-7eb94000       \               iphlpapi
ELF     7eb94000-7ebf4000       Deferred        rpcrt4<elf>
  \-PE  7eba0000-7ebf4000       \               rpcrt4
ELF     7ed04000-7ed3c000       Deferred        ntoskrnl<elf>
  \-PE  7ed10000-7ed3c000       \               ntoskrnl
ELF     7ed3c000-7ed8c000       Deferred        advapi32<elf>
  \-PE  7ed50000-7ed8c000       \               advapi32
ELF     7ed8c000-7ed97000       Deferred        libnss_files.so.2
ELF     7ed97000-7eda1000       Deferred        libnss_nis.so.2
ELF     7eda1000-7edb9000       Deferred        libnsl.so.1
ELF     7edef000-7ef18000       Deferred        kernel32<elf>
  \-PE  7ee10000-7ef18000       \               kernel32
ELF     7ef18000-7ef3e000       Deferred        libm.so.6
ELF     7ef4a000-7ef5e000       Deferred        winedevice<elf>
  \-PE  7ef50000-7ef5e000       \               winedevice
ELF     7ef5e000-7f000000       Deferred        ntdll<elf>
  \-PE  7ef70000-7f000000       \               ntdll
ELF     b7c20000-b7c29000       Deferred        libnss_compat.so.2
ELF     b7c2a000-b7c2e000       Deferred        libdl.so.2
ELF     b7c2e000-b7d7a000       Deferred        libc.so.6
ELF     b7d7a000-b7d91000       Deferred        libpthread.so.0
ELF     b7db1000-b7ee7000       Deferred        libwine.so.1
ELF     b7ee8000-b7f06000       Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008
        00000009    0
0000000a
        0000000b    0
0000000c
        00000013    0
        00000012    0
        0000000e    0
        0000000d    0
0000000f (D) C:\windows\system32\winedevice.exe
        00000014    0 <==
        00000011    0
        00000010    0
Backtrace:
=>1 0x00451e1a in hardlock.sys (+0x1e1a) (0x00451e1a)
fixme:virtual:NtAllocateVirtualMemory MEM_WRITE_WATCH type not supported
fixme:ole:CoGetContextToken stub
fixme:advapi:CheckTokenMembership (0x13c 0x184928 0x32dd08) stub!

Unhandled Exception: System.TypeInitializationException: The type initializer for 'System.Globalizat
ion.TextInfo' threw an exception.
   at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID)
   at System.Globalization.TextInfo.get_InvariantNativeTextInfo()
   at System.String.Compare(String strA, Int32 indexA, String strB, Int32 indexB, Int32 length, Stri
ngComparison comparisonType)
   at System.Security.Util.URLString.PreProcessForExtendedPathRemoval(String url, Boolean isFileUrl)
   at System.AppDomainSetup.NormalizePath(String path, Boolean useAppBase)
   at System.AppDomainSetup.SetupDefaultApplicationBase(String imageLocation)
   at System.AppDomain.SetupFusionStore(AppDomainSetup info)
   at System.AppDomain.SetupDomain(Boolean allowRedirects, String path, String configFile)
wine: Unhandled exception 0xe0434f4d at address 0x7ee03cd0 (thread 0009), starting debugger...
Unhandled exception: 0xe0434f4d in 32-bit code (0x7ee03d4a).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:7ee03d4a ESP:0032ef54 EBP:0032efb8 EFLAGS:00200293(   - 00      -ISA1C)
 EAX:7edee1b9 EBX:7ee7187c ECX:00000000 EDX:0032ef78
 ESI:0032eff0 EDI:e0434f4d
Stack dump:
0x0032ef54:  0032eff0 00000004 15e15fb3 007f1c8c
0x0032ef64:  e0434f4d 00000001 00000000 7ee03cd0
0x0032ef74:  00000001 80131534 0032eff0 007d2010
0x0032ef84:  02000036 0032ef9c 79e814da 0032efa8
0x0032ef94:  02000036 00000001 0032f018 79e87ff4
0x0032efa4:  0000012c 02cf161c 79f958b8 02d164b4
Backtrace:
=>1 0x7ee03d4a RaiseException+0x7a() in kernel32 (0x0032efb8)
  2 0x79f97065 in mscorwks (+0x127065) (0x0032f018)
  3 0x7a0945a4 in mscorwks (+0x2245a4) (0x0032f0dc)
  4 0x02d2356b (0x0032f10c)
  5 0x02d23431 (0x0032f138)
  6 0x02d21855 (0x00000000)
0x7ee03d4a RaiseException+0x7a in kernel32: movl        0xfffffffc(%ebp),%ebx
Modules:
Module  Address                 Debug info      Name (67 modules)
PE      11000000-1110c000       Deferred        megui
PE      5e380000-5e409000       Deferred        diasymreader
PE      78130000-781cb000       Deferred        msvcr80
PE      79000000-79045000       Deferred        mscoree
PE      79060000-790b3000       Deferred        mscorjit
PE      790c0000-794de000       Deferred        mscorlib
PE      79e70000-7a3d1000       Export          mscorwks
ELF     7bf00000-7bf03000       Deferred        <wine-loader>
ELF     7e1ee000-7e202000       Deferred        lz32<elf>
  \-PE  7e1f0000-7e202000       \               lz32
ELF     7e341000-7e354000       Deferred        libresolv.so.2
ELF     7e358000-7e371000       Deferred        version<elf>
  \-PE  7e360000-7e371000       \               version
ELF     7e371000-7e374000       Deferred        iso8859-1.so
ELF     7e374000-7e3d4000       Deferred        rpcrt4<elf>
  \-PE  7e380000-7e3d4000       \               rpcrt4
ELF     7e3d4000-7e475000       Deferred        ole32<elf>
  \-PE  7e3e0000-7e475000       \               ole32
ELF     7e695000-7e6fd000       Deferred        msvcrt<elf>
  \-PE  7e6a0000-7e6fd000       \               msvcrt
ELF     7e6fd000-7e706000       Deferred        libxcursor.so.1
ELF     7e706000-7e70b000       Deferred        libxfixes.so.3
ELF     7e70b000-7e70e000       Deferred        libxcomposite.so.1
ELF     7e70e000-7e714000       Deferred        libxrandr.so.2
ELF     7e714000-7e71c000       Deferred        libxrender.so.1
ELF     7e71c000-7e71f000       Deferred        libxinerama.so.1
ELF     7e71f000-7e73f000       Deferred        imm32<elf>
  \-PE  7e730000-7e73f000       \               imm32
ELF     7e73f000-7e744000       Deferred        libxdmcp.so.6
ELF     7e744000-7e75b000       Deferred        libxcb.so.1
ELF     7e75b000-7e75d000       Deferred        libxcb-xlib.so.0
ELF     7e75d000-7e760000       Deferred        libxau.so.6
ELF     7e760000-7e847000       Deferred        libx11.so.6
ELF     7e847000-7e855000       Deferred        libxext.so.6
ELF     7e855000-7e85a000       Deferred        libxxf86vm.so.1
ELF     7e85a000-7e871000       Deferred        libice.so.6
ELF     7e871000-7e879000       Deferred        libsm.so.6
ELF     7e879000-7e897000       Deferred        iphlpapi<elf>
  \-PE  7e880000-7e897000       \               iphlpapi
ELF     7e899000-7e92e000       Deferred        winex11<elf>
  \-PE  7e8b0000-7e92e000       \               winex11
ELF     7ea38000-7ea58000       Deferred        libexpat.so.1
ELF     7ea58000-7ea83000       Deferred        libfontconfig.so.1
ELF     7ea83000-7ea97000       Deferred        libz.so.1
ELF     7ea97000-7eb08000       Deferred        libfreetype.so.6
ELF     7eb08000-7eba1000       Deferred        gdi32<elf>
  \-PE  7eb20000-7eba1000       \               gdi32
ELF     7eba1000-7ece5000       Deferred        user32<elf>
  \-PE  7ebc0000-7ece5000       \               user32
ELF     7ece5000-7ed3c000       Deferred        shlwapi<elf>
  \-PE  7ecf0000-7ed3c000       \               shlwapi
ELF     7ed3c000-7ed8c000       Deferred        advapi32<elf>
  \-PE  7ed50000-7ed8c000       \               advapi32
ELF     7edc2000-7eeeb000       Export          kernel32<elf>
  \-PE  7ede0000-7eeeb000       \               kernel32
ELF     7eeeb000-7eef6000       Deferred        libnss_files.so.2
ELF     7eef6000-7ef00000       Deferred        libnss_nis.so.2
ELF     7ef00000-7ef18000       Deferred        libnsl.so.1
ELF     7ef18000-7ef3e000       Deferred        libm.so.6
ELF     7ef5e000-7f000000       Deferred        ntdll<elf>
  \-PE  7ef70000-7f000000       \               ntdll
ELF     b7c64000-b7c68000       Deferred        libdl.so.2
ELF     b7c68000-b7db4000       Deferred        libc.so.6
ELF     b7db4000-b7dcb000       Deferred        libpthread.so.0
ELF     b7de2000-b7deb000       Deferred        libnss_compat.so.2
ELF     b7deb000-b7f21000       Deferred        libwine.so.1
ELF     b7f22000-b7f40000       Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\megui\MeGUI.exe
        0000001f    2
        0000001e    0
        00000009    0 <==
0000000c
        0000001b    0
        0000001a    0
        00000013    0
        0000000e    0
        0000000d    0
00000017
        0000001d    0
        0000001c    0
        00000019    0
        00000018    0
00000020
        00000021    0
Backtrace:
=>1 0x7ee03d4a RaiseException+0x7a() in kernel32 (0x0032efb8)
  2 0x79f97065 in mscorwks (+0x127065) (0x0032f018)
  3 0x7a0945a4 in mscorwks (+0x2245a4) (0x0032f0dc)
  4 0x02d2356b (0x0032f10c)
  5 0x02d23431 (0x0032f138)
  6 0x02d21855 (0x00000000)
fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x000003ff,(nil),0x0001,0x00000000,0x32ea9c,(nil                                                )): stub
err:eventlog:ReportEventW L".NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (79F970                                                75) (80131506)"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
__________________
The Internet: where men are men, women are men, and children are FBI Agents
Carpo is offline   Reply With Quote
Old 18th September 2008, 01:50   #5  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
are you using mono with wine?
Sharktooth is offline   Reply With Quote
Old 18th September 2008, 16:18   #6  |  Link
Carpo
Registered User
 
Carpo's Avatar
 
Join Date: Dec 2002
Location: /dev/null
Posts: 1,368
both are installed, but no, i have tried to run megui with mono megui.exe - which gives the first error

and wine megui.exe which gives the 2nd longer error

should only wine be installed ?

it was just a few pages i looked at when i googled suggested installing mono
__________________
The Internet: where men are men, women are men, and children are FBI Agents
Carpo is offline   Reply With Quote
Old 19th September 2008, 00:36   #7  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
it should work then.
Sharktooth is offline   Reply With Quote
Old 21st September 2008, 19:17   #8  |  Link
Carpo
Registered User
 
Carpo's Avatar
 
Join Date: Dec 2002
Location: /dev/null
Posts: 1,368
it should but it isnt and i dont really want to use ubuntu - which seems is what everyone else is using and it seems to work as i like my slackware
__________________
The Internet: where men are men, women are men, and children are FBI Agents
Carpo is offline   Reply With Quote
Old 22nd September 2008, 18:15   #9  |  Link
fbgd
Registered User
 
Join Date: Mar 2008
Posts: 29
I think what he was suggesting was that you install the windows version of mono through wine and then try running megui with wine.
fbgd is offline   Reply With Quote
Old 28th September 2008, 00:29   #10  |  Link
kinematic
Registered User
 
Join Date: Oct 2005
Posts: 71
I still don't understand why people insist on making apps like these Win native because there still aren't any great Linux native graphical encoding apps. Bunch of n00b coders.
kinematic is offline   Reply With Quote
Old 28th September 2008, 01:43   #11  |  Link
linyx
Un-Registered User
 
linyx's Avatar
 
Join Date: Mar 2008
Location: Audio Stream - 0x80
Posts: 341
Quote:
Originally Posted by kinematic View Post
I still don't understand why people insist on making apps like these Win native because there still aren't any great Linux native graphical encoding apps. Bunch of n00b coders.
AviDemux
linyx is offline   Reply With Quote
Old 28th September 2008, 09:44   #12  |  Link
kinematic
Registered User
 
Join Date: Oct 2005
Posts: 71
Are you kidding me, avidemux is a second rate application. Have you seen the quality it produces using XviD, what a joke. There's only one way to go if you want quality, mencoder.
kinematic is offline   Reply With Quote
Old 28th September 2008, 11:18   #13  |  Link
Gusar
Registered User
 
Join Date: Jan 2006
Posts: 103
Quote:
Originally Posted by kinematic View Post
Are you kidding me, avidemux is a second rate application. Have you seen the quality it produces using XviD, what a joke. There's only one way to go if you want quality, mencoder.
Rude much?

And just FYI, what both mencoder and avidemux do is configure the encoder which then, well, encodes. The encoder is the exact same in both cases! So if avidemux gives worse results it's because you're misconfiguring the encoder.

In the slight chance that avidemux is misconfiguring the encoder outside your power, then investigate that and report a bug - but in a polite manner, with an explanation how to reproduce the problem.
Gusar is offline   Reply With Quote
Old 28th September 2008, 11:32   #14  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by kinematic View Post
Are you kidding me, avidemux is a second rate application. Have you seen the quality it produces using XviD, what a joke. There's only one way to go if you want quality, mencoder.
Dark Shikari is offline   Reply With Quote
Old 28th September 2008, 12:01   #15  |  Link
kinematic
Registered User
 
Join Date: Oct 2005
Posts: 71
So how can it be that with exactly the same matrices and the filters configured exactly the same way with the codec also configured exactly the same in both avidemux and mencoder avidemux still produces worse results? (at least for me). Avidumex produces much more blurring and blockiness every single time. I've done a lot of research into the matter myself and to this day I can't explain it.

And FYI, vdubmod running with wine also produces better results than avidemux.

Last edited by kinematic; 28th September 2008 at 12:04.
kinematic is offline   Reply With Quote
Old 28th September 2008, 12:11   #16  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by kinematic View Post
So how can it be that with exactly the same matrices and the filters configured exactly the same way with the codec also configured exactly the same in both avidemux and mencoder avidemux still produces worse results?
Probably a PEBKAC error.
Dark Shikari is offline   Reply With Quote
Old 28th September 2008, 12:48   #17  |  Link
kinematic
Registered User
 
Join Date: Oct 2005
Posts: 71
That's what I thought at first, can't be the encoder...must be me. But my girlfriend and a couple of friends all say the same thing, a file encoded with mencoder looks better.
kinematic is offline   Reply With Quote
Old 1st October 2008, 00:29   #18  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
@kinematic: before offending people, make sure you are able to do things by yourself. if it's not clear, im referring to megui. so if you're able to create a gui for linux, do it... otherwise STFU.
Sharktooth is offline   Reply With Quote
Old 1st October 2008, 20:10   #19  |  Link
kinematic
Registered User
 
Join Date: Oct 2005
Posts: 71
Sorry about my earlier comments, I had a bad day that day and things just came out wrong. And yes, I am able to create a gui for Linux but I have no need for it since mencoder is all I need. I also don't have the time to create and maintain a gui.

Edit: I just read something about MeGuiX, what's the status of it at the moment?

Another edit: I read up on MeGui just out of curiousity and I wonder why you choose to use the abamonation know as .NET (with Mono being even worse). It should be wiped from the face of the earth never to be seen again!

Last edited by kinematic; 2nd October 2008 at 17:31.
kinematic is offline   Reply With Quote
Old 2nd October 2008, 18:05   #20  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
megui started as a .net app. i just joined the project after it started, so...
about MeGUIx, actually it is freezed since the new versions of mono can manage .NET 2.0.
MeGUIx was a native port in GTK# of MeGUI.
Sharktooth is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:23.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.