PDA

View Full Version : How to build MPEG2DEC.DLL?


trbarry
29th December 2001, 15:39
I have source for DVD2AVI 1.83 and have incorporated some of DmitryR's SSE2 P4 optimizations. See the DVD2AVI Optimization (http://rilanparty.com/vbb/showthread.php?s=&threadid=11033) thread.

But while I can make this version of DVD2AVI work by itself I can't call it from Avisynth using mpeg2dec.dll.

So how do I build a new mpeg2dec.dll that will be able to use my new DVD2AVI? It looks like mpeg2dec.dll is mostly built on DVD2AVI code and there is source for (some version of) mpeg2dec.c in the package. But how do I turn it into an Avisynth filter? Obviously something is still missing.

- Tom

trbarry
29th December 2001, 18:14
Ok, stupid me. I'd forgotten that I'd already (months ago) found and downloaded the mpeg2dec source from Doom9 sources.

But I've heard rumors that DVD2AVI 1.82/1.83 uses a slightly different .d2v format. The source for mpeg2dec I've got is from August and still matches the newest from Doom9.

Anyone know about this? I don't know if that's compatible. Did I just hear a groundless rumor somewhere?

Of course if there is a compatibility problem then folks probably have much worse problems then mine, creating .d2v files with DVD2AVI and then reading them with whatever code is included with Gordian Knot.

But it would be nice to know. ;)

- Tom

vlad59
29th December 2001, 18:43
As far as I can remember, I don't think that the d2v structure has changed.

Dvd2Avi 1.82 (by OGO) just add the resize code in the save Avi function (not in the VFAPI part). OGO didn't change anything in the d2v structure (that was in the todo list, but nothing was done).

Dvd2Avi 1.84 is just a lame addon to the ac3 decryption of dvd2avi.

I hope I'm not completly wrong.