Log in

View Full Version : Problems with DVD2AVI 1.76 and GK 0.28.4


Magno
14th June 2003, 11:16
I ripped the DVD's VOBs using DVDcrypter and extracted the .d2v using DVD2AVI ver 1.76; I also replaced the MPEG2dec3.dll which came with GordianKnot 0.28.4 with MPEG2dec3.dll ver 1.08 (i got it in this forum) that were supposed to output YUV12. But when i try to open the .d2v in GK i got an error message saying that the file is not a valid d2v file ver 1.76; if I use the original GK's MPEG2dec3.dll i haven't that problem, but when i try to code the movie in VirtualDubMod 1.5.11a, it says there isn't any valid YUV12 decompressor: "Couldn't locate decompressor for format 'YV12'(unknow)
VirtualDub requires a Video for Windows (VFW) compatible codec to decompress video. DirectShow codecs, such as those used by Windows Media Player, are not suitable". Maybe i need any codec i haven't?
How can i code my movies in YUV12? Should i use any other DVD2AVI version? Should i use MPEG2Decoder.dll instead of MPEG2dec3.dll? Maybe the MPEG2dec3.dll i am using doesn't support YUV12?

I have read som post on the forum but they are all a bit confusing for me. Can anybody help me, please? :D

Nic
14th June 2003, 13:23
Try installing the latest AviSynth 2.52 and when it asks whether you want to install the lite version of ffvfw say yes. That will allow VDub to encode from YV12.

All recent MPEG2Dec3.dll's support YV12 and AviSynth 2.5+

I don't know exactly what the problem is (I don't know the recent GKnot very well). But I hope that helps. If it doesn't you could try posting your D2V file too. (its just a text file)

Cheers,
-Nic

Magno
14th June 2003, 14:07
I have installed AviSynth 2.5.2 and ffvfw too but the problems is the same. If I try opening the AVS GKnot generates directly in VirtualDubMod, i get the same error message.
Anyway, i will try to configure ffvfw properly.

BTW, which one do you reommend to use: MPEG2dec3.dll, MPEG2dec.dll or MPEGDecoder.dll? I don't know what the differences are.

THANK YOU VERY MUCH!

Nic
14th June 2003, 15:19
Dont use MPEGDecoder.dll, Use MPEG2Dec3 if your going to use AviSynth 2.5+ and YV12. If using AviSynth 2.x and YUY2 use a normal MPEG2Dec.dll.

Try installing the latest XviD build as well as a recent DivX version. That should give you YV12 support for sure.

-Nic

Magno
14th June 2003, 16:10
I have just finished coding a movie with MPEGDecoder.dll and the colors are awful: it is like somebody had turned off the light in the movie ;)

I have configured ffvfw (selecting "YUV12" as "Uncompressed"), but i still can't open a .AVS that uses MPEG2Dec3.dll in VirtualDubMod so it is no use that i can configure ffvfw since it is selected in "Compression..." menu when the AVS is already opened. The message is the same i told before; i have installed all latest codecs (DivX 5.0.5 Pro and a version of Xvid by somebody calle "Nic" :D :D and ffvfw, the one coming with Avisynth 2.5.2).
Here it is the d2v file header:

DVD2AVIProjectFile
6
31 D:\Muertos de risa\vts_01_1.vob
31 D:\Muertos de risa\vts_01_2.vob
31 D:\Muertos de risa\vts_01_3.vob
31 D:\Muertos de risa\vts_01_4.vob
31 D:\Muertos de risa\vts_01_5.vob
31 D:\Muertos de risa\vts_01_6.vob

Stream_Type=1,0,0
iDCT_Algorithm=2
YUVRGB_Scale=1
Luminance=128,0
Picture_Size=0,0,0,0,0,0
Field_Operation=0
Frame_Rate=25000
Location=0,0,5,31D61



and here it is the AVS file:

SetWorkingDir("D:\archivos de programa\Gordian Knot 0.28\")
LoadPlugin("mpeg2dec3.dll")
mpeg2source("D:\Muertos de risa\muertos.d2v")
trim(0,153668)
crop(8,86,704,408)
LanczosResize(544,288)



I am really desperated :S I can't use MPEG2Dec3.dll in any way! :(

trbarry
14th June 2003, 23:59
I thought you only get that "can't locate decompressor" message when you don't have a recent version of Divx or Xvid installed. Then vdub can't convert YV12 for its preview window.

- Tom

Magno
15th June 2003, 00:53
I can't even see the preview window... The AVS is not loading in VD because of the message i said.
BTW, i had coded tons of movies before with Gordian Knot 0.27 and Avisynth 2.0 withput problems.

trbarry
15th June 2003, 01:03
Do you have a recent version of Xvid or Divx installed?

Magno
15th June 2003, 10:53
Yes: DivX 5.0.5 Pro and Xvid 0.90

trbarry
15th June 2003, 13:13
I know nothing about ffvfw. I think that Xvid release may be too old to handle YV12 input but the Divx release should be able to handle it.

To find out if that's the problem why don't you place a ConvertToYUY2() statement at the end of your AVS script and see if you can then get at least as far as vdub preview?

- Tom

Magno
15th June 2003, 16:58
I have made this modification:

ConvertToYUY2(mpeg2source("D:\Muertos de risa\muertos.d2v"))

and the file opens properly in VirtualDubMod 1.5.1.1 and i even can preview the movie. But if i try:

ConvertToYV12(mpeg2source("D:\Muertos de risa\muertos.d2v"))

I get the same error message; both cases using MPEG2Dec3.dll

Anyway, why can i use YUV12? What do you recommend me to do? Should i use YUY2 or YUV12? Which one is better? I think YUY2 is better but it has a lot more of data to compress (it is slower: 18 fps in a Athlon 1400MHz) and YUV12 reduce the color resolution but it is faster (i got 20-21 fps when i used MPEG2Dec.dll with Avusynth 2.0).
What do you think?

Magno
16th June 2003, 19:59
EVERYTHING FINE NOW!!!!!!!!!!!
I don't use ConvertToYUY2 anymore and it works!!

The solutions was lost in the big inmensity of the forum :D

I only had to include this alphanumeric value in windows registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32\VIDC.YV12

and set the value to "divx.dll" although "xvid.dll" works too.

THANKS TO EVEYBODY!! :D