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 > Capturing and Editing Video > Avisynth Development
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th June 2004, 21:16   #1  |  Link
[MA]Debito
Blarfuloggins
 
Join Date: Dec 2003
Location: USA
Posts: 75
Masktools Problem

An instruction not supported by the CPU was executed in module 'MASKTO~1'.

I keep getting this message anytime I try to load the masktools avisynth plugin.

My avisynth is 2.54 and masktools is up to date 1.4.16.

Any ideas to fix it?
__________________
Encoder by Day, Asleep at Night.

My Current Set up:
Intel Q6600
Intel DG33TL Mobo
3 GB Patriot Memory 4-4-4-16
nVidia 7800GTX 256mb PCI-Express
ThermalTake XaserIII 1420 Case
x264 - MeGui
[MA]Debito is offline   Reply With Quote
Old 30th June 2004, 21:57   #2  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,856
I need more information : can you post the script you were using ? Why don't you use the autoloading of the plugins ? Finally, the latest version of the masktools is available here, it's the 1.5 ( though it was mainly a partial rewriting of the documentation in the avisynth's style, iirc )
Manao is offline   Reply With Quote
Old 30th June 2004, 21:59   #3  |  Link
[MA]Debito
Blarfuloggins
 
Join Date: Dec 2003
Location: USA
Posts: 75
#[MA]Debito's Rainbow Madness Script version .01
#Made by [MA]Debito
#Made um...today! (not really)

#Global Functions

global x_res = 576
global y_res = 432

d2v_file = "C:\Documents and Settings\Debito\Desktop\cowboy\cowboy.d2v"
avs_plugin = "C:\Program Files\AviSynth 2.5\Plugins\"

#Plugin Loading

LoadPlugin(avs_plugin + "\MaskTools\MaskTools.dll")
LoadPlugin(avs_plugin + "\_2DCleanYUY2\_2DCleanYUY2_for_25.dll")
LoadPlugin(avs_plugin + "\aWarpSharp\aWarpSharp.dll")
LoadPlugin(avs_plugin + "\Decomb511\Decomb511.dll")
LoadPlugin(avs_plugin + "\MPEG2Dec3\MPEG2Dec3dg.dll")
LoadPlugin(avs_plugin + "\VSFilter\VSFilter.dll")
LoadPlugin(avs_plugin + "\Undot\UnDot.dll")
LoadPlugin(avs_plugin + "\Deen\Deen.dll")
LoadPlugin(avs_plugin + "\ATC\ATC.dll")
LoadPlugin(avs_plugin + "\VagueDenoiser\VagueDenoiser.dll")
LoadPlugin(avs_plugin + "\Dup\Dup.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\Masktools\mfRainbow-v0.31.avs")

#IVTC Function

Function IVTC(video)
{
return video.\
Telecide(order=1, blend=true, guide=1, vthresh=25).\
Decimate(cycle=5)

}

#Resize

Function Resizing(resized_video)
{
return resized_video.\
bilinearresize(x_res, y_res)
}

#Color Correction

Function Coloring(colored_video)
{
return colored_video.\
Mergechroma(colored_video.coloryuv(levels="TV->PC")).\
Mergechroma(colored_video.coloryuv(levels="TV->PC"))
}

#Processing

Function Processing(Layer_video)
{
return Layer_video.\
Undot().\
atc(l=0, c=3, b=12, t=0.6).\
VagueDenoiser(threshold=4,method=1,nsteps=7,chroma=true).\
ConvertToYUY2().\
_2DCleanYUY2().\
ConvertToYUV2().\
aWarpSharp(16.0, 2, 11, 1).\
dup(threshold=2.0, copy=true, blend=true, maxcopies=20, debug=false)
}


#Encoding

encode = mpeg2source(d2v_file, idct=7, ipp=true,

cpu=6).IVTC().Resizing().Coloring().Processing()
__________________
Encoder by Day, Asleep at Night.

My Current Set up:
Intel Q6600
Intel DG33TL Mobo
3 GB Patriot Memory 4-4-4-16
nVidia 7800GTX 256mb PCI-Express
ThermalTake XaserIII 1420 Case
x264 - MeGui
[MA]Debito is offline   Reply With Quote
Old 30th June 2004, 22:54   #4  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,856
I think it's because both Masktools.dll and Mpeg2dec3dg.dll have a filter named "MotionMask" which wreates a conflict when both are loaded explicitely.

To solve the problem, download the latest alpha version of avisynth, in which this issue has been adressed & solved.
Manao is offline   Reply With Quote
Old 1st July 2004, 16:23   #5  |  Link
[MA]Debito
Blarfuloggins
 
Join Date: Dec 2003
Location: USA
Posts: 75
I'm using the 2.55 alpha

Edit: and the it was the latest when i got it i think (yesterday)
__________________
Encoder by Day, Asleep at Night.

My Current Set up:
Intel Q6600
Intel DG33TL Mobo
3 GB Patriot Memory 4-4-4-16
nVidia 7800GTX 256mb PCI-Express
ThermalTake XaserIII 1420 Case
x264 - MeGui
[MA]Debito is offline   Reply With Quote
Old 1st July 2004, 16:37   #6  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,856
In your first post, you said you were using avisynth 2.54. Can you check which version of avisynth is loaded, by using the version() filter ?

Also, try the following script :
Code:
d2v_file = "C:\Documents and Settings\Debito\Desktop\cowboy\cowboy.d2v"
avs_plugin = "C:\Program Files\AviSynth 2.5\Plugins\"
LoadPlugin(avs_plugin + "\MaskTools\MaskTools.dll")
LoadPlugin(avs_plugin + "\MPEG2Dec3\MPEG2Dec3dg.dll")
encode = mpeg2source(d2v_file, idct=7, ipp=true, cpu=6)
Manao is offline   Reply With Quote
Old 1st July 2004, 16:44   #7  |  Link
[MA]Debito
Blarfuloggins
 
Join Date: Dec 2003
Location: USA
Posts: 75
still doesn't work

Edit: Also, I noticed that I should have put this in avs_plugin = "C:\Program Files\AviSynth 2.5\Plugins"

But...this still didn't fix it.
__________________
Encoder by Day, Asleep at Night.

My Current Set up:
Intel Q6600
Intel DG33TL Mobo
3 GB Patriot Memory 4-4-4-16
nVidia 7800GTX 256mb PCI-Express
ThermalTake XaserIII 1420 Case
x264 - MeGui
[MA]Debito is offline   Reply With Quote
Old 1st July 2004, 16:59   #8  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
1) Does the following script work:

avs_plugin = "C:\Program Files\AviSynth 2.5\Plugins\"
LoadPlugin(avs_plugin + "\MaskTools\MaskTools.dll")
Version()

with mpeg2dec3dg.dll, mpeg2dec3.dll and mpeg2dec.dll outside plugin dir.

2) What kind of CPU do you have?
Wilbert is offline   Reply With Quote
Old 1st July 2004, 17:07   #9  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,856
Wilbert : you should enable signature It's a PIV 2.8e

[MA]Debito : If the script Wilbert or I gave you doesn't work, it's not the fault of the masktools. And I (re)checked the MMX code, and couldn't find any AMD specific instructions. It was once the case, with an old version.
Manao is offline   Reply With Quote
Old 1st July 2004, 17:16   #10  |  Link
[MA]Debito
Blarfuloggins
 
Join Date: Dec 2003
Location: USA
Posts: 75
It didn't work...But, I never had a problem with it before...and I used the same stuff...

Edit: Ok...I've disabled HyperThreading...I'm not getting the MaskTools error anymore, Instead I'm getting this one:

Evaluate: Unrecognized exception!

My AVS file Line 68 and 74.

68: dup(threshold=2.0, copy=true, blend=true, maxcopies=20, debug=false)

74: encode = mpeg2source(d2v_file, idct=7, ipp=true,
cpu=6).IVTC().Resizing().Coloring().Processing()
__________________
Encoder by Day, Asleep at Night.

My Current Set up:
Intel Q6600
Intel DG33TL Mobo
3 GB Patriot Memory 4-4-4-16
nVidia 7800GTX 256mb PCI-Express
ThermalTake XaserIII 1420 Case
x264 - MeGui

Last edited by [MA]Debito; 1st July 2004 at 18:17.
[MA]Debito 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 09:07.


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