View Full Version : understanding D2V files ?


GZZ
2nd June 2003, 13:02
Can anyone here tell me how the D2V file that DVD2AVI make are made. I have been looking into Vstrip DVD2AVI code and a little into the DVD2AVI code, but it very hard to understand for a delphi programmer. But I have come so far that I think that it looks for a navigation park and takes the position and white it down like


7 0

its always 7 in front (don't ask me why) and 0 is the position in the vob file in hex. Then it looks for sectors which has a frame or frames in it. If it finds a frame, then it look at the TFF and RFF value of that frame and if:

TFF=1 + RFF=1 then it writes a 3 in the d2v file
TFF=1 + RFF=0 then it writes a 0 in the d2v file
TFF=0 + RFF=0 then it writes a 1 in the d2v file
TFF=0 + RFF=1 then it writes a 2 in the d2v file

1 and 3 are 1½ frames (Interlaced)
0 and 2 are 1 frame (progressiv)


I works for the first 4-5 numbers in a line for a NTSC movie, but then it don't match with the d2v file that DVD2AVI makes and I can't figure it out, I'm totally wrong here or what ???.

I use vobedit at the moment to see the value in the vob file, to understand it, before I make my own DVD2AVI code in delphi.

Anyway please advise me here.


Thanks

GZZ

TaZ4hvn
2nd June 2003, 23:01
Looks like your search button is broken :D
Go there:
http://forum.doom9.org/showthread.php?s=&threadid=46851

GZZ
2nd June 2003, 23:13
looks like it.

But I did search, but only in the development section. :/


But thanks anyway.