View Full Version : Adding new chapterpoints to authored DVD?


Tarantula
19th August 2005, 15:41
Here I am again with my dumbass questions...

I have an authored DVD, and I was wondering if it's possible to manually add new chapterpoints to one of its titles using pgcedit or some other program? Or do I have to demux it and re-author it with the new chapterpoints? We're talking about adding 10-20 new chapterpoints that span the entire hour video.

Not that I have any problems demuxing it, but if there is a quicker way of just adding new chapterpoints, I would rather go that way :cool:

sweetness
19th August 2005, 18:13
read this post by r0lZ (http://forum.doom9.org/showthread.php?p=695609#post695609), it might clear this up.

Tarantula
19th August 2005, 19:47
Unfortunately that didn't work for me. The original video has one chapterpoint, 15 frames before video ends.

So this is what I tried:
-demux the video and audio with pgcdemux from the original vts
-remux with ifoedit, with custom chapterpoints
-use vobblanker to replace the original vts with the new one

this results were..... strange. Then I deleted the last chapterpoint from the original using pgcedit, and tried the routine all over again. The outcome ended up having no chapterpoints whatsoever.

I know I am missing a step or two here, but since I am far from being an expert, I thought I'd consult here...

r0lZ
19th August 2005, 21:49
Your method should work. But use muxman instead of IfoEdit to remux your title. Maybe you will get better results.

BTW, what do you mean by "this results were..... strange."?

If you are still experiencing problems, please post the cell table here. (Use PgcEdit's Info -> PGC menu, and wrap the output around [ CODE ] tags.)

Tarantula
19th August 2005, 22:17
I tried with muxman, same results.

And by strange results... I was kinda hoping I wouldn't have to try to explain as my english ain't so great :(

Anyway, after vobblanker I checked the dvd out with powerdvd, and it starts playing ok, but the information tab shows only 2 chapters (one being the start of the video, and second being the chapterpoint 15 frames before the video ends)

So, as the video started playing, I skipped to the next chapter, and this is where it gets strange. The video went blank, as did the audio. But now I see the chapters that I made, on blank video :P

r0lZ, I was not sure what cell tables you wanted, the original or the "juiced-up". So here is the original:

VTST 6 , 1 TTN 1 (1:02:24) Title 6 - Chapters: 2, Programs: 2, Cells: 2

********** pre commands:
[00 00 00 00 00 00 00 00] 1 NOP
[00 00 00 00 00 00 00 00] 2 NOP
[00 00 00 00 00 00 00 00] 3 NOP
[00 00 00 00 00 00 00 00] 4 NOP
[00 00 00 00 00 00 00 00] 5 NOP
[61 00 00 00 00 06 00 00] 6 Set gprm(0) =(mov) gprm(6)
[71 00 00 06 00 00 00 00] 7 Set gprm(6) =(mov) 0
[71 00 00 01 00 00 00 00] 8 Set gprm(1) =(mov) 0
[71 00 00 02 00 00 00 00] 9 Set gprm(2) =(mov) 0
[00 A2 00 00 00 01 00 00] 10 if ( gprm(0) == 1 ) then { Break }
[20 A6 00 00 00 02 00 02] 11 if ( gprm(0) == 2 ) then { LinkPGN Program 2 }
********** post commands:
[30 08 00 0D 01 C0 00 00] 1 (CallSS) Call the VMGM PGC 13, resume cell 1
********** cell commands:



Playback time: 01:02:24.19 (at 30 fps)
PG Playback mode: sequential
PUOs: 0 (0x00000000)
NextPGCN: 0
PrevPGCN: 0
GoUpPGCN: 0
PGC Still Time: 0
Audio stream 1 status: 0x00008000 (stream=0)

Chap. Prog. Cell Type Layer Res- Still Cell Playback End Entry First Last Last VOB Cell
(PTT) Flags Break tric- Time Cmd. Time Time VOBU ILVU VOBU VOBU ID ID
ted. sector End Start End

1 1 1 2 yes no 0 0 01:02:24.04 01:02:24.04 0 0 1037746 1037866 1 1
2 2 2 8 no no 0 0 00:00:00.15 01:02:24.19 1037867 0 1037867 1038025 1 2

r0lZ
19th August 2005, 22:32
Thanks, but I need the reauthored one, to see if there are some chapters and programs defined for your newly created cells.

Tarantula
20th August 2005, 20:17
This is after using voblanker on the vts:

VTST 6 , 1 TTN 1 (1:02:24) Title 6 - Chapters: 2, Programs: 2, Cells: 2

********** pre commands:
[00 00 00 00 00 00 00 00] 1 NOP
[00 00 00 00 00 00 00 00] 2 NOP
[00 00 00 00 00 00 00 00] 3 NOP
[00 00 00 00 00 00 00 00] 4 NOP
[00 00 00 00 00 00 00 00] 5 NOP
[61 00 00 00 00 06 00 00] 6 Set gprm(0) =(mov) gprm(6)
[71 00 00 06 00 00 00 00] 7 Set gprm(6) =(mov) 0
[71 00 00 01 00 00 00 00] 8 Set gprm(1) =(mov) 0
[71 00 00 02 00 00 00 00] 9 Set gprm(2) =(mov) 0
[00 A2 00 00 00 01 00 00] 10 if ( gprm(0) == 1 ) then { Break }
[20 A6 00 00 00 02 00 02] 11 if ( gprm(0) == 2 ) then { LinkPGN Program 2 }
********** post commands:
[30 08 00 0D 01 C0 00 00] 1 (CallSS) Call the VMGM PGC 13, resume cell 1
********** cell commands:



Playback time: 01:02:24.19 (at 30 fps)
PG Playback mode: sequential
PUOs: 0 (0x00000000)
NextPGCN: 1
PrevPGCN: 1
GoUpPGCN: 0
PGC Still Time: 0
Audio stream 1 status: 0x00008000 (stream=0)

Chap. Prog. Cell Type Layer Res- Still Cell Playback End Entry First Last Last VOB Cell
(PTT) Flags Break tric- Time Cmd. Time Time VOBU ILVU VOBU VOBU ID ID
ted. sector End Start End

1 1 1 2 yes no 0 0 00:04:42.09 00:04:42.09 0 0 75529 75601 1 1
2 2 2 8 no no 0 0 00:57:42.10 01:02:24.19 75602 0 1037869 1038027 1 2

r0lZ
20th August 2005, 21:00
Hum, seems VobBlanker is unable to add your chapter points in the IFOs.

If the titleset includes only your modified title, you may also try this:
Copy all IFOs to another directory (let's call it copy), with at least the menu VOB of the titleset 6 (VTS_06_0.VOB). Then, replace the whole titleset 6 of the original DVD by the reauthored one. (ie remove the original VTS_06_* files, and rename the reauthored VTS_01_* files as VTS_06_*, and copy them in the original directory.) Then, load the original DVD in PgcEdit, and import the menu from the copy directory. Load the copy in another instance of PgcEdit, and copy/paste the commands and PGC parameters in your reauthored title's PGC. Save and test.
Take care: I am not sure it will work. Verify especially the number of chapters.

Tarantula
20th August 2005, 21:47
Hey, It worked! The PGC-commands were fairly simple, and now it runs like a charm.

Thanks, r0lZ, you're the man! :)

Dimad
21st August 2005, 20:50
There is no need to demux/mux actually. Inserting new chapters can be done in just few clicks with DvdReMake Pro: http://www.dimadsoft.com/dvdremakepro/ht_insert_chapter.php

Mystiqq
26th August 2005, 19:06
Im trying to add new chapterpoints, which doesnt have any by default, for reauthored episodic DVD with Muxman. The result is very odd. The muxed video doesnt have chapters but the whole episode ends right after first chapter.

VTST 1 , 1 TTN 1 (0:33) Title 1 - Chapters: 1, Programs: 1, Cells: 1

********** pre commands:
********** post commands:
********** cell commands:



Playback time: 00:00:33.07 (at 25 fps)
PG Playback mode: sequential
PUOs: 0 (0x00000000)
NextPGCN: 0
PrevPGCN: 0
GoUpPGCN: 0
PGC Still Time: 0
Audio stream 1 status: 0x00008000 (stream=0)
Audio stream 2 status: 0x00008100 (stream=1)
Subpic stream 1 status: 0x80000000 (streams for 4:3=0, wide=0, letterbox=0, pan&scan=0)
Subpic stream 2 status: 0x81000000 (streams for 4:3=1, wide=0, letterbox=0, pan&scan=0)
Subpic stream 3 status: 0x82000000 (streams for 4:3=2, wide=0, letterbox=0, pan&scan=0)

Chap. Prog. Cell Type Layer Res- Still Cell Playback End Entry First Last Last VOB Cell
(PTT) Flags Break tric- Time Cmd. Time Time VOBU ILVU VOBU VOBU ID ID
ted. sector End Start End

0 1 1 1 2 yes no 0 0 00:00:33.07 00:00:33.07 0 0 16142 16318 1 1

The same remuxed episode will work without the chapter points with no problems, and even has new subtitle stream that works, but when i add the chapterpoints it just messes things up completely.

Chapters:
825
2950
5460
7459
8975
13050
16375
19930
23600
26075
28833
32400

These infos are from the muxmans remuxed file and not yet replaced/integrated with vobblanker with the original source, since i doubt it would work even if i did that.

Originally i made the chapters in DVDlab but noticed that the format it saves them in isnt correct for muxman so i loaded those in Subtitle Workshop and made custom format and saved the times in frames instead.

Any suggestions? I thought this was pretty straight forward thing since Muxman seemed to support chapters directly. Perhaps im doing something wrong?

kevin_k
26th August 2005, 20:14
Have you tried NeroVision (part of the complete nero package)?
I know you can add as many chapters as you wish, however it does not retain the original chapter settings that came with the movie.

Mystiqq
27th August 2005, 11:33
No i havent. I was hoping that some free tool would do the trick. PGCedit/IFOedit/Muxman etc.

r0lZ
27th August 2005, 12:02
Muxman should do the work correctly. The only thing that can be a little bit strange is that it will move the chapter points to the nearest VOBU entry. So, you may have a difference of some frames. If you want to avoid that, you must reencode the video.

For your '1 chapter' problem, are you sure you have loaded the celltimes.txt file in muxman? You should see the number of chapters near the progress bar.

Mystiqq
27th August 2005, 12:11
The Celltimes file is empty in the original. The original DVD doesnt have chapters at all. When i load the chapters file, the one i made myself, it will state the number of chapters correctly in the Muxman window, at the bottom of the window. Ive done several runs on this and it always generates the first chapter only and doesnt display rest of the video.

r0lZ
27th August 2005, 12:33
Hum, strange.
Maybe you should ask this question to mpucoder in the muxman thread (http://forum.doom9.org/showthread.php?t=93553)...

Mystiqq
27th August 2005, 12:44
Ill do that, thanks.

sweetness
27th August 2005, 15:59
what about AddChapter.
add all your chapters. then cut up your video (where you want your chapter points). then use vobblanker to replace each cell. and don't forget to change the flags.