digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   TMPGEnc: MPEG2Dec3.dll Error (http://www.digitalfaq.com/archives/encode/13335-tmpgenc-mpeg2dec3dll-error.html)

nighthawk 02-19-2005 09:34 PM

MPEG2Dec3.dll Error
 
Hello,

I keep getting the same error message when I load up my script "unrecognized exception line 3" It's the MPEG2Dec3.dll line. I have this filter in my Avisynth plugin directory, my readavs.dll is installed properly and set to the highest priority, I'm using the latest Divx codec, and the latest tmpgenc. This works on one of my machines but not the other. Both OS's are XP pro. I am also using the latest Avisyth version as well. Any suggestions here? I don't know why it would work on one computer just fine and not the other. The set-ups are the same except one computer is an Intel processor and the other is a AMD.

Dialhot 02-19-2005 09:47 PM

Don't you have a DGindex.dll in you plugin directory ?
Do you use a "idct=" parameter on the mpeg2source line ?

Note: what do you call the "mpeg2dec3.dll" line. What is the exact text of that line ???

nighthawk 02-19-2005 09:53 PM

No DGindex in the plugin directory, I don't have any parameters on the line as it's Kwag's optimal script that I have been using for a long time now. the line itself is the the third one down on the srcipt titled:

LoadPlugin("C:\Filters25\MPEG2Dec3.dll")

nighthawk 02-19-2005 10:23 PM

do I need a DGindex.dll in the plugion directory? I never needed that there before.

rds_correia 02-20-2005 05:53 AM

No you don't.
In fact Phil wanted to know if you have DGDecode.dll in the plugins directory.
That's only for users of DGMPGDec, a project similar to DVD2AVI.
But since you're using DVD2AVI&MPEG2DEC3.DLL you don't need DGdecode.dll in your plugins directory.
Phil was only trying to find out if you had such a file.
Then he would advise you to get rid of it if you are only using DVD2AVI ;-)
Cheers

rds_correia 02-20-2005 05:57 AM

BTW, please post your full script so that we can understand why you say that line 3 is the mpeg2dec3.dll line.
Cheers

nighthawk 02-20-2005 09:07 AM

here is the entire script it's an older optimal script but it's been working very well for me for a long time.

## DLL Section ##
#
#LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
#LoadPlugin("C:\Filters25\GripFit_YV12.dll")
#LoadPlugin("C:\Filters25\STMedianFilter.dll")
#LoadPlugin("C:\Filters25\asharp.dll")
#LoadPlugin("C:\Filters25\unfilter.dll")
#LoadPlugin("C:\Filters25\undot.dll")
#
####
## Main section and static filters ###

Mpeg2Source("D:\myMovie\mm.d2v")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(352, 240, overscan=1, source_anamorphic=false)
#GripCrop(352, 240, overscan=1)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")

#
#
#

GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()
#Sampler()
#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}


#
####

rds_correia 02-20-2005 10:54 AM

Every line starting with a # doesn't count.
So your 3rd line should either be undot() or limiter().
I'm not sure because I don't know if an empty line counts or not and you have one just before the Mpeg2source().
So, do make sure you have undot.dll on avisynth's plugins directory.
Cheers

nighthawk 02-20-2005 11:29 AM

the undot is in the plugin directory, and the pound sign is in front of the third line, the error still keeps coming up the on that particular line though. LoadPlugin("C:\Filters25\MPEG2Dec3.dll") The error message unable to load that particular filter.

rds_correia 02-20-2005 12:00 PM

Nope, sorry to say so, but if you have the hash sign before the mpeg2dec3.dll line then it is impossible that avisynth is refering to that particular line.
It states it has found an error in the 3rd line but it doesn't tell you which one is "his" 3rd line does it?
That's because it should be either undot or limiter since it skips lines that beging with an hash.
Please avoid empty lines in your script.
But if you're using avisynth 2.5.5 (latest) you should be having problems with limiter which is built-in avisynth...
So that leaves us undot.
And if you're saying that undot is in there too...
Please make sure that there is no other avisynth installed in your system.
For safety sake, uninstall avisynth and reinstall it again on a small path.
Then put the needed filters in it's plugins directory again.
If it keeps bugging you, try a simple script like:
Code:

mpeg2source("c:\movie\mymovie.d2v")
That will proove us if your avisynth is working at all.
Cheers

nighthawk 02-20-2005 12:21 PM

I unistalled avisynth 2.5.5 and went back to 2.54 tried to load the script and getting the error in tmpgenc "unsupported format" the only way that I can tell what line it's getting humg up on is by opening up the script file in WMP and there it tells me that it is the "LoadPlugin("C:\Filters25\MPEG2Dec3.dll")" line. What's puzzling is that this exact same setup works on one computer but not the other. My only difference is that I went with avisynth 2.5.5 on the one that doesn't work and 2.54 is on the one that does work. After unistalling the 2.5.5 and reinstalling 2.54 I'm still getting the same error. Should I clean out the registry of all remants of "readavs" and avisynth and reinstall or would that make any difference?

Dialhot 02-20-2005 01:44 PM

There is something not normal in your situation. Please remove all lines that begin with "#", use this script, and if there is an error, tell us the exact message, the line number and post the exact script you gave to avisynth.

nighthawk 02-20-2005 08:45 PM

Will give all this a try. I will be gone for a couple of days and will post again on Wednesday with my findings. thanks for helping and I'm hoping that we can figure it out throughout the course of the week
Thanks

nighthawk 03-02-2005 08:07 PM

Thanks for all the input. I'm not sure what the cause was, everything just starting working again and I have no idea what happened.


All times are GMT -5. The time now is 08:17 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.