.d2v file editing?

The old Video Software Help forum, left visible as an archive.
Locked
User avatar
Bushido Philosopher
Joined: Mon Jun 25, 2001 7:19 pm
Location: California
Org Profile

.d2v file editing?

Post by Bushido Philosopher » Mon Jul 15, 2002 6:36 pm

simple question:
is there any way that i can change the .d2v file so if the .vob files are moved to another directory, that i will not have to save another project file just because they moved?

User avatar
klinky
Joined: Mon Jul 23, 2001 12:23 am
Location: Cookie College...
Contact:
Org Profile

Post by klinky » Mon Jul 15, 2002 8:49 pm

no :(

You have to recreate the the d2v file :(


I believe the d2v file is plain text, so one could probably use a text editors "replace" function, to go through it and replace the old path with the new path. Never tried it though.


~Klinky

User avatar
Bushido Philosopher
Joined: Mon Jun 25, 2001 7:19 pm
Location: California
Org Profile

Post by Bushido Philosopher » Mon Jul 15, 2002 11:46 pm

aw crapulence.... :(

oh well. thanks klinky.

User avatar
klinky
Joined: Mon Jul 23, 2001 12:23 am
Location: Cookie College...
Contact:
Org Profile

Post by klinky » Tue Jul 16, 2002 12:19 am

Well I fiddled with it and found a way.. pretty simple.

I even ripped a DVD for this... So huff :p

Open the D2V file in Notepad. you'll see something like this.

Code: Select all

DVD2AVIProjectFile
2
24 H:\EvaDisc1\vts_01_1.vob
24 H:\EvaDisc1\vts_01_2.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=29970
Location=0,0,1,42F83
Now the first line is just a file indentifier.
The second line I believe lists how many vob files are in the project.
The third line contains the path and the length of the string that is used to describe the path. You'll probably see as many lines as the second line states.

All you need to do is change the path and the length(how many characters are in the path).

Example:

Code: Select all

24 H:\EvaDisc1\vts_01_1.vob
24 H:\EvaDisc1\vts_01_2.vob
Gets changed to:

Code: Select all

15 H:\vts_01_1.vob
15 H:\vts_01_2.vob
The numbers at the begining are how many characters are in the path, NOT including the space between the number and the path.

Save the file with a D2V extension or overwrite your old file and it should work fine.


~klinky

User avatar
ErMaC
The Man who puts the "E" in READFAG
Joined: Sat Feb 24, 2001 4:39 pm
Location: Irvine, CA
Contact:
Org Profile

Post by ErMaC » Wed Jul 17, 2002 10:37 am

klinky - did you actually test this? Cause every time I tried to do that it still didn't work - I've found the paths are not portable. At least, that's in my experience.

User avatar
klinky
Joined: Mon Jul 23, 2001 12:23 am
Location: Cookie College...
Contact:
Org Profile

Post by klinky » Wed Jul 17, 2002 11:11 am

yeah it works for me...


~klinky

User avatar
klinky
Joined: Mon Jul 23, 2001 12:23 am
Location: Cookie College...
Contact:
Org Profile

Post by klinky » Wed Jul 17, 2002 11:22 am

I just tried it again and it worked fine.

Locked

Return to “Video Software Help Archive”