View Full Version : Error "File is not valid D2V file"
vapor123
11th February 2005, 02:52
When I Prepare VOB files through Gordian Knot version 34.6 or 33.1 I receive the error "File is not a valid d2v , avi or avs file!". I have downloaded and reinstalled GN several times and I can't get it to open the D2V file. What could be causing this to happen? I had no problems using GN 33.1 then I upgraded my HD and now GN will not work .
Any thoughts would be helpful.
Thanks in advance.
Gordian Knot 34.6
DGIndex 1.2.0 RC2
neuron2
11th February 2005, 03:01
Probably you have mismatched DGIndex and DGDecode versions.
Do this. Forget GK for now. Just extract the DGMPGDec 1.2.0 RC3 release into a directory. Go to that directory. Run DGIndex right there and process a file to make a D2V right there in that same directory. Then make this AVS script right there:
loadplugin(".\dgdecode.dll")
mpeg2source(".\your_d2v.d2v")
Then load the AVS script into VirtualDub. Does it work?
vapor123
11th February 2005, 03:58
I ran your script:
loadplugin(".\dgdecode")
mpeg2source(".\frosty2.d2v")
and VirtualDubMod just closes, nothing runs.
neuron2
11th February 2005, 04:06
Well, I left off the .dll on "dgdecode" but I added it in an edit. I assume you have that?
OK, then. Can you post the first 20 lines of the D2V?
And can you cut the clip to a reasonable size, make sure that still fails, and then upload it to my server? If you do that you are guaranteed to get a fix. I'll even guarantee it tonight if you get it to me. Here is the ftp:
ftp.neuron2.net
usr: guest@neuron2.net (enter it just like that)
pwd: guest
Up to several hundred MB is fine.
vapor123
11th February 2005, 05:34
I did change my script to include the .dll and I got the same result. Below are the first 20 some lines of the D2V file:
DGIndexProjectFile06
1
31 F:\FROSTY\VIDEO_TS\VTS_01_1.VOB
Stream_Type=1
iDCT_Algorithm=5 (1:MMX 2:SSEMMX 3:FPU 4:REF 5:SSE2MMX)
YUVRGB_Scale=1 (0:TVScale 1:PCScale)
Luminance_Filter=0,0 (Gamma, Offset)
Clipping=0,0,0,0 (ClipLeft, ClipRight, ClipTop, ClipBottom)
Aspect_Ratio=4:3
Picture_Size=720x480
Field_Operation=0 (0:None 1:ForcedFILM 2:RawFrames)
Frame_Rate=29970
Location=0,0,0,7FF57
7 0 2048 2 1 12 12 12 12 12 12 12 12 12 12
7 0 374784 2 1 12 12
7 0 477184 2 1 12 12
7 0 575488 2 1 12 12
7 0 665600 2 2 12 12 12 12 12 12 12 12 12 12 12 12
7 0 1155072 2 2 12 12 12 12 12 12 12 12 12 12 12 12
7 0 1636352 2 2 12 12 12 12 12 12 12 12 12 12 12 12
7 0 2140160 2 2 12 12 12 12 12 12 12 12 12 12 12 12
7 0 2643968 2 2 12 12 12 12 12 12 12 12 12 12 12 12
7 0 3151872 2 2 12 12 12 12 12 12 12 12 12 12 12 12
7 0 3639296 2 2 12 12 12 12 12 12 12 12 12 12 12 12
neuron2
11th February 2005, 05:37
That D2V was made by a much earlier version of DGIndex. You have to remake your D2Vs with the new DGIndex 1.2.0 RC3!
Umm, why didn't you follow my directions? Just curious.
vapor123
11th February 2005, 05:47
Well unfortunatly I received that file of DGIndex from Doom9's page and it is not the most current version as stated "DGMPGDec - latest version of the tool formerly known as DVD2AVI".
I will try to locate the correct version of the program and follow your instructions.
neuron2
11th February 2005, 06:05
OK. Get it right here:
http://neuron2.net/fixd2v/decodefix.html
DGIndex and DGDecode come in matched pairs. So be sure to use the correct version of both DGIndex.exe and DGDecode.dll. Don't mix and match from different distribution zip files.
Please post back if you have any further problems.
Thank you for your feedback. I see an opportunity to improve the documentation. :)
vapor123
11th February 2005, 06:39
Alright, I have installed the correct version, 1.2.0 RC3 and I have run the script as above and I still have the same results both in GK and per your instructions above. When I run VirtualDubMod with the script it just closes.
Below is the information from the D2V file:
DGIndexProjectFile08
1
30 C:\Movies\DGIndex\VTS_01_1.VOB
Stream_Type=1
iDCT_Algorithm=5 (1:MMX 2:SSEMMX 3:FPU 4:REF 5:SSE2MMX)
YUVRGB_Scale=0 (0:TVScale 1:PCScale)
Luminance_Filter=0,0 (Gamma, Offset)
Clipping=0,0,0,0 (ClipLeft, ClipRight, ClipTop, ClipBottom)
Aspect_Ratio=4:3
Picture_Size=720x480
Field_Operation=0 (0:None 1:ForcedFILM 2:RawFrames)
Frame_Rate=29970
Location=0,0,0,7FF57
c00 1 0 2048 2 1 b2 92 b2 a2 b2 a2 b2 a2 b2 a2
c00 1 0 376832 2 1 b2 92
c00 1 0 481280 2 1 b2 92
c00 1 0 579584 2 1 b2 92
neuron2
11th February 2005, 06:46
Please put a source clip on my ftp site so I can figure this out for you. Use VOBSplit to cut off the front and give that to me. Make sure it still fails before uploading it.
Also, use Windows search to see if you have more than one DGDecode.dll on your PC. If you do, delete all but the RC3 one in the directory that I asked you to make. It's especially important to stop Avisynth from autoloading any other versions.
vapor123
11th February 2005, 07:48
Neuron2
I searched my HD and found the version of DGDecode.dll in the Avisynth directory was not current to the RC3 version of your prog. I corrected this and now I am not having any problems in GK, though the script still isn't functioning correctly.
I will look into that tomorrow when I am more awake. If I am still experiencing the same issue I will fillow up with your.
Thanks for your help.
neuron2
11th February 2005, 10:07
Originally posted by vapor123
I will look into that tomorrow when I am more awake. What is this obsession people have with sleeping?
Glad to have got it resolved and working for you!
Squirrel Nut Zipper
11th February 2005, 14:52
I have the same problem. Starting from installing GordianKnot.RipPack.0.33.1.Setup.exe and now with GordianKnot.RipPack.0.34.6.beta.Update.exe
I check dll in Avisinth folder also - it's Ok but the problem persists.
The only solution for me is the use of DVD2AVI instead of DGIndex.
neuron2
11th February 2005, 14:54
Here we go again... :o
Did you actually follow *all* my instructions as given in this thread to find out where your DGIndex/DGDecode mismatch is coming from?
Please post the first 20 lines of your D2V file.
Squirrel Nut Zipper
11th February 2005, 15:11
I'll check it but first I must say one more thing: DGIndex RC2 and RC3 doesn't respond to F3 key command!
So in fact there is a contradiction with GK instructions on the first tab of GK. It may be really confusing for some people!
neuron2
11th February 2005, 15:14
My friend, there is no F3 hot key in DGIndex and this is not the GK support forum! I can help you with DGMPGDec issues only.
niamh
11th February 2005, 15:29
So in fact there is a contradiction with GK instructions on the first tab of GK.
Yes there is, those instructions have been written probably 2 years ago and are totally oudated(they refer to jackei's DVD2AVI).
It may be really confusing for some people!
Well to be entirely honest, you are the first person I've met that was confused by it :)
I just thought I'd inform Squirrel Nut Zipper, and now I'm buzzing off again ;), since as neuron 2 mentioned rightly, this is off topic entirely.
Squirrel Nut Zipper
11th February 2005, 15:45
What can I say... :confused: Actually it was in 1.1.x version.
Anyway, why don't you implement this? Don't you think it will be convenient? Is it so difficult thing to do? ;)
Concerning the main topic I made the script as you say; it opens in VirtualDubMod flawlessly. So it seems there is a problem with some dll's coming with GK. Cannot DGIndex or GK be confused by the presence of MPEG2Dec.dll or mpeg2dec3.dll in GK folder? I think we need to move this topic to GK forum.
neuron2
11th February 2005, 15:57
Originally posted by Squirrel Nut Zipper
What can I say... :confused: Actually it was in 1.1.x version.
Anyway, why don't you implement this? Don't you think it will be convenient? Is it so difficult thing to do? ;) The autoincrement issue has been discussed here ad nauseum. Please read the existing threads before posting. Thank you.
Concerning the main topic I made the script as you say; it opens in VirtualDubMod flawlessly. So it seems there is a problem with some dll's coming with GK. Cannot DGIndex or GK be confused by the presence of MPEG2Dec.dll or mpeg2dec3.dll in GK folder? I think we need to move this topic to GK forum. I'd like to keep this thread here as a stickie, but yes, you ought to post about your GK issues in the GK forum.
Cyberia
11th February 2005, 18:13
Originally posted by vapor123
When I Prepare VOB files through Gordian Knot version 34.6 or 33.1 I receive the error "File is not a valid d2v , avi or avs file!".
Don, since you see this reasonable often (often enough to make a sticky), how about changing the message slightly.
Can you return something to the effect of "d2v is newer than DGDecode" or "Mismatched d2v and DGDecode versions)
Leave the "File is not a valid d2v" message for truely unreadable d2v files.
len0x
11th February 2005, 18:22
Its my message, not Don's :)
Cyberia
11th February 2005, 19:22
Originally posted by len0x
Its my message, not Don's :)
"MPEG2Source: couldn't open source file or obsolete D2V file"
Whoever it belongs to... maybe this message should be split into two messages so it is clearer to newbs.
PS: @len0x - nice avatar. BSG is awesome!
Cyberia
11th February 2005, 19:30
Actually, the message is from DGDecode, not GK.
neuron2
11th February 2005, 20:14
You're equivocating, Cyb. One is from len0x and one is from me. The one in the subject line of the thread is from len0x.
Cyberia
11th February 2005, 22:01
Ahhh. Twice the trouble. Well, you both have similar messages, and my point still stands. Maybe there should be a seperate message for mismatched d2v/dgdecode files. We get this question alot, and it just seems that if the d2v says it's version 8, and you are expecting 7, you could display a specific message to that effect.
"This is version of DGDecode can only decode D2V file at version 7 or earlier. Update DGDecode or rebuild the D2V at the correct version"
Thats too long, but it expresses the point about WHY the file can't be opened.
Just a suggestion.
Squirrel Nut Zipper
11th February 2005, 22:16
I found the reason for my problem:
the old name of the MPEG Decoding Library in GK "Options" tab was not overrided by the GK setup. I changed it to DGDecode.dll and put DGdecode.dll to the GK folder so now it works perfectly.
This information may nominally be off top, but I think it can be useful for someone. :)
Concerning the message: I think it will be better if instead of changing message Len0x will improve GK Rip Pack setup so it will automatically override this options and put everything in the right place.
Thanks to all for help!
niamh
11th February 2005, 22:34
Squirrel: http://forum.doom9.org/showthread.php?s=&postid=609223#post609206
bcsman
11th May 2005, 17:20
ALso having problems loading script into VirtualDub. Here's what I have for programs:
DGMPGDEC 1.3.0
AVISYNTH 2.54
VIRTUALDUB 1.5.10
I followed the directions near the beginning of this post and made my .d2v file. The original TP stream is a DVB recording @ 544X480 and I used DVDPatcher to patch to 720X480 for DVD compatibility. But I also tried this process before patching so it didn't make any difference. In DGIndex I also had to detect PIDS: RAW and I chose the only video and audio PIDS it showed me. DGIndex then did it's magic and gave me a .d2v and .mpa file. I stored them in the same directory I had unzipped DGMPGDEC 130 into. I then wrote the .avs script and saved it also in the same directory.. This is a copy of it:
loadplugin("c:\unzipped\dgmpgdec130\DGDecode.dll")
mpeg2source("c:\unzipped\dgmpgdec130\incredibles.d2v")
I then opened VirtualDub and clicked "run script". I pointed it to the saved incredibles.avs file and loaded it. THis is the message I got in a pop-up window:
Sylia Script Error
Variable Not Found
I then tried to just use the "Load Video" option and load the incredibles.avs file and this is the error I got:
VirtualDub Error
Couldn't locate decompressor format 'YV12' (Unknown). VirtualDub requires a Video for Windows (VFW) compatible codec to decompress video. DirectShow codes such as those used by WMP are not suitable.
Also here are the first 20 lines of my .d2v file:
Clipping=0,0,0,0 (ClipLeft, ClipRight, ClipTop, ClipBottom)
Aspect_Ratio=4:3
Picture_Size=720x480
Field_Operation=0 (0:None 1:ForcedFILM 2:RawFrames)
Frame_Rate=29970
Location=0,0,0,EAF1E
800 1 0 92308 0 0 70 70 d0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0
800 1 0 338588 0 0 70 70 d0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0
800 1 0 577724 0 0 70 70 d0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0
800 1 0 843932 0 0 70 70 d0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0
800 1 0 1073668 0 0 70 70 d0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0
800 1 0 1356044 0 0 70 70 d0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0
800 1 0 1660792 0 0 70 70 d0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 e0
What am I doing wrong?? Have read and re-read this post and many others involving AVISynth and VirtualDub and am lost. Any help would be appreciated. It may be and probably is something simple and stupid on my part, but I'm looking right over it!! THanks!!
Originally posted by bcsman
VirtualDub Error
Couldn't locate decompressor format 'YV12' (Unknown). VirtualDub requires a Video for Windows (VFW) compatible codec to decompress video. DirectShow codes such as those used by WMP are not suitable.
VirtualDub prior to 1.6.x can't display YV12 data (which is what DGDecode and probably every DVD playing application produces when decoding a DVD), so you either need a VfW codec to decode YV12 (http://forum.doom9.org/showthread.php?threadid=56972) or you need to upgrade to VirtualDub 1.6.x (http://www.virtualdub.org/)...
np: Autechre - Part 1 (XLTronic Radio 25.01.05)
bcsman
11th May 2005, 17:50
Thanks,
Give it a try after work tonight!!
neuron2
11th May 2005, 19:21
Wrong thread, so closing. Please stay on topic.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.