Log in

View Full Version : Internal Error MMX state left on:


hitch
25th September 2002, 14:50
I'm getting an error trying to play a avisynth file from latest vdub 1.4.10 (13870):

Internal Error MMX state left on: T:\projects\VirtualDub_old\main\VideoSource.cpp:1101

The virtualdub.org site knowledge base lists this error occuring but only during scanning for bad frames and does not mention avisynth. But I'm having the error when I try to play the avs file using AVISource command in avisynth. I tried using DirectShow Source and I still get the same error, but this time its when I move the slider.

I'm attempting to play an avisynth file which has worked for me before in vdub with no problems. I recently installed the latest Avisynth 2.05+ but I do'nt think that's the reason because I uninstalled it and installed an older verison but it didn't help.

Loos like vdub is hitting a bad frame and then getting this error, but I'm not sure how to fix it.


ANy thoughts?

hakko504
25th September 2002, 15:08
:logfile: Please post the .avs

The problem has been reported with a number of different plugin/filter combinations. Make sure you have the latest versions of everything and that all resolutions are compatible with the respective filters.

hitch
25th September 2002, 16:23
---------------------------
LoadPlugin("c:\multimedia\avisynth_20\plugin\tweak.dll")
LoadPlugin("c:\multimedia\avisynth_20\plugin\decomb.dll")
LoadPlugin("c:\multimedia\avisynth_20\plugin\mpeg2dec.dll")
AVISource("F:\Fira 80 Bday_01281984_2.avi")
letterbox(16,16)
FieldDeinterlace(dthreshold=2)
Tweak(hue=8,sat=2,cont=1.3,bright=10)
TemporalSmoother(2,1)
bicubicresize(352,480,0,0.6)
---------------------------

I've also tried DirectShowSouce and AVIFileSource with same result. I've also tried commeting out everything but the AVISource and it still gave me the error so I don't think it's the filter chain.

Is there anything to the new vdubavs "belgabor" version that changed my settings? I installed it recentyl as well.

Thanks for the help

hakko504
25th September 2002, 20:11
Originally posted by hitch

LoadPlugin("c:\multimedia\avisynth_20\plugin\tweak.dll")
LoadPlugin("c:\multimedia\avisynth_20\plugin\decomb.dll")
LoadPlugin("c:\multimedia\avisynth_20\plugin\mpeg2dec.dll")
AVISource("F:\Fira 80 Bday_01281984_2.avi")
letterbox(16,16)
FieldDeinterlace(dthreshold=2)
Tweak(hue=8,sat=2,cont=1.3,bright=10)
TemporalSmoother(2,1)
bicubicresize(352,480,0,0.6)
I've also tried DirectShowSouce and AVIFileSource with same result. I've also tried commeting out everything but the AVISource and it still gave me the error so I don't think it's the filter chain.

Is there anything to the new vdubavs "belgabor" version that changed my settings? I installed it recentyl as well.

Thanks for the help The first thing that came to mind was to try to comment out filters until it worked, but as you already have tried that, then there must be something else wrong.

What codec is the AVI file compressed with? Can you open the AVI directly in VD without an error? Can you play the .avs in mediaplayer (very slow, but anyway)? Have you tried VD1.4.10 original version, or even NanDub? And just to make sure that it isn't audio that is playing you a trick, add KillAudio directly after opening the AVIfile.

hitch
25th September 2002, 20:59
@hakko

AVI file captured with morgan multimedia mjpeg at 19. I can open AVI in vdub with no problem. Haven't tried to play avs with media player yet, will do. Tried 4 versions of vdub (1.4.9, 1.4.10 original, vdub-syn, vdubavs) haven't tried nandub though. I'll try the killaudio switch in avisynth and post results.

This script used to work ..since then I've installed latest avisynth 2.05+ and also vdubavs (but can't see this one making any changes) sicne it doesn't install anything into windows registry(?).

I can try uninstalling divx 3 codec since vdub.org site seems to think this error is related to that, however the file is not encoded with divx so I can't see it making a difference.

I'll also try to reinstall aviframe client support using auxsetup utility just to eliminate things.

Also note that using DirectShowSource gave a different type of problem. In fact I didn't get the mmx error I think (I'll check again), instead I can open the avs and play the file, but when I try to move the slider vdub freezes. My guess is it's hitting a bad frame and then doesn't know what to do.

More later.

THanks for helping

hitch
26th September 2002, 00:38
Everything is commented out but avisource command.

OK this is strange, I'm now getting an avisynth unknown exception error 0xc0000096 at 0x07d27d24 which is the end result of the mxx error (depends on whether you hit play or move the slider you get differnt error message from vdub).

It doesn't play at all under mediaplayer (same unknown exception error). Killaudio made no difference.

If I use DirectShow Source I can open the file, but it plays slow and I can't drag the slider at all since it freezes and I hav to kill vdub. This is under 1.0 beta 6 versino of avisynth. Under 2.05+ version it closes vdub and I ca't even pull up the file.

I checked under both avisynth 1.0 Beta 6 (dvd2svcd version) and 2.05+ and another version I had around. I have only 1 copy of avisynth.dll in system32 folder. No dice.

Any hints as to what direction to go to isolate the problem would be appreicated

hakko504
26th September 2002, 08:34
Could you try adding ConvertToYuY2() to the script right after opening the file?AVISource("F:\Fira 80 Bday_01281984_2.avi").ConvertToYuY2()

If that doesn't work, we'll have to ask a moderator to move this thread to the AVIsynth forum where you can get more qualified help.

hitch
26th September 2002, 14:25
I tried it, but it didn't work I get the unknown exception error followed with the mmx error (depends on whether I try to play the file or use the slider). BTW I tried this with avisynth 1.0 Beta 6 as well.

I've also tried to open the file usind cce 2.5 (trial) which I used to be able to do, but now I can't.

You're right we should ask for this thread to be moved to avisynth forum. Thanks much for trying to help me, I really appreciate it.

Swede
26th September 2002, 14:32
Ok, moving... Keep you hands inside the vehicle at all times.. Thank you... :)

Wilbert
26th September 2002, 15:16
We have to know whether it is a problem of your avi or AviSynth. Load your avi in VDub, do a direct stream copy (or recompress it with Huffyuv for example). Try it again with your script pointing to your new avi.

hitch
26th September 2002, 15:21
@wilbert

the problem is in my aviasynth or system config. The avi is fine as it played before and will play in media player if I switch to directshowsource instead of avisource.

I've tried opening other avis usin avisynth in both vdub, media player and even cce and it crashes for each so it's not the avi.

I can try this suggestion too, but it won't get me anywhere I think. Shoul I try it anyways?

JuanC
26th September 2002, 16:08
Any other, previous, version of Morgan MM?
How about PICVideo?

with PICVideo you can get RGB or Force YUY2 output. (I don't know if this is possible with Morgan MM?) Could your problem be related with a colorspace conversion, internal to the codec?

dvd2svcd
26th September 2002, 16:17
This suggestion might be completly off track but I have experienced problems with long file names when using W98. Maybe you could try using the short filename of "Fira 80 Bday_01281984_2.avi" or just rename it to something shorter.

sh0dan
26th September 2002, 17:00
Is VobSub installed? I saw in another thread, that it might create problems.

hitch
26th September 2002, 17:06
@juanc

This avi was encoded with is the latest MM mjpeg V3 codec. Not sure if you can force YUY2 output? It has a settings window (via control panel, sounds sand multimedia) where I can choose a few things, such as float vs integer for decompression. I attached an image of what the settings look like if that helps. I tried both float and integer with no change to end result.

However I think it may be the MM mjpeg v3 codec decompressor partially responsible. I tried opening up a different avi with divx encoding and it works with vdub with no problems. Does this explain why I can play the original avi in vdub with dierctshow source since it uses a different decompressor? I'm a newbie at this so please let me knwo if you think I'm on the right track.

Even if it is the MMJPEG, regardless of which avi I'm using (divs vs mjpeg) I still can't open an avs with in CCE any longer, which is a really big pain right now.

Is there a way to completely uninstall and reinstall all video codecs? I have installed the following programs or codecs previously:
divx 4 and 5, windvd, windows media player, MMmjpeg V3, vfapi support, other codecs (microsoft, indeo, cinepak, etc..)

@dvd2svcd
I'm using windows 2000, but I also thought of this earlier and changed the filename to fira with no change in result. BTW, thanks much for your prog I use it constantly and I'll use this as a reminder to donate some more to your excellent efforts.

hitch
26th September 2002, 17:09
Yes I have vobsub installed. I can uninstall, but I have had it installed for the past 3 months and I've been using avisynth extensively with no problems.

JuanC
26th September 2002, 19:49
If you have an older version of Morgan MM codec, give it a try. Uninstall the current one and test the avs with the older. Also make sure that only one avisynth.dll is floating around in your installation.

hitch
26th September 2002, 22:27
I uninstalled the morgan multimedia codec and reinstalled picvideo and that solves the problem. I'm able to open and play an avs file in vdub with no errors. Even if the avi was encoded with morgan multimedia compressor the picvideo decompressor decompresses it.

Avisynth doesn't like MM MJPEG v3 codec on my computer. Anyone else have a similar problem?