PDA

View Full Version : Another issue about ifoedit splitting...


P3gasus
15th March 2004, 02:10
I'm trying to split a movie into 2 Discs with ifoedit putting the menues in both. The movie has only titleset 1 whitch has 4 titles. Title 2 is invoked in the first play pgc inside video_ts.ifo; ifoedit put it in both discs but in disc 2 Title 2 has 0 programs and 0 cells. So when I try to play the 2nd disc I obviously get an error. I thought I could solve the problem in one of those two ways:
1- Jump directly to what is played after title 2. But this solution is not the good one because I'll jump the precommands of title2 which are important for the correct playing of the disc.
2- Add a dummy program/cell in Title2 disc 2. I tryed to use 2cool guide on how to add a blank cell at the end of a title but unfortunately I can arrive only to step 5 because in the pgc there is no program map (and so there's no way to modify it). With the ifo that I get arriving to step 5 of the 2cool guide the movie displays correctly but the ifo is evidently incorrect. I thought to do a mock strip to the ifo that I get with the first 5 steps of 2cool's guide but I fear that this would mess up everything in the incorrect ifo.
Any ideas? Thanks in advance.

Dimmer
15th March 2004, 02:30
Here's one approach to bypassing a title while keeping all commands intact. On the second disc, go to PGC command table for the title 2. Change the number of Pre commands to the sum of Pre and Post commands, then change number of Post commands to 0. For example, if you had 3 Pre commands and 2 Post commands, change it to 5 Pre and 0 Post. So it'll execute whatever jump was in the Post commands right away without attempting to play the title.

In general, I believe DVD specifications don't allow you to have a dummy title, so you still may have issues on certain players.

2COOL
15th March 2004, 08:50
@P3gasus

If you need to know more about what dimmer is talking about, read here (http://forum.doom9.org/showthread.php?s=&threadid=50245). ;)

P3gasus
15th March 2004, 09:38
Originally posted by dimmer
Here's one approach to bypassing a title while keeping all commands intact. On the second disc, go to PGC command table for the title 2. Change the number of Pre commands to the sum of Pre and Post commands, then change number of Post commands to 0. For example, if you had 3 Pre commands and 2 Post commands, change it to 5 Pre and 0 Post. So it'll execute whatever jump was in the Post commands right away without attempting to play the title.

In general, I believe DVD specifications don't allow you to have a dummy title, so you still may have issues on certain players.

I tried that solution before I wrote my first message and that solution worked only after modifying the ifo as said in 2cool's guide till the 5th step.
I think that also pc players don't like dummy titles. Even if you just invoke them you will get an error.
I don't know what to do.
Maybe later I'll try another solution.

2COOL
15th March 2004, 10:00
Post your PGC Command Table for Title 2.

violao
15th March 2004, 10:22
P3Gasus,

I know exactly what you were saying since I saw that myself. If you were making only one disc and have just emptied Title 2 (I suppose it's studio intro) either with delete playback or by stripping ALL vobs from it, then player would jump to nowhere - IfoEdit preview will complain about illegal navigation, no matter what you do in pre commands section.

I would try different approach. Start with FULL movie for both destination discs. From every "full" movie strip unwanted content and leave intro PGC (Title 2) alone for now. If for example your movie PGC is devided by layers in 2 vobs: id 1 & 2, than you will strip vob/cell 2/X from 1st cd and vob/cell 1/X from 2nd cd. You may also have different configuration of vobs/cells. After you strip what you don't need you'll get 2 dirs with complete dvd structure, both missing a part of original movie PGC. Next you'll need to modify your menus, such that scene selection that would be on another disc don't display at all. For that you will need to replace particular cells in scene selection menu part with blank cells. You can do this by demuxing the complete menu to vobs and cells and remuxing them back with new content. Also on disc 2 you will need to modify commands in scene selection menus. If your starting chapter on new disc was for example chapter No. 15 on original disc, you need to change 15 to 1 in JUMP PTT command on new disc 2, as well as all subsequent chapter numbers. What exactly you do here depends on the way jumps are implemented. If they are made directly by menu button commands then you'll need MenuEdit to modify them. If however all you have in menu are "LinkTailPGC" commands, then you'll need to check Post Commands section of a particular PGC, look for commands "Jump_VTS_PTT" and replace PTT numbers with new chapter numbers.

After you make sure everything works you can bypass Title 2 intro using 2COOL's guide, but don't strip it's vob or delete playback. You can also replace Title 2 with blank vob, but that involves too much work and if you have enough space on destination disc it's easier to just bypass it.

Hope this helps.

P3gasus
15th March 2004, 10:40
Originally posted by violao
P3Gasus,
...

I would try different approach. Start with FULL movie for both destination discs. From every "full" movie strip unwanted content and leave intro PGC (Title 2) alone for now. If for example your movie PGC is devided by layers in 2 vobs: id 1 & 2, than you will strip vob/cell 2/X from 1st cd and vob/cell 1/X from 2nd cd. You may also have different configuration of vobs/cells.
....
Next you'll need to modify your menus....


Thanks violao. I think your solution is the best one! I didn't think about it. I'll try that later in the morning and I'll let you know. I think that it should work because in the layer break of the main movie pgc there is a vobid change (is it a coincidence or is it just normal?).
We'll see
Thanks a lot

P3gasus
15th March 2004, 11:21
Originally posted by 2COOL
Post your PGC Command Table for Title 2.

I think that the problem is solved whith violao's method (I don't have time to try now) and I don't think it is a command table problem. However, I appreciate your interest and so I send the command talbe as you asked.
Thanks for help

PGC Command Table:
[000000ec] Number of Pre Commands 24 [0018]
[000000ee] Number of Post Commands 1 [0001]
[000000f0] Number of Cell Commands 0 [0000]
[000000f2] Size of Command table in bytes 207 [00cf]
[000000f4] 1.Pre Command If GPreg<6> == (cmp-val)<1><' then Goto line# 9 [00 a1 00 06 00 01 00 09 ]
[000000fc] 2.Pre Command If GPreg<5> == (cmp-val)<1><' then Goto line# 10 [00 a1 00 05 00 01 00 0a ]
[00000104] 3.Pre Command Set GPreg<3> mov SPreg<preferred sub-picture language> [61 00 00 03 00 92 00 00 ]
[0000010c] 4.Pre Command If GPreg<3> == (cmp-val)<26996><'it'> then Goto line# 7 [00 a1 00 03 69 74 00 07 ]
[00000114] 5.Pre Command (SetSTN) Set Subpicture Stream: 0(Off) [51 00 00 00 80 00 00 00 ]
[0000011c] 6.Pre Command Goto line# 10 [00 01 00 00 00 00 00 0a ]
[00000124] 7.Pre Command (SetSTN) Set Subpicture Stream: 1(Off) [51 00 00 00 81 00 00 00 ]
[0000012c] 8.Pre Command Goto line# 10 [00 01 00 00 00 00 00 0a ]
[00000134] 9.Pre Command If GPreg<11> != (cmp-val)<1><' then Goto line# 17 [00 b1 00 0b 00 01 00 11 ]
[0000013c] 10.Pre Command If GPreg<4> == (cmp-val)<1><' then Goto line# 17 [00 a1 00 04 00 01 00 11 ]
[00000144] 11.Pre Command Set GPreg<3> mov SPreg<preferred audio language> [61 00 00 03 00 90 00 00 ]
[0000014c] 12.Pre Command If GPreg<3> == (cmp-val)<26996><'it'> then Goto line# 15 [00 a1 00 03 69 74 00 0f ]
[00000154] 13.Pre Command (SetSTN) Set Audio Stream: 0 [51 00 00 80 00 00 00 00 ]
[0000015c] 14.Pre Command Goto line# 17 [00 01 00 00 00 00 00 11 ]
[00000164] 15.Pre Command (SetSTN) Set Audio Stream: 1 [51 00 00 81 00 00 00 00 ]
[0000016c] 16.Pre Command Goto line# 17 [00 01 00 00 00 00 00 11 ]
[00000174] 17.Pre Command Set GPreg<3> mov (set-val)<0> [71 00 00 03 00 00 00 00 ]
[0000017c] 18.Pre Command Set GPreg<4> mov (set-val)<0> [71 00 00 04 00 00 00 00 ]
[00000184] 19.Pre Command Set GPreg<5> mov (set-val)<0> [71 00 00 05 00 00 00 00 ]
[0000018c] 20.Pre Command Set GPreg<6> mov (set-val)<1> [71 00 00 06 00 01 00 00 ]
[00000194] 21.Pre Command Set GPreg<7> mov (set-val)<0> [71 00 00 07 00 00 00 00 ]
[0000019c] 22.Pre Command Set GPreg<8> mov (set-val)<0> [71 00 00 08 00 00 00 00 ]
[000001a4] 23.Pre Command Set GPreg<11> mov (set-val)<0> [71 00 00 0b 00 00 00 00 ]
[000001ac] 24.Pre Command Set GPreg<10> mov (set-val)<0> [71 00 00 0a 00 00 00 00 ]
[000001b4] 1.Post Command (CallSS VTSM) Call TitleSet root-menu [Resume Cell: 1] [30 08 00 00 01 83 00 00 ]

violao
15th March 2004, 12:40
Originally posted by P3gasus
I think that it should work because in the layer break of the main movie pgc there is a vobid change.

It might happen that after you split it this way one of the disc is too large to fit on dvd-5. That's because you will still keep the content that was originally on another layer. In that case you will need to find a way to blank out unnecessary content. But be careful not to delete anything, just replace with empty cells. You can replace multi-vob-cell pgc with a single blank cell, just change number of vobs/cells in VTS_PGCITI in VTS_0x_0.IFO to 1, but keep in mind when creating blank cell that it has to have the same vob id as the original. After you modify titleset vob files this way you'll also need to do a "mock" strip.

Your PGC command table shows that you can safely change numbers to:
Number of Pre Commands 25
Number of Post Commands 0
in order to skip playback of cells from that PGC.

Only if there were Break or Jump/Call commands other than the last one it would become tricky.

Dimmer
16th March 2004, 02:16
@P3gasus
There appears to be a new tool (http://forum.doom9.org/showthread.php?s=&postid=458986#post458986) that promises to solve your original problem. I didn't try it yet, but maybe you should check it out and post back the results for everyone's benefit.

P3gasus
16th March 2004, 23:02
Originally posted by dimmer
@P3gasus
There appears to be a new tool (http://forum.doom9.org/showthread.php?s=&postid=458986#post458986) that promises to solve your original problem. I didn't try it yet, but maybe you should check it out and post back the results for everyone's benefit.

Violao's method worked fine for me. However I'll test soon this software on the same movie and I'll let you know the results.
Thanks a lot

P3gasus
20th March 2004, 18:21
I finally had time to test add_Chapter. This software works smoothly when the ifo file is correct. But if you have a pgc without any chapter in your ifo file it will not accept the ifo file. I think that this is what it should do because a 0-chapter pgc in a non-menu contest is not correct.
I hope this helps.

geffroman
31st March 2004, 06:00
IFOEdit is just the wrong tool for splitting a multi PGC Title Set. If you have VOB-IDs for each chapter you can use IFOEdit to strip the unwanted chapters for each half of the movie keeping everything else intact. However, if each chapter does NOT have it's own ID then use a tool like DVDReMake (http://www.dimadsoft.com/dvdremake/index.php?PHPSESSID=6d403a61f192732facb1f4385f52a793) and blank out the unwanted chapters for each half of the movie... 2COOL and Dimmer might know whether VOBBlanker or TitleSetBlanker can do this as well... They are both pretty damn smart fellas...

But this way both discs get a totally intact structure... On disc one you can reduce the chapter number as is appropriate in VIDEO_TS and in disc two you can change first play to start on the second half of the movie instead of the menu.

Additionally, if you do use DVDReMake (http://www.dimadsoft.com/dvdremake/index.php?PHPSESSID=6d403a61f192732facb1f4385f52a793) you can add an "Insert Disc 2" (http://posunplugged.com/vobclips) clip at the end of disc one. IMHO DVDReMake (http://www.dimadsoft.com/dvdremake/index.php?PHPSESSID=6d403a61f192732facb1f4385f52a793) is the best tool for this as you can split the disc... add the "Insert Disc 2" (http://posunplugged.com/vobclips) ... alter the first play command on disc two... blank out FBI stuff and trailers... and delete menu buttons all in one program and then CLICK GO to get a finished DVD that is 100% compliant...

Could you ask for more...?