View Single Post
Old 22nd January 2004, 19:48   #1  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
Guide to Inserting a Blank Cell at End of Title

Inserting a Blank Cell at end of Title
Courtesy of 2CL

Many thanks to Jeff (geffroman) on his successful beta-testing with my guide!

[Feb 5 2004 update] Guide has been rewritten and shortened.

Free Tools I used
IFOedit 0.95/0.96
BlankVob

This is pretty the much the concept as my other guide, 2COOL’s guide to adding a “Insert Disc 2” clip, but wanted to document it as a separate guide. There are some Titles that don’t have a short blank dummy clip at the end. This is useful as then you can chapter skip at the last chapter instead of fast forwarding. This guide will help you do just that. Of course, you still have to have your IFO PUOPs (Prohibited User’s Operations) unchecked so that your chapter skipping feature is not disabled. With that said, read on.
____________________________________________
1. Open up your movie’s IFO in IfoEdit and look in you VTS Overview. My movie is in PGC_1 and according to my last chapter, it’s not a blank cell. Usually it’s a cell that has a time of 00:00:01.00 or less. Since this example doesn’t have one, we need to insert one in.
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]

PGC_2 (program chain): [Title(TTN): 2] [00:01:49.01 / 30 fps] (Programs: 1) (Cells: 1) (uses VOB-IDs: 2)
  [Ch 01] [Pg 01] [Cell 01] [V/C Id:  2/ 1]   : time: 00:01:49.01 / 30 fps  [Pos: 00:01:49.01] [Frames: 3271]

PGC_3 (program chain): [Title(TTN): 3] [00:00:06.00 / 30 fps] (Programs: 1) (Cells: 1) (uses VOB-IDs: 1)
  [Ch 01] [Pg 01] [Cell 01] [V/C Id:  1/ 1]   : time: 00:00:06.00 / 30 fps  [Pos: 00:00:06.00] [Frames: 180]

PGC_4 (program chain): [Title(TTN): 4] [00:00:06.00 / 30 fps] (Programs: 1) (Cells: 1) (uses VOB-IDs: 1)
  [Ch 01] [Pg 01] [Cell 01] [V/C Id:  1/ 1]   : time: 00:00:06.00 / 30 fps  [Pos: 00:00:06.00] [Frames: 180]


In this step, write down the VTS_PGC_# that you want to insert a blank cell into it.

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 if we increment this value by one, that’s 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 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. In this table…
  • Number of chapters = Number of Programs


So since I have 5 programs in this examples, 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. We need add a new VOB to our TitleSet. We are going to use a free tool called BlankVOB, courtesy of Doom9 user jsoto. It's pretty easy to figure out. Here it the download link and settings you will follow.

BlankVob.exe

Output File:

Our Titleset has only VTS_01_1.VOB and VTS_01_2.VOB. Our new added VOB will be the next one in line so it will be VTS_01_3.VOB. So for the Output file in BlankVOB, browse to your movie folder and edit the filename as VTS_01_3.VOB.

Ex. C:\My Movie\VTS_01_3.VOB

Vob_Ids:

From step 7, we got our new VobId and we will be using this info. We got a 5 for this guide's example so click only on "From" drop down list and select 5

Cell_Ids:

Our new cell ID will always be one so we don't need to touch this section as 1 is set as default.

TV-SYSTEM:

Self explanatory

Mode:

Select "Simple"

With settings set, click on "GENERATE" button and when you browse to your movie's folder and titleset, you'll now see your newly added VOB.
____________________________________________
11. We need to correct the titleset's IFO, But first, let’s create a subfolder named “temp”.
____________________________________________
12. Select your titleset IFO in IfoEdit and click on VOB Extras button and browse to that temp folder as our destination folder.
__________________________________________________________
13. Click OK.
__________________________________________________________
14. 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.
__________________________________________________________
15. When done, close IfoEdit.
__________________________________________________________
16. Drag/cut the new files over and replace the original ones in your source folder.
__________________________________________________________
17. Now, 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: 4   (VMG_PTT_SRPT)		
   	  Title   1: VTS_01_*, TTN_1 (Angles: 1) (Chapters: 4) (Start Sector 8234)		
   	  Title   2: VTS_01_*, TTN_2 (Angles: 1) (Chapters: 1) (Start Sector 8234)		
   	  Title   3: VTS_01_*, TTN_3 (Angles: 1) (Chapters: 1) (Start Sector 8234)		
   	  Title   4: VTS_01_*, TTN_4 (Angles: 1) (Chapters: 1) (Start Sector 8234)
My movie’s PGC_1 that we were editing was in my video titleset 1 (VTS_1) 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.
____________________________________________
18. 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. Number of Programs equal Number of chapters.

Code:
OLD > Title_1: Number of chapters (PTTs)    4
NEW > Title_1: Number of chapters (PTTs)    5
____________________________________________
19. Save your IFO and BUP.
____________________________________________
20. Click Get VTS Sectors button
__________________________________________________________
21. Play to test.
__________________
2COOL

Last edited by 2COOL; 19th February 2004 at 07:24.
2COOL is offline   Reply With Quote