View Single Post
Old 22nd January 2004, 19:38   #1  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
2COOL’s guide to adding a “Insert Disc 2” clip

2COOL’s guide to adding a “Insert Disc 2” clip
Courtesy of
2CL

Tools I used
IFOedit 0.95/0.96
VobEdit 0.6

This works wonderfully for people who have splitted their movies with the first half on Disk 1 and the other half on Disk 2. It seems there's a demand for some who want a “Insert Disk 2” message at the end of first movie half so I'm providing a way to do it. When I first wrote this guide, it was originally for adding a blank cell at the end of a Title that didn’t have one. This would’ve helped on chapter skipping on last chapter. Then I realized that there was a more potential use by adding a “Insert Disc 2” message also.

Doom9 user geffroman has done a superb job on creating and providing some “Insert Disk 2” VOBs for us. Also, geffroman has offered to create custom still clips if possible and a real good example is The Lord of the Rings he created. You can view and download them here.

http://posunplugged.com/vobclips

Many thanks Jeff for your great clips and valuable beta-testing of my guide!
____________________________________________________
1. Open up your movie’s IFO in IfoEdit and look in your VTS Overview. You'll see something like below.

Code:
   
PGC_1 (program chain): [Title(TTN): 1] [00:29:15.01 / 30 fps] (Programs: 4) (Cells: 4) (uses VOB-IDs: 3)
  [Ch 01] [Pg 01] [Cell 01] [V/C Id:  3/ 1]   : time: 00:07:31.20 / 30 fps  [Pos: 00:07:31.20] [Frames: 13550]
  [Ch 02] [Pg 02] [Cell 02] [V/C Id:  3/ 2]   : time: 00:10:42.12 / 30 fps  [Pos: 00:18:14.02] [Frames: 32822]
  [Ch 03] [Pg 03] [Cell 03] [V/C Id:  3/ 3]   : time: 00:01:40.21 / 30 fps  [Pos: 00:19:54.23] [Frames: 35843]
  [Ch 04] [Pg 04] [Cell 04] [V/C Id:  3/ 4]   : time: 00:09:20.08 / 30 fps  [Pos: 00:29:15.01] [Frames: 52651]

In my example, I only have one PGC. Yours might contain multiple ones so in this step, write down the VTS_PGC_# that you want to add your “insert disk 2”.

PGC_#: ______
__________________________________________________________
2. We’ll be doing some IFO editing in following steps so I highly recommended that you backup/save your IFOs and BUPs to another folder in case you mess up in editing. If you do then you can just copy the original IFOs and BUPs back over your badly edited ones and then click on “Get VTS Sectors” button for sector corrections.
__________________________________________________________
3. Go to /VTS_C_ADT. Increment the “Number of VOBs in VTS_VOBS” by one. To do so, double left click and enter higher value.

Write this new number down.

(NEW) Number of VOBs in VTS_VOBS: _____

Here’s the before and after edit.

Code:
OLD > Number of VOBs in VTS_VOBS  4
NEW > Number of VOBs in VTS_VOBS  5
Also, we need to find out the next VOB ID so scroll down to the last VOB ID in this table. We don’t need to edit it but we do need to take this decimal value and increment by one. So in my example above, 5 will be our new VOB ID for our blank cell we will be inserting. Write this down.

New Cell VOB ID : ______
__________________________________________________________
4. Now go to your PGC_# in / VTS_PGCITI / VTS_PGC_#. Increment the current “Number of Programs” and the “Number of Cells” by one. To do so, double left click on line and enter new value. For example...

Code:
OLD > Number of Programs        4
OLD > Number of Cells           4  

NEW > Number of Programs        5
NEW > Number of Cells           5
__________________________________________________________
5. You’ll be doing a lot of window refreshing throughout this guide as IfoEdit doesn’t automatically refresh for you to see your edits so here’s a personal trick I do. Double click on “Show Reserved Values” checkbox located bottom left.
__________________________________________________________
6. Scroll down to “Program Map:” section. Due to Step 4, there is now a new Program which is Program_5. Change Program_5’s value to follow after Program_4 so in example below...

Code:
OLD > Program_4: Entry cell number         4
OLD > Program_5: Entry cell number         4

NEW > Program_5: Entry cell number         5

__________________________________________________________
7. Scroll down to “Cell Position in VOB” section at the bottom. We also have a new cell (Cell_5) added due to Step 3.

Code:
Cell_1: has VOB ID         3
Cell_1: has Cell ID        1
Cell_2: has VOB ID         3
Cell_2: has Cell ID        2
Cell_3: has VOB ID         3
Cell_3: has Cell ID        3
Cell_4: has VOB ID         3
Cell_4: has Cell ID        4
Cell_5: has VOB ID         #
Cell_5: has Cell ID        #

Remember in Step 3, we wrote down our New Cell VOB ID value? Well, that’s the value we will be using for Cell_5 here. Also, Cell_5 Cell ID will always be “1”. So, double click and change each ID accordingly.

Code:
NEW > Cell_5: has VOB ID         5
NEW > Cell_5: has Cell ID        1

__________________________________________________________
8. We need to add configure our new cell as a new chapter so go to / PTT_SRPTI. Since we are working on PGC_1, we need to do some our edits in TTU_1. So if you were working on PGC_2, then TTU_2 is where you need to be. Anyway, this is what I have in TTU_1.

Code:
TTU_1 PTTs:		
    PTT_1: Program Chain number (PGCN)           1	
    PTT_1: Program number (PGN)                  1	
    PTT_2: Program Chain number (PGCN)           1	
    PTT_2: Program number (PGN)                  2	
    PTT_3: Program Chain number (PGCN)           1	
    PTT_3: Program number (PGN)                  3	
    PTT_4: Program Chain number (PGCN)           1	
    PTT_4: Program number (PGN)                  4
According to our New "Number of Programs" in Step 4, I have 5 programs now. In this table…
  • Number of chapters = Number of Programs


So since I have 5 programs in this example, I should have 5 chapters or PTTs (Part of Titleset Title). Got it? Good!

Now, if you have extra PTTs present, just right click on last PTT and select “Delete Chapter”. Keep repeating from the last PTT until your desired Number of chapters is achieved. So in this guide’s example, I would stop at 5 PTTs remaining.

If we initially had a lower amount of PTTs like 4, then we need to add a new PTT so that would it make it 5 PTTs, which is what we want. It’s easy, just right click on last PTT and select “Add chapter”.

At this point, we should have our desired number of PTTs (chapters) achieved so now we need to edit our last chapter’s values. See the pattern of our PTT_#’s values in example below? 1-1, 1-2, 1-3, and 1-4. Well if you haven’t figured it out, PTT_5 will be 1-5 so double click on values and change them accordingly.

Code:
TTU_1 PTTs:		
    PTT_1: Program Chain number (PGCN)           1	
    PTT_1: Program number (PGN)                  1	
    PTT_2: Program Chain number (PGCN)           1	
    PTT_2: Program number (PGN)                  2	
    PTT_3: Program Chain number (PGCN)           1	
    PTT_3: Program number (PGN)                  3	
    PTT_4: Program Chain number (PGCN)           1	
    PTT_4: Program number (PGN)                  4	
    PTT_5: Program Chain number (PGCN)           0
    PTT_5: Program number (PGN)                  1
This is our desired end results on what we should have.
Code:
TTU_1 PTTs:		
    PTT_1: Program Chain number (PGCN)           1	
    PTT_1: Program number (PGN)                  1	
    PTT_2: Program Chain number (PGCN)           1	
    PTT_2: Program number (PGN)                  2	
    PTT_3: Program Chain number (PGCN)           1	
    PTT_3: Program number (PGN)                  3	
    PTT_4: Program Chain number (PGCN)           1	
    PTT_4: Program number (PGN)                  4	
    PTT_5: Program Chain number (PGCN)           1
    PTT_5: Program number (PGN)                  5

__________________________________________________________
9. Save your IFO and BUP.
__________________________________________________________
10. Open VIDEO_TS.IFO and go to VMG Overview / Number of Title Play Maps. This is what I have in my example VIDEO_TS.IFO.

Code:
Number of Title Play Maps: 1   (VMG_PTT_SRPT)		
   	  Title   1: VTS_01_*, TTN_1 (Angles: 1) (Chapters: 4) (Start Sector 8234)

My movie’s PGC_1 that we were editing was in my first Video TitleSet (VTS_01) so according to above, that’s my Title 1. TTN_1 means Titleset Title Number which is also my PGC_1 in VTS_01. We just need to know the Title # before going to next step. Go to your Title in question.
__________________________________________________________
11. With Title # in mind, go to / VMG_PTT_SRPT / Title_1: Number of chapters (PTTs). This value should match the same as your new Number of Programs in Step 4.

Code:
OLD > Title_1: Number of chapters (PTTs)    4
NEW > Title_1: Number of chapters (PTTs)    5

__________________________________________________________
12. Save your IFO and BUP.
__________________________________________________________
13. Close IfoEdit
__________________________________________________________
14. Create a new subfolder named “temp”.
__________________________________________________________
15. Since I was working on Titleset 1 (VTS_01), I’ll be dragging only my Titleset VOBs in to new folder. DO NOT drag any VTS_*_0.VOBs into your temp folder. These are Menu VOBs. So in my temp folder, I’ll have this now.

VTS_01_1.VOB
VTS_01_2.VOB
__________________________________________________________
16. Rename these files accordingly.

VTS_01_1.VOB > VTS_01_001.VOB
VTS_01_2.VOB > VTS_01_002.VOB
__________________________________________________________
17. Okay, here’s where you need your “insert disk 2” clip. Make a copy your clip into your temp folder and renamed to follow your other files in Step 16.

*.VOB > VTS_01_003.VOB

You should now have these in your temp subfolder.

VTS_01_001.VOB
VTS_01_002.VOB
VTS_01_003.VOB ("Insert disk 2" VOB)
__________________________________________________________
18. Your VOB ID in VTS_01_003.VOB has a VOB ID of 1 and CELL ID of 1 or something different but anyways, we need to change that to reflect what we have for our new cell VOB ID in Step 7. To do that, open this VOB in VobEdit.
__________________________________________________________
19. Click on Navigation Pack in left window. You will data appear in your right window.
__________________________________________________________
20. At byte 041f, you will see VOB ID with a value of 1. To repeat what I said in Step 19, we need to change this VOB ID to what you had in Step 7, double click and change it. Press OK to set.
__________________________________________________________
21. Now, open up VTS_01_001.VOB
__________________________________________________________
22. Go topside and click on Edit / Join CellVob files
__________________________________________________________
23. Click Save. You’ll be saving to the same folder.
__________________________________________________________
24. When processing window is gone, exit VobEdit.
__________________________________________________________
25. In your folder, you should have new files. Drag only these new files back your main folder to replace your original files. If you had a replace confirmation, you didn’t do something right.
__________________________________________________________
26. It should be safe to delete your renamed files in your temp folder. So, now you should have a empty temp folder.
__________________________________________________________
27. We need to correct the IFO so open up Titleset IFO in question. In my example, it’s VTS_01_0.IFO.
__________________________________________________________
28. Click on VOB Extras button and browse to that temp folder as our destination folder.
__________________________________________________________
29. Click OK.
__________________________________________________________
30. In Stream List window, click on “Check All” button. We need to keep everything! Click on “Strip it” button and process will start. If you want to process to speed up, drag the process window below your task bar. This is an IfoEdit trick.
__________________________________________________________
31. When done, close IfoEdit.
__________________________________________________________
32. Drag/cut the new files over and replace the original ones in your source folder.

continued on next post…
__________________
2COOL

Last edited by 2COOL; 11th March 2004 at 19:15.
2COOL is offline   Reply With Quote