Log in

View Full Version : HELP wanted: Inserting clip in authored existing DVD


Kelly B
29th September 2003, 15:48
Hi there,

I've read several threads on this forum and on other sites but I can't seem to find a proper solution for my problem, therefor I'm placing all my hope on this Forum.

I want to insert a Dolby Digital or DTS trailer before the actual movie starts. It's not necessary to detect which audiotrack (DTS or AC3) is selected but I want to place this clip between the play-button and the start of the movie. Of course I want to do it with VobEdit and IfoEdit (should be possible).

So I've managed to figure out the startingposition and the buttoncode in the vobfile. Currently it's set to: command: (LinkPGCN) Link PGC 8.

Since this menu is in VTS_02_0.vob and the language selection (accessed from this menu) is VTS_03_0.vob I know it must be possible to jump to this titleset, play the clip and jump back. All sugestions/solutions are welcome.

PS: Does anyone know where I can find the code that connects to PGC 8? Ifo/VOB? different name??? In the menu, the language-menu is accessed by a link to PGC 7 but I do not know where this is!

All help would be greatly appreciated!!

2COOL
29th September 2003, 17:34
So I've managed to figure out the startingposition and the buttoncode in the vobfile. Currently it's set to: command: (LinkPGCN) Link PGC 8.I'm assuming you mean the Play button's command.

Since this menu is in VTS_02_0.vob and the language selection (accessed from this menu) is VTS_03_0.vob I know it must be possible to jump to this titleset, play the clip and jump back.For you to jump from Titleset to Titleset, it can only be done by going through a dummy menu in your VIDEO_TS.IFO / VMGM_PGCI_UT / PGC-Menu_#.

PS: Does anyone know where I can find the code that connects to PGC 8? Ifo/VOB? different name??? In the menu, the language-menu is accessed by a link to PGC 7 but I do not know where this is! I'm kinda confused but it's highly possible that your main menu and language menu is in separate titlesets as you mentioned. Again, I assume it is. If your jump to PGC 7 is in your Titleset 2 menu, then it had jumped to VTS_2_0.IFO / VTSM_PGCI_UT / PGC-Menu_7. This would be more likely your language menu if it was authored correctly.

Kelly B
29th September 2003, 20:15
Thnx for the quick reply but I still have a few problemns working this out.

Yes you were right, I meant the Play button's command. And now I also know I have to make a dummy menu, create a Pre command that jumps to the 'trailer' titleset and Post command to the start of the film in the titleset I from which I branched to the trailer.

Question 1: How can I create a 'dummy menu' necessary for this jump using IfoEdit/VobEdit

Question 2: Can anyone explain a bit about the PGC and the way it's accessed? So for instance I see a button-action (in the VOB file): LinkPGCN -> Link PGC 7... So I open the IFO but where is the exact location where these PGC is stored? (VIDEO_TS.IFO / VMGM_PGCI_UT / PGC-Menu_7?) The 'deleted scenes' for instance is an extra that is located in a separate titleset but I can't seem to find the jump to it:confused:

2COOL
29th September 2003, 22:38
Originally posted by Kelly B
[qoute]Question 1: How can I create a 'dummy menu' necessary for this jump using IfoEdit/VobEditYour thread title mentions that you have authored a DVD. You would have alot less grief re-authoring with a dummy menu and configuring the links instead of working on your existing one.

Question 2: Can anyone explain a bit about the PGC and the way it's accessed? So for instance I see a button-action (in the VOB file): LinkPGCN -> Link PGC 7... So I open the IFO but where is the exact location where these PGC is stored? (VIDEO_TS.IFO / VMGM_PGCI_UT / PGC-Menu_7?) The 'deleted scenes' for instance is an extra that is located in a separate titleset but I can't seem to find the jump to it:confused: The buttons commands you see in VOBedit only reside in the VOBs Nav Packs. You'll NEVER see them in the IFO. If your button command says to Link PGC 7, it is referring to the PGC-Menu_7 in your associated IFO / VTSM_PGCI_UT / PGC-Menu_#.

maa
29th September 2003, 23:13
...and the command to jump to your extras will most probably sit in Menu PGC_7 too...

Kelly B
30th September 2003, 07:19
So what you both are trying to say is that I need te rebuild the DVD with a dummy menu using DVD-lab or such a tool. Since this is a DVD from my collection, which I just want to 'expand' a little with a cool trailer. It's not possible to do that.

So since the button references to PGC-Menu_X and the commands are located in this PGC-Menu_X, is it possible to do a pre-command that jumps to a different titleset? What do you guys think/suggest?

All suggestions are greatly appreciated!

maa
30th September 2003, 10:09
I want to place this clip between the play-button and the start of the movieWell thats a real authoring problem for you.
Give us some info on the following 4 items.

1. Where does the existing command set come from ?
- original DVD
- your authoring program

2. From what you've said, we need to see:
VTS_02_0.IFO / VTSM_PGCI_UT / PGC-Menu_7 command table and:
VIDEO_TS.IFO / VMGM_PGCI_UT / PGC_Menu_x command table.

3. Is there more than one LU ? (English) (German)

4. Do you want this clip to play everytime the "Play" button is pressed or just the once ?

Kelly B
30th September 2003, 15:36
Okay here are the answers, I hope you can help me out!

1. The existing command comes from an existing DVD which I bought in a store.

2. The code for play-button is located in
PGC-Menu_8, 7 contains the 'audio selection'

3. Since I didn't know what exactly you wished to see in those files I placed them as downloads.

3. There seem to be 2 LU's (English and Francais). But I'm only interested in the English LU.

4. Every time the play-button is pressed would be great, if it's easier to play it once that will do also. But I want to play it between the menu (play-button) and the start of the movie. Not on first play of the disc. I managed to figure that out myself.

maa
30th September 2003, 16:34
Right, if all I've understood is correct, your PLAY button takes you to VTS_02_0.ifo menu 7 which contians a pre - jump to VMG menu 4
Your New Extra Title set will be VTS_06_0.IFO/VOB

1. Edit VIDEO_TS.IFO / VMGM_PGCI_UT / PGC_Menu 4 to this:

1.Pre Command - If GPreg<13> == (cmp-val)<1028><''> then Goto line# 3 [00 a1 00 0d 04 04 00 03 ]
2.Pre Command - (JumpTT) Jump to Title: 6 [30 02 00 00 00 06 00 00 ]
3.Pre Command - (JumpTT) Jump to Title: 4 [30 02 00 00 00 04 00 00 ]


2. In VTS_06_0.IFO / VTS_PGCITTI / PGC_1
you need 2 Post commands:

1.Post Command - Set GPreg<13> mov (set-val)<1028> [71 00 00 0d 04 04 00 00 ]
2.Post Command - (JumpSS VMGM) Jump to VMG PGC: 4 [30 06 00 04 00 c0 00 00 ]

Kelly B
30th September 2003, 18:19
I'm stunned by your knowledge of IFO-authoring but still need some help.

Originally posted by maa
Right, if all I've understood is correct, your PLAY button takes you to VTS_02_0.ifo menu 7 which contians a pre - jump to VMG menu 4
Your New Extra Title set will be VTS_06_0.IFO/VOB


It's VTS_05_0.IFO/VOB, actually but I already added this in
VMG_VTS_ATRT
VMG_PTT_SRPT
using a guide found on this forum but I should have told you! Anyway I changed the pre-command to jump to title 5 instead of 6.

It should be VTS_02_0.ifo menu 8, I refered to VTS_02_0.ifo menu 7 as an example of a jump.
But ofcourse I've tried it with menu 7 as you instructed keeping in mind to alter it later.

My test results
The first part (jumping to the trailer worked Okay (but it was attachted to the 'bonus'-menu) but after playing the trailer it stopped. Not jumping to the 'bonus' nor to the menu.

Remaining questions
In short, my questions are as follows:
1. Could you please instruct me how to attach the jump to title 5 (in VTS_05_1.VOB/VTS_05_1.IFO) at VTS_02_0.ifo menu 8.

2. Could you explain what the commands you've entered mean:
Pre Command - If GPreg<13> == (cmp-val)<1028><''> then Goto line# 3 [00 a1 00 0d 04 04 00 03 ]
Post Command - Set GPreg<13> mov (set-val)<1028> [71 00 00 0d 04 04 00 00 ]

2COOL
30th September 2003, 20:52
Originally posted by Kelly B
2. Could you explain what the commands you've entered mean:
Pre Command - If GPreg<13> == (cmp-val)<1028><''> then Goto line# 3 [00 a1 00 0d 04 04 00 03 ]
Post Command - Set GPreg<13> mov (set-val)<1028> [71 00 00 0d 04 04 00 00 ] GPReg is a General Parameter Register. You are allowed 16 of them 0 to 15. They are used for holding values which in turn can control the navigations in your DVD. Think of them as variables.

Here are the psuedo codes or in plain language.

Pre Command - If GPreg<13> == (cmp-val)<1028><''> then Goto line# 3 [00 a1 00 0d 04 04 00 03 ]
If GPreg<13> is equal to a value of 1028, then go to Pre Command #3.

Post Command - Set GPreg<13> mov (set-val)<1028> [71 00 00 0d 04 04 00 00 ]
GPreg<13> = 1028

2COOL
30th September 2003, 20:57
Originally posted by Kelly B
1. Could you please instruct me how to attach the jump to title 5 (in VTS_05_1.VOB/VTS_05_1.IFO) at VTS_02_0.ifo menu 8. Again, you are jumping from Titleset to Titleset. You need to go through a dummy menu in your VIDEO_TS.IFO to accomplish this. It can be easy sometimes but not all DVDs are authored the same. You would have to be somewhat knowledgable in understanding the commands so that you don't corrupt the DVD structure. That's why it's a lot easier to just re-author if you can but it may not end up exactly like your original.

2COOL
30th September 2003, 21:59
Don't know if this will work but in your VMG PGC-Menu_4, you have a Pre Command to jump to Title 4.

In your VIDEO_TS.IFO / VMG_PTT_SRPT, scroll down to your Title 4 section and change the 4 to a 6.

Title_4: Title playback type 20
type details:
one_sequential_pgc
Jump/Link/Call commands only in pre/post 0
Prohibited user op. PTT play or search no
Prohibited user op. Time play or search no
Title_4: Number of angles 1
Title_4: Number of chapters (PTTs) 1
Title_4: Parental ID field 0
Title_4: Title set number (VTS#) 4 > 6
Title_4: Title set Title-number (VTS_TTN) 1
Title_4: Title set starting sector 1966242

this would reflect in your VIDEO_TS.IFO / VMG Overview / Number of Title Play Maps with...

OLD > Title 4: VTS_04_*, TTN_1 (Angles: 1) (Chapters: 1) (Start Sector 1966242)
NEW > Title 4: VTS_06_*, TTN_1 (Angles: 1) (Chapters: 1) (Start Sector 1966242)

I'm worried about the Start Sector though. It's going to be different. What happens when you do a mock stream strip of your VTS_06_1.IFO and keeping all your streams? You'll get new and updated VIDEO_TS.IFO and then get VTS Sectors to correct your sectors.

There is another method using this thread (http://forum.doom9.org/showthread.php?threadid=61864) on creating another PGC-Menu in VIDEO_TS.IFO to jump to your new VTS_06. All you would have to do is change the jump in VMG PGC 4 your VTS_02_0.IFO to this added VMG Menu.

maa
1st October 2003, 00:56
I'm lost - the directions I gave you are according to the IFOs you sent.
If your information was wrong then the help is wrong but you should be able to figur that out.

Actually the last command in my post should be not:
(JumpSS VMGM) Jump to VMG PGC: 4
but
(CallSS VMGM) Call VMG PGC: 4 (Resume Cell: 1)

Kelly B
1st October 2003, 19:03
Thanx, it currently works with the 'bonus'. But not with the play command. I must admit, thanx to your help I'm gaining more and more knowledge about the IFO's and the structure. Although it's insufficient to author a DVD yet. Getting a little crazy by all jumps in the titles. I've decided to play a little with the commands first before calling on you over and over again, I must admit, I'm starting to feel guilty :sly: ...

2COOL
1st October 2003, 19:06
@Kelly B

So what method did you use?

Kelly B
1st October 2003, 19:20
I changed the jump from the Trailer

(JumpSS VMGM) Jump to VMG PGC: 4

to

(CallSS VMGM) Call VMG PGC: 4 (Resume Cell: 1)

Because the variable was set to 1028 the jump back failed on that instruction and prevented from playing the trailer over and over. But instead it jumped to the start of the movie :p.

This was what I intended BUT now the trailer is played when the 'bonus' is accessed instead of the play button. The play-button does a tricky thing which I can't seem to figure out.

The button-command in the navpack jumps to PGC menu 8 so I open:
vtsm_pgci_ut - lu_1 pgc_menu_8

Instead of finding the jumps we first found (and which I know understand :p), I found:

1.Pre Command If GPreg<7> == (cmp-val)<1> then (Link subset) NOP [20 a1 00 07 00 01 00 10 ]
2.Pre Command (JumpVTS_PTT) Jump to Title(ttn): 1 Chapter(pttn): 1 [30 05 00 01 00 01 00 00 ]

I've tried to do the same trick as before and insert 2 pre-commands before the first pre-command in this table. But it didn't work
:confused:. Are there some jumps that can not be completed from a VTS but only from the VIDEO_TS?

maa
1st October 2003, 22:41
Originally posted by Kelly B
[B]I changed the jump from the Trailer

(JumpSS VMGM) Jump to VMG PGC: 4

to

(CallSS VMGM) Call VMG PGC: 4 (Resume Cell: 1)
As I thought - see above.

Because the variable was set to 1028 the jump back failed on that instruction and prevented from playing the trailer over and over.No - its just that you can't jump after a movie you can only "Call" for some reason.
But instead it jumped to the start of the movie
The button-command in the navpack jumps to PGC menu 8 .........
Instead of finding the jumps we first found (and which I know understand :p), I found:

1.Pre Command If GPreg<7> == (cmp-val)<1> then (Link subset) NOP [20 a1 00 07 00 01 00 10 ]
This is for the resume function if you press play after accessing the menu during the film.

2.Pre Command (JumpVTS_PTT) Jump to Title(ttn): 1 Chapter(pttn): 1 [30 05 00 01 00 01 00 00 ]This one starts Title: 1
which should be the film. It goes straight in to VTS_PGCITTI_PGC_1 and reads the pre commands there - if all is well the film will start.
Are there pre commands ?

I've tried to do the same trick as before and insert 2 pre-commands before the first pre-command in this table. But it didn't work You shouldn't need to - the film should be playing now which is what you want.Are there some jumps that can not be completed from a VTS but only from the VIDEO_TS?
Its not so much that but the fact that there is a routing map like a trees roots. On top we have the VMG in Video_ts - you can go anywhere from that. Below we have the VTS with their commands and menu tables. Here the commands can go from PGC to PGC or to the VTS_Menu PGC or UPwards to the VMG or First Play PGCs. But NOT from VTS to VTS.

If you wanted:

Menu -> Play
Your extra VTS - (bonus or trailer or whatever you call it)
Film then that should be working now unless there are other commands set in First Play or VTS_02_0.IFO / VTS_PGCITTI_PGC_1 stopping this.
Your Play button goes to menu 8 of VTS 2 right ?
The second command there starts play of the film contained in VTS_02_1.VOB so I assume thats the main movie - is that correct ?
So how do you get from VTS_4 -> VTS_2 ?