Log in

View Full Version : Does MPEG2DEC.dll work with 2.5?


plazz2000
9th March 2003, 13:06
Sorry if this seems a bit basic, but this is my avs file:

MPEGSource("C:\THE_MATRIX\VIDEO_TS\THE_MATRIX.D2V")
crop(4,74,712,424)
BicubicResize(704,288,0,0.75)

I have both MPEG2DEC.dll, and MPEG2DEC3.dll in the plugin folder. Which does AviSynth 2.5 use to open the .d2v file?

Also, what is the difference between using .vob and .d2v in my avs file?

Thanks.

esby
9th March 2003, 13:36
maybe ...

checking the FAQ and www.avisynth.org will help you...

but more seriously to try to answer you directly

an avs script should be divided in two parts;

* plugin loading.

* avs processing.

yours is missing the first one,

LoadPlugin("<insertPath>/<insertPluginName>")
you need to load the correct mpeg2decoder dll, (the one that works with avs, check faq thread for that),
then you need to call mpeg2source( (..).d2v)

If you have errors output / problems etc., try changing dvd2avi version used to create the d2v, you can try also to change the decoder (check faq again).

For d2v & vob...
you cannot call a vob in the avs script, you only can use the d2v, which will map the vob, and allow you to use it.

esby

PS: of course people will say it is possible to mix the two parts i said for avs creation, but it is more clean when you start to do that.

[edit] PS2: i just saw the thread with mpegdec.dll
http://forum.doom9.org/showthread.php?s=&threadid=31329
Or you use .vob / m2v with mpegdec
or you use .d2v with mpeg2decXXX
but not the one with the other syntax.

scorchED
9th March 2003, 14:33
if you want to use nic's mpeg2dec.dll use "mpeg2source".
if you wnat to use marcfd's mpeg2dec3.dll so you have to use "mpegsource"

nic's mpeg2dec.dll has a little bit better image quality but doesn't support correct jumping to frames (f.i. "trim").
marcfd's dll has some extra filter options and handle framejumping very well, but image quality isn't so superior as nics dll.
but the quality difference is very very little.

if definatly don't need the plugin part in avisynth2.5 if all plug's are stored in the plugin folder of your avisynth-install-directory.

Wilbert
10th March 2003, 10:39
if you want to use nic's mpeg2dec.dll use "mpeg2source". if you wnat to use marcfd's mpeg2dec3.dll so you have to use "mpegsource"
There's no nic's mpeg2dec.dll. Mpegdecoder.dll is from nic and needs to be used with mpegsource.dll.

So, let's consider this script:

MPEG2Source("C:\THE_MATRIX\VIDEO_TS\THE_MATRIX.D2V")
crop(4,74,712,424)
BicubicResize(704,288,0,0.75)

I have both MPEG2DEC.dll, and MPEG2DEC3.dll in the plugin folder. Which does AviSynth 2.5 use to open the .d2v file?

Good question! Anyone? Since I also have both of them in my plugin folder and used it one time with Convolution3d (which requires YV12), I guess mpeg2dec3.dll is used. But I can't tell you why...

Of course if you load them explicitly like esby said, you won't have this problem.