Log in

View Full Version : megui crashes in vista


Pages : [1] 2 3 4

akby
25th April 2007, 13:48
its irritating

run as administrator

avisynth script creator --> 123.d2v---> reads fine
avisynth script creator --> 123.avi ---> crash
avisynth script creator --> 123.mkv ---> crash
i tried the same vob file i made the d2v with. it crashed then too

i select the file to open and it crashes

i m assuming there is some problem with directshow source

can someone help me out

megui is updated
avisynth 2.5.7

check
25th April 2007, 13:56
try creating a 'wrapper' avs for files you load, ie create an avs directshowsource("file"), and then load that. An ugly kludge to be sure, but it will hopefully work.

akby
25th April 2007, 16:14
you mean make an avisynth script then load it again in avisynth script creator?

that didnt work either though

i have an old script that was created on xp
when i load that into megui's input on the main screen, it crashes again

lpvtech
25th April 2007, 17:07
It should be a problem with MediaInfo.dll and is not DirectShowSource. It crashes in Vista. Every program that utilizes it crashes. The d2v doesn't crash because it does not use MediaInfo.dll. MeGUI gets the info about any file (other than d2v which already has the info) from MediaInfo.dll

Info in the sense Resolution, Playtime, no. of frames, frame rate, aspect ratio etc..

akby
25th April 2007, 20:15
any suggestions?
i really dont want to move away from megui

Kurtnoise
26th April 2007, 09:02
It should be a problem with MediaInfo.dll and is not DirectShowSource. It crashes in Vista. Every program that utilizes it crashes.
Are you sure about that ? I'm testing Yamb on Vista which uses this lib and it works perfectly...So, the problem is outwhere.

ChronoCross
26th April 2007, 18:07
any crash message?

lpvtech
26th April 2007, 18:40
Well. I don't use Vista, so I'm sorry I cannot provide you with the exact solution.. But that is what I heard from my friends [which I had seen myself] and I read about it in someother places too. But try this:
Create a simple AVS with DirectShow Source and no other filter,
Sample:

DirectShowSource("D:\Movies\Sample.avi")

Then open it MediaPlayer. If it plays it will confirm that there is no problem with DirectShowSource.

It'll confirm the problem.

Out Of Topic:
And Kurtnoise13, I really really was looking forward to thank you for your excellent tools YAMB and BeLight.:cool: :thanks: They are simply awsome and I can't thank you enough. And I would suggest that you could consider them to be OpenSourced. It will help its rapid improvement, though you already programmed it to be perfect:) :)

akby
26th April 2007, 21:58
"Script error: ther is no function named "DirectShowSource"

when opening and avs in media player classic, windows media player

i reinstalled avisynth but nada

any crash message?

no there isnt. theres just a window that comes up that says "megui has stopped working" and then it closes

lpvtech
26th April 2007, 22:21
"Script error: ther is no function named "DirectShowSource"


Now that's interesting... Are you sure that the DirectShowSource.dll file is in the Avisynth plugins directory..
Try loading it through the LoadPlugin statement..
Try if this works..

Sample..

LoadPlugin("C:\Avisynth\DirectShowsource.dll")
DirectShowSource("D:\Sample.avi")

Since you say that there is no problem with MPEG2Source function [used with d2v], this should mostly fix your problem.. Or perhaps you don't have the DirectShowSource DLL in the plgins directory..

And I would very much suggest you to change the title to something like 'DirectShowSource problem in Vista', since this actually has nothing to do with meGUI [only it uses AviSynth].

akby
27th April 2007, 09:29
Sample..
Code:

LoadPlugin("C:\Avisynth\DirectShowsource.dll")
DirectShowSource("D:\Sample.avi")



this worked it on media player classic
but megui still crashes

ohh and incidentally
the avs without the load plugin statement runs fine on nero recode. whats even more annoying is that recode never picked up the avs files before, least not on XP

lpvtech
27th April 2007, 13:36
Well. Atleast we know one thing.. The problem is definetely not with the DirectShowSource or AviSynth..

fight2win
27th April 2007, 18:32
megui is not updating in vista, all it tries to download, it says path is invalid, even i did not install in program files, pls help...

akby
5th May 2007, 10:27
i formatted and reinstalled vista

dont have the problem of megui crashing
i have no idea why but it works fine now

another problem thats come up is this log error

"Log for job job2-2

avis [error]: unsupported input format (YUY2)
x264 [error]: could not open input file 'D:\ty\1\1.avs'"

the file is an avi file with a divx5 codec
the avisynth works fine in media player classic

foxyshadis
5th May 2007, 14:57
That just means you have to add a ConvertToYV12() at the end of your script. MeGUI will normally ask you to do this in the scriptcreator if the script is returning YUY2.

akby
5th May 2007, 15:52
it used to ask that before

maybe the new version skips on that

uncertainty
6th May 2007, 16:57
I recently built a new fileserver and decided to use my Vista license for it as its still too beta for my HTPC. I did a clean Vista install then added megui and have not had any crashes as others have reported here.

akby
6th May 2007, 18:34
i did a clean install as well
working just fine now

just hope they dont crop up again

kikker
17th May 2007, 22:26
Hmm..I have the same problem both with MeGUI and Xvid4PSP, both of which I really wanted to learn. I don't know if I want reformat though...

I wonder what the problem could be where both apps just shut down for no apparent reason...

ChronoCross
21st May 2007, 18:02
Hmm..I have the same problem both with MeGUI and Xvid4PSP, both of which I really wanted to learn. I don't know if I want reformat though...

I wonder what the problem could be where both apps just shut down for no apparent reason...

fresh install or upgrade? I've seen alot of conflicting dll problems that crop up with upgrades.

trooper11
14th October 2007, 02:02
I have been looking through alot of threads for help on this very issue trying to run this in Vista.

MeGui crashes when Im in the avisynth script creator. When I try to load any video, wether its avi or mkv, it crashes immediately.


Anyone found any methods for getting around this?

Im running the most current stable release of MeGUI (2.5.1007) and have tried the current beta version as well, same issue.

Sharktooth
14th October 2007, 03:36
we're aware of the multiple problems with Vista, but we dont know how to fix them. as a workaround try disabling the preview in the settings. it usually works...

amirkhan
14th October 2007, 15:05
Hmm..I have the same problem both with MeGUI and Xvid4PSP, both of which I really wanted to learn. I don't know if I want reformat though...

I wonder what the problem could be where both apps just shut down for no apparent reason...

I have the same problem on XP64... the shell encoder still keeps going but the gui disappears (crashes)

Atak_Snajpera
14th October 2007, 15:12
Both applications use .NET extension so problem must in .NET library

Sharktooth
15th October 2007, 20:26
berrinam found (dont ask me how!) what was causing the crash in mediainfo... but still we have to fix the directshow code.
practically speaking it still crashes, but one of the two causes of those crashes is fixed.
however, my hate for Vista is growing...

Zulithe
26th October 2007, 00:27
Sharktooth, hate it if you must, but there are a lot of us using it. Please don't give up on us! :D

berrinam
26th October 2007, 03:12
I'll tell you of one of my frustrations when I tried this DirectShow bug on a Vista computer: I could initially reproduce the crash, and then Vista "recovered" it. So now I can no longer reproduce the crash, and I have no way to debug it.

Anyway, Zulithe, I noticed you're using Nero MP4 Splitter. Try installing Haali Media Splitter (http://haali.cs.msu.ru/mkv) and giving it MP4 splitting support. Then, see if that works, and if not, check in GraphEdit whether DirectShow is actually using the Haali Splitter instead of the MP4 splitter.

berrinam
26th October 2007, 03:28
@Zulithe and anyone else who still has problems on Vista with the AVS creator: please try using the version of megui at http://www.megui.org/vista-directshow.zip because it contains diagnosis information.

When you try to open the file which causes megui to crash, it will show you dialog boxes containing messages about its progress. Please note which box is the last that displays before the crash, and post here.

Sharktooth
26th October 2007, 03:34
it will be hard, since from what i heard megui closes itself immediately

Zulithe
26th October 2007, 05:00
hello. yes it is now using haali splitter. graphedit doesn't specifically note it on the graph but the nero one is no longer there, and the haali icon appears in the system tray.

However I have had some explorer crashes while using haali when looking at thumbnails in folders. Not sure I will keep it around unless I am forced to...

okay i used the version linked above. the first box it shows upon opening a file in the avisynth window is 'opening directshow interface'.

The last one it shows before it closes is 'Opening MediaInfo file'

then it closes as it always does. i checked the logs, they are pretty useless :P no details given.

berrinam
26th October 2007, 05:18
If you go to Tools->Muxer->Adaptive Muxer, and you select this file as your video input, does it also crash in the same way?

Zulithe
26th October 2007, 10:02
berrinam: yes.

berrinam
26th October 2007, 13:13
Do you have libs version 0.2.6.1028? If not, please try updating to that version (ensure that Tools->Settings->Extra config->Configure servers->Autoupdate servers is set to development, not stable) and report back.

Does Avisynth preview work for you in the main window? I mean, when you select an Avisynth file for video input, if you have does it crash when it tries to show the video preview (if it doesn't crash but shows no preview window, please try changing Settings->Open Preview after Avisynth script selection to true)

Zulithe
27th October 2007, 00:24
berrinam. Thanks for your further replies. Yes I have 0.2.6.1028 libs (and all others up-to-date; i am using the development update)

select avisynth file? How do I even create one. I thought WAS trying to create one.

berrinam
27th October 2007, 02:20
You can test a simple Avisynth script by copy-pasting ColorBars(width=640, height=480, pixel_type="YV12") into a new plain-text file, and then changing the extension to ".avs". Then, try selecting that file from the main window.

Can you try also doing a clean install of megui: uninstall megui, then reinstall it fresh from SourceForge (http://sourceforge.net/project/showfiles.php?group_id=156112), then run autoupdate, and see if that works?

If that still doesn't work, another thing I would like you to try is replacing your MediaInfoWrapper.dll file with this one (http://www.megui.org/MediaInfoWrapper.zip). That will pop up heaps of dialog boxes telling you the fields of MediaInfo it is querying. The first time through, click "no" when it asks if you want more detailed information, as that will take forever to click through all of them. As before, notice where it crashes. Then, run it again, but this time, when you get to the field that caused it to crash, click "yes" for more information, and record the pointer and how far it gets in the text before it crashes. That should help give more information.

Sharktooth
27th October 2007, 02:39
damnit, this vista thing is crazy. you have my respect for your patience in debugging...

trooper11
27th October 2007, 17:46
Just thought I would chime in here.

I took the advice here and reinstalled MeGui and performed the latest updates, etc.

It still crashed so I tried the mediainfowrapper.dll file posted and went through each dialogue box hitting no. Unfortunately it didnt crash at any point until after I had gone through the entire process (after hitting ok for the 'File Closed' box).

I also tried just loading up a test script and it does load that correctly.

Hopefully this info helps getting through whatever these Vista issues are. I appreciate the work thats been done so far on it.

Zulithe
28th October 2007, 04:26
I apologize for my delay. I'm just getting frustrated.

berrinam, I created the simple script you suggested. If preview is OFF, i can open it in the main window and nothing crashes (selecting it as "AviSynth Script" in the Input tab, is this what you mean?)

However if I go to options and turn preview on, and re-select it, it will close with no error message as it usually does from the Script Creation window.

I have tried multiple uninstall/re-installs over the days, including a fresh install with the new installer for 0.2.6.1033 (and then updated in-full using developer update channel)

I will continue to cooperate as much as I can. I would love to be able to use MeGUI for my encoding needs.

Zulithe
28th October 2007, 04:41
re: mediawrapper test.
1. clicked 'no' everytime it wanted detailed information. Finally, I reach "Info Read" with an okay box. And then "File Closed" After clicking OK on this one it launches the preview!
http://i20.tinypic.com/mx1pgo.jpg

Since It never crashed I guess I don't need to do the second part you requested.

berrinam
28th October 2007, 11:52
As far as I know, I haven't changed anything about the library's behaviour, so there's no reason the bug is fixed. Just to confirm: this does currently work for you, right? (Other than the message boxes, of course). I've uploaded the same library as before, but without the message boxes. Please tell me if this works: http://www.megui.org/MediaInfoWrapper2.zip

@trooper11: You appear to have a different problem from Zulithe. Could you please try this version of megui and tell me what the last messagebox that showed before the crash was? http://www.megui.org/vista-directshow.zip

Zulithe
29th October 2007, 08:49
berriam: with your latest file i no longer crash in either of the test cases we attempted. Thank you. Although the aspect ratio of the preview after selecting my .d2v file is WAY wrong (i'm still experimenting with settings here!), at least nothing closes/crashes! I will attempt to reencode some things now. Thanks!

*edit* I should mention that if I attempt to open virtually anything other than a .d2v file from the Script Creator I get messages similar to this:
AviSynth script error:
DirectShowSource: RenderFile, the filter graph manager won't talk to me
Also, selecting .avi files tends to cause megui to close every time (no errors, log references, etc.)
Is this normal? Perhaps I should try using the haali splitter again (though it causes other unrelated crashes for me in explorer.exe at times)

I do have the correct codecs installed for all of these, if it matters.

Sharktooth
29th October 2007, 13:28
to fix the explorer crashes with the haali media splitter, open the options and set Explorer Integration -> Enable thumbnails extraction to No.

berrinam
29th October 2007, 21:36
Well, I'm pleased that the last library I uploaded works. However, I think it is pretty much exactly the same as the library distributed with MeGUI, so I suspect there's just something up with your update process which causes MeGUI not to correctly update the library.

Zulithe
30th October 2007, 00:37
berrinam: my update process? Any ideas what it could be? As I stated, I completely uninstalled megui, reinstalled (latest installer from sourceforge), set the update 'channel' to development, and updated through there. I'm not sure what I could be doing wrong that everyone else is doing right.

Not to harp here, but the problem is definitely not fixed (totally, anyway), as selecting .avi files almost always (always?) results in causing megui to crash without prompt, or errors like I pasted above (that particular error I got from a .mpg file)

I am a bit unclear as to rather one is supposed to be allowed to select files other than .dv2 at the AviSynth Creator screen. If that is not supported, perhaps you can force megui to ONLY accept .dv2 files to prevent people from encountering issues like this.

Also, I reinstalled Matroska Splitter (this time disabling explorer integration, thanks sharktooth), but it has no effect as to these crashes. Same behavior as before.

I apologize. I was a bit hasty when I said it was fixed. I have now tried more than a dozen files, both with your new file and the one distributed with 0.2.6.1034's installer/dev update. I am getting the same behavior as originally.

trooper11
30th October 2007, 00:43
sorry about the late reply, this is the first chance Ive had to try it again.

I uninstalled megui and downloaded the version suggested.

Now, berrinam, did you want me to just download that version of megui you linked to and run it without installing anything else? (i.e. updates, pointing it to all apps, etc, just trying to load it as is )

If so, when I did that, it failed when trying to open the preview (even though I had disabled that in the settings before I started) with this message:

The file DirectShowSource("H:\****.mkv", audio=false) cannot be opened. Please make sure its a valid AviSynth script and that AviSynth is properly installed.

Error Message for your reference: Unable to load DLL 'AvisynthWrapper': The specified module could not be found. (Exception from HRESULT: 0x8007007E)



thanks agian for taking the time to look at this

Kurtnoise
30th October 2007, 17:34
@trooper11: are you sure that you have AvisynthWrapper.dll in the same MeGui.exe folder ?

berrinam
30th October 2007, 21:18
Now, berrinam, did you want me to just download that version of megui you linked to and run it without installing anything else? (i.e. updates, pointing it to all apps, etc, just trying to load it as is )

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.

fight2win
1st November 2007, 18:11
when i try to create avs file, avisynth script creator, megui crashes.....

Tacio
2nd November 2007, 06:23
same problem... again... but in winxp

fatxy
3rd November 2007, 11:36
i fixed my vista (64bit) issues with these steps:

log in as 'real' admin

dont install megui and avisynth under these paths

C:\Programme
C:\Programme (x86)
C:\Program Files
C:\Program Files (x86)

after that, everything is workin very well :)