Log in

View Full Version : megui crashes in vista


Pages : 1 [2] 3 4

trooper11
3rd November 2007, 22:25
No, that won't work, as it won't have the updates -- so you'll get errors like 'missing AvisynthWrapper.dll'. What I meant was that you install megui from SourceForge, get all the updates, and then replace the file, megui.exe, with the one I linked to.


Sorry about the confusion there.

I reinstalled the latest version of MeGUI and now a new problem has occured. I am getting an error when trying to update the program (I changed the update options to look for development files). This happens after the program finishes downloading the updates and applying by restarting the application:


Fatal Error:

Reason: could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.85.4.369, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Source of exception:
megui stacktrace: at
MeGui.UpdateWindow.SaveNewFile(iUpgradeable file, Stream data)
at MeGui.UpdateWindow.InstallFiles(SortedDirectory`2 groups)
at MeGui.UpdateWindow.BeginUpdate()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()




Now what I did try is changing the download setup to only stable releases and can get all of those updates fine. Im not sure what has changed since I last installed it that would cuase it to fail to update with development versions of files, but something has.

But just running on the stable release, I was able to do a test and the process fails at the 'Opening AVS Preview' step. I did set the avs preview to off in the settings, but maybe this preview is something different.



PS: I got to update on the stable releases but once I restarted it prompted me for another update (encaaplus only), this same error comes up when I tell it to update.

Sharktooth
3rd November 2007, 22:53
the sharpziplib 0.85 was added in the dev version (since 0.2.6.1028) but the stable build requires the 0.84...

trooper11
4th November 2007, 00:24
well Ive only been installing the latest dev version.


it just wont complete the updates when I try to run them. the first time I try right after installing it, it restarts as normal, but it says it couldnt update 'libs' or 'avswrapper'. then it gives the error message I listed above.


is there something i should move? I just dled the latest dev version and installed it, sitll getting this error.

noapp
4th November 2007, 16:18
berrinam, I am not sure if you are still interested in solving the mediainfo related problem but I can confirm that even with proper installation and update, both 0.2.6.1033 and 0.2.6.1034 failed under Vista when loading d2v file in AvisynthCreator.
If I replace the MediaInfo.dll 0.7.5.3 (which is shipped in megui-libs_1028) with 0.7.4.4, everything is fine. BTW, I have also tried the avisynth you gave, and just the same.
Do let me know what I can help to solve the problem as it is very annoying. I am a developer but unfortunately not speaking in C# (yet).

trooper11, I have also encountered the problem you described. Just copy the ICSharpCode.SharpZipLib.dll manually from megui-libs_1028.zip under your update_cache directory and it will be fine.

trooper11
6th November 2007, 07:38
thanks for the tip there noapp, that got rid of the update issue.

but im still getting the failure in avs creation at the 'Opening AVS Preview' step.

im sure this is a tough one to get around, but i appreciate the time you guys are putting into this great app. Ill definitely be using it heavily once I get past this issue.

winnydows
6th November 2007, 09:54
Hello everybody.
This problem hangs on Vista with Microsoft Office Groove installed and only with DirectShowSource when AviSynthWrapper start using generated script. Bugs hang in AviSynthWrapper only. Some where in
int __stdcall dimzon_avs_init(SafeStruct** ppstr, char *func ,char *arg, AVSDLLVideoInfo *vi, int* originalPixelType, int* originalSampleType, char *cs).

I try fix it now, but no luck. Can`t debug breakpoints in this dll. Hope this information helps you fix Wrapper. Anyway will try self fix it. But i`m 0 in C++.

For all who want use MeGUI or XviD4PSP now: solution is uninstall Groove. But will be much better fix AviSynthWrapper (for developers).

Added
Wow! I can now in to dll debuging. Hope it let me fix problem.

bug hangs in AVSValue res = pstr->env->Invoke(func, AVSValue(&arg, 1));
and than in AVSValue(const AVSValue* a, int size) { type = 'a'; array = a; array_size = size; } in avisynth.h

Kurtnoise
6th November 2007, 10:53
Strange...I don't have MS Office Groove on my Vista box.

winnydows
6th November 2007, 11:41
Add-Remove programs - MS Office 2007 - Change - Groove - Kill.
All default installations of Office 2007 have Groove.

Kurtnoise
6th November 2007, 14:17
I don't have MS Office 2007, only 2003...

winnydows
6th November 2007, 16:39
Anyway I get one more close step to bug solution. Problem not in AviSynthWrapper and not in avisynth.dll and not even in MediaInfo. Problem some where in MeGUI and XviD4PSP source. Some of step lock avisynth.dll and dll unlock again only after reboot. Hope found this place today.

Kurtnoise
6th November 2007, 17:39
let me know when you find the trick...

noapp
6th November 2007, 18:41
Not meant to be rude but could you consider the fact that changing mediainfo.dll back to the previous version solves the problem?
There must be some explanation about this, right? Hope this hint will help you lock the problem.

winnydows
6th November 2007, 18:54
Problem is here even if don`t use MediaInfo.
But I found where is it:

If one time use OpenFileDialog() - standart dialog for files opening, then AviSynthWrapper will crash with DircetShowSource.

Solution is don`t use OpenFileDialog (use alternative if this exists). Or other solution is use OpenFileDialog outside of main code or use AviSynthWrapper outside of main code.

Will try get it work with this two ways now.

Added
Found confirmation what problem is in OpenDialog.
Use DragNDrop and file opening work fine.
Don`t know use MeGUI DD or don`t, but in XviD4PSP you can check this. Just drag file to main window and import will be ok. SaveDialog don`t have this problem. So this is fast and simple tmp solution. Will work now on get working OpenDialog.

Added
I made it :). Work perfect with opendialogs in external console application. Also this is more safe, if opendialog crash, application don`t crash and dont kill all work. So XviD4PSP 5.026 will be with this fix and you can test it.

berrinam
7th November 2007, 04:12
I'll make a build of megui that runs OpenFileDialog through an external application soon, and see if that fixes it for people.

But why on earth is OpenFileDialog causing Avisynthwrapper to crash?

Sharktooth
7th November 2007, 04:31
dunno... and it is really freaking weird.

winnydows
7th November 2007, 09:33
I too don`t know. I live with this bug from november 2006, and only after one year founded sollution. Probably something wrong in Vista+OpenFileDialog. But in 99% of cases this bug add Microsoft Groove. Probably it tweak OpenFileDialog. Also in Vista I get sometime crash app after "new OpenDialog()" even if no Groove installed. And if encoding was in progress everything will be killed. So I`m very glad for solution with console SafeOpenDialog. Think a lot of user will be glad too.

Fix done:
XviD4PSP 5.025 beta full (http://winnydows.com/download/xvid4psp/XviD4PSP_5025_beta_full.exe)
XviD4PSP 5.025 beta update (http://winnydows.com/download/xvid4psp/XviD4PSP_5025_beta_update.exe)

Install full version and than install update.

Sharktooth
9th November 2007, 19:45
@berrinam: could you please add mediainfo 0.7.5.5 to your vista test builds and see if it still crashes? (look here: https://forum.doom9.org/showthread.php?p=1063838#post1063838)

Yoshiyuki Blade
17th November 2007, 03:58
Is this issue exclusive to 64-bit OSes? I've used MeGUI on vista32 just fine, but it does immediately stop responding on vista64.

burfadel
17th November 2007, 04:11
I'm using Vista x64 and it works fine, I'm also using mediainfo 0.7.5.5.

I found a problem with ffdshow though. Try downloading the latest rev number from ffdshow.info then uninstall your current one. When you reinstall the new one, DON'T select the avisynth options, just the default top option only. It still can be used with MEGUI etc, or it does here.

pernas
17th November 2007, 12:31
I'm using Vista 32bit and I got the "preview issue" after updating to 1038. I've read about MediaInfo Version 0.7.5.5 in the other thread and wonder if it's possible to get hold of that version and try it?

Br,
Per

burfadel
17th November 2007, 22:24
I'm using Vista 32bit and I got the "preview issue" after updating to 1038. I've read about MediaInfo Version 0.7.5.5 in the other thread and wonder if it's possible to get hold of that version and try it?

Br,
Per

Here is the download section on the offical mediainfo sourceforge website. For Vista and x64 (XP x64, Vista x64), unless you're specifically using a 64 bit programme use the normal mediainfo.

http://sourceforge.net/project/showfiles.php?group_id=86862&package_id=90614

pernas
18th November 2007, 11:14
Thanks, but it didn't work - if I only had a complete backup of 0.2.6.1036..

Br,
Per

Kurtnoise
18th November 2007, 11:58
Did you replace MediaInfoWrapper.dll by the old one as stated in this thread (http://forum.doom9.org/showthread.php?p=1066016#post1066016) ?

pernas
18th November 2007, 13:52
Did you replace MediaInfoWrapper.dll by the old one as stated in this thread (http://forum.doom9.org/showthread.php?p=1066016#post1066016) ?
Oh, missed that -thanks!
Going to try that (if I only get through 4FileHosting)

Br,
/Per

pernas
18th November 2007, 14:15
Oh, missed that -thanks!
Going to try that (if I only get through 4FileHosting)

Br,
/Per

Due to problems with 4FileHosting would it be possible to get a copy of MediaInfoWrapper.dll.rar to mail @ mandoline_m-dot-hotmail-dot-com

edit: got it from an old installation

Br,
Per

Guru1234
3rd December 2007, 05:54
Is avisynth crash on vista is solved. Most of the people are reporting that it crashes due to MS-Groove installed with MS-Office.

Sharktooth
3rd December 2007, 14:15
the problem has been fixed.

chiklit
16th December 2007, 11:52
Is the fix in a released version? I was still getting the crash with the latest dev release. Fixed it by uninstalling Groove (among other Office 2007 things I don't use).

Sharktooth
16th December 2007, 15:22
the fix is in the auto-update...
however this M$ groove thing makes me mad...

fatxy
17th December 2007, 14:24
no problems here anymore, didnt crash in a long time, preview window is workin again properly too, thanks guys :thanks:
(PS: the vista update .net framwork thingy which popped up is pointing to win xp framework updates)

there is still a minor problem here:
Job not started. Reason: Calling setup of processor failed with error 'The file D:\__VIDEO\vdr2avs_1.avs cannot be opened.
Error message for your reference: AviSource: Could not locate video stream.
(D:\__VIDEO\vdr2avs_1.avs, line 1)'

i always get this when i am trying to encode sth via vdub frameserver (.avs -> vdub -> .vdr -> .avs -> megui)
double click on error -> waiting -> start works but its not that comfy ;)

fatxy

Sharktooth
17th December 2007, 14:42
i guess something is going nuts in your chain... :)

fatxy
17th December 2007, 16:14
i guess something is going nuts in your chain... :)

yeah i know its evil (but the only way to keep things easy & workin)

nevertheless, it worked on my xp system and its workin when starting the job manually

Sharktooth
17th December 2007, 19:13
does the .avs (the rightmost one in your chain) play in a DS media player (WMP, MPC, whatever...)?

fatxy
17th December 2007, 23:12
sure, as i said megui will encode it, but it seems the source stream is only temporally available

after audio stream is finished it should start with the 1. pass -> 'error'

i reset 'error' to 'waiting', push start its workin till 2nd pass should start

then again 'error' -> 'waiting' -> start till the file should got muxed

error popup, i click ok, file is getting muxed afterwards properly

dunno whats wrong, but ie. loading the avs is working very well too, the preview window appears, everything seems normal

PS: is there any easy to use logo filter for avs available yet?

Sharktooth
18th December 2007, 02:16
uhm... there is some sort of timeout in the chain. maybe buffering problems. try to set a higher amount of memory in the avisynth script and see if it gets better.
concerning the logo filter, remember avisynth can load the vdub filters too. however i never needed such filters so maybe someone in the avisynth forum can help you better than me.

matrix40
19th December 2007, 22:09
Has anyone ever tried to open megui and gotten an error could not load previous settings?

Kurtnoise
20th December 2007, 11:17
reinstall the complete megui package.

Sharktooth
20th December 2007, 14:11
uninstall previous versions first...

dicen
1st January 2008, 16:55
Uninstalled Microsoft Groove from Office 2007 and no more crashing on Vista Ultimate 32bit.

You can't use Groove anyway without a Microsoft Groove server. It is worthless. Yet another thing for companies to buy. With Google you just use the Google service.

Does this thing run on Linux (Ubuntu)?

Sharktooth
1st January 2008, 17:04
megui can be run on top of mono, but you also should carefully setup a recent version of wine, install avisynth (using wine) and hope everything works :)

dicen
1st January 2008, 18:57
I spoke to soon. I can run the AviSynth script creator to create a script. But, once I try to load that script MeGUI either crashes or creates 1000s of handles until it crashes. What is weird is that I can load the script automatically after I create it in the script creator.

So it is broke on Vista. Xvid4PSP works fine so I guess I am going back to that.

dwm4444
6th January 2008, 14:51
Thought I'd report my experience in case it offers any clues. I've been using MeGUI for a few months to back up DVDs to H264/AAC mp4 files. No problems, worked fine. Thanks for the great program.

Last night, for the first time, I tried to re-encode an xvid/mp3 AVI to the same format as above and encountered immediate shut-down of MeGUI as soon as I opened the Avisynth Script Creator. MeGUI version 0.2.6.1040; Vista Home Premium 32-bit.

Found this thread. Tried suggestions in the earlier pages (replacing MediaInfoWrapper, updating from the development servers to 0.3.0.1004). I also shut down the GrooveMonitor process in Task Manager. No luck.

So I finally tried uninstalling Microsoft Groove, and now all works fine. I can create the script and encode with no problems so far.

Office version is MS Office 2007 Enterprise (I got it free through my employer via MS's "Home Use Program"; I don't know what Groove does and never used it anyway).

Hope this helps. And thanks again for MeGUI.

Sharktooth
6th January 2008, 15:40
before reporting problems, please let megui auto-update to the latest stable or dev version. thanks.
however, seems MS Groove that comes with Office 2007 Enterprise in conjunction with Windows Vista is causing problems to megui (dunno why? ask M$...).

fight2win
7th January 2008, 11:49
groove? whta's that?

Sharktooth
7th January 2008, 17:12
http://office.microsoft.com/en-us/groove/default.aspx

asarian
28th May 2008, 18:22
Fatal Error:

Reason: could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.85.4.369, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Source of exception:
megui stacktrace: at
MeGui.UpdateWindow.SaveNewFile(iUpgradeable file, Stream data)
at MeGui.UpdateWindow.InstallFiles(SortedDirectory`2 groups)
at MeGui.UpdateWindow.BeginUpdate()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()



I get the exact same error. And the one about avisynth wrapper missing. And the one about being unable to update 'libs' and 'avswrapper' (which it lists no previous version for). And I have no Groove installed (but do have Office Professional Plus 2007).

A truly sad day. I *really* needed this prog to trancode VC-1 -> AVC, and now it looks like the Vista issue is unsurmountable. :( Or are folks still working on it?

Kurtnoise
29th May 2008, 05:37
I *really* needed this prog to trancode VC-1 -> AVC, and now it looks like the Vista issue is unsurmountable. :( Or are folks still working on it?
To transcode your vc-1 streams to avc, just remux them into M2TS/TS or MKV container, that should be fine if (and only if) you have the right decoders filters chain.


About Vista issues: well...I need to reinstall it once again and this is not a funny game. :rolleyes:

asarian
29th May 2008, 05:41
To transcode your vc-1 streams to avc, just remux them into M2TS/TS or MKV container, that should be fine
Except that the PS3 won't stream m2ts files with vc-1 content in it (nor will it play mkv, for that matter). Hence, my need to have it transcoded somehow to AVC, so I can remux the AVC stream into an m2ts file, which is PS3-streamable.

Kurtnoise
29th May 2008, 05:45
did you read carefully what I wrote ?

I meant :
1/ remux vc-1 to mkv or m2ts (with TSmuxer or mmg)
2/ transcode this mkv (or m2ts) to avc (with MeGUI)
3/ remux this avc to m2ts (with TSmuxer)

but for #2, you need to have all the decoders because MeGUI needs them (by using DirectShowSource(...)) to work properly.

asarian
29th May 2008, 05:50
did you read carefully what I wrote ?

I meant :
1/ remux vc-1 to mkv or m2ts (with TSmuxer or mmg)
2/ transcode this mkv (or m2ts) to avc (with MeGUI)
3/ remux this avc to m2ts (with TSmuxer)

but for #2, you need to have all the decoders because MeGUI needs them (by using DirectShowSource(...)) to work properly.

I read it carefully, but why would I need step 1? The vc-1 stream is already inside an m2ts file (bluray).

And yes, step 2 is of course the hard part; especially when I can't get MeGui to install properly under Vista. :)