View Full Version : ifoedit and Adjust Ilvu/Angle point
ivanova
15th December 2004, 01:36
I'm trying to split The Matrix dvd using mikewillnot's and 2COOL's guides with ifoedit at
http://forum.doom9.org/showthread.php?threadid=53403 and
http://forum.doom9.org/showthread.php?threadid=53458
This is my first split and I want to keep all the features and extras.
My problem is that the ripped movie doesn't seem to keep all the multi angle / seamless branching info. Some scenes repeat where it shouldn't.
Is this normal or is ifoedit supposed to be able to handle this.
I have these settings checked:
X Remove P-UOps
X Remove Macrovision
X Adjust Ilvu/Angle point.
X Adjust Vob-Unit pointers
X Adjust Audio/Subp point.
Is 'Adjust Ilvu/Angle point' supposed to work with something like this?
r0lZ
15th December 2004, 02:22
IfoEdit has a well known bug: some infos are lost in the Cell Tables after a strip. If the angle flags are lost, it might be the problem.
Try to verify the angles flags for all cells of the PGC in IfoEdit or PgcEdit.
ivanova
15th December 2004, 03:32
I'm afraid pgcedit/ifoedit is still a bit new to me, where can I find the angle flags in pgcedit?
ivanova
15th December 2004, 03:37
Ok, I think I found it. There's an 'Edit PGC' button. In the 'Type Flags' collumn are a bunch of values - are these the ones I have to check?
r0lZ
15th December 2004, 12:04
Yes. Specially the values in the Type Flags column (the angle definitions are here), and the Cell Cmds.
ivanova
16th December 2004, 01:57
Nope, the rip looks the same as the original, so this is probably not the problem.
One question:
The new version of pgcedit has those very convenient play buttons for every cell. When I preview a cell, I see the scene repeated like the faulty backup. Is the scene supposed to play correctly when I preview?
I don't know much about multiangle vobs, but maybe the vobs are not written correctly.
I could only preview the backup because my original rip is still on my linux box without the preview function.
r0lZ
16th December 2004, 02:10
The multi angle sells are mixed together in the VOBs, to allow seamless playback of whatever angle is needed.
You will see all the angles when you preview a multi-angle cell in PgcEdit. This is a known limitation of the preview, and is therefore not a good indication that something is worng in your IFOs or VOBs.
I can't help much more. Sorry.
jeanl
16th December 2004, 03:16
ivanova
It looks like you have problems with the angles. If you see scenes repeat, this means the DVD is playing the VOB as if there weren't any angle groups, even though there should be.
Here's how angles work (thanks to r0lZ for the explanation) if I'm not mistaken.
In the vob files, you can have vob cells that correspond to various angles that are interleaved. The cells corresponding to a given angle will have the same VOB/CELL ID. You can check that by previewing the PGC in PgcEdit with the info panel on, you'll see the VOB/CELL ID change each time a scene is "repeated".
If the PGC cells (the cells you can see in the PGC info) are grouped in an angle group, the DVD player will only play one of the cells in the group. Your problem is they're not, so the player sees them as normal cells and plays them all in a row, even though it's not supposed to. So the player plays in a row:
Snippet 1 Angle 1
Snippet 1 Angle 2
Snippet 1 Angle 3
Snippet 2 Angle 1
Snippet 2 Angle 2
Snippet 2 Angle 3
...
instead of playing this
Snippet 1 Angle 1
Snippet 2 Angle 1
etc.
I"m not sure if you want to fix this by hand (if you have many cells, this will be tedious), but you probably can using PgcEdit (because all you need to do is adjust the angle flags in the PGC editor). If you only have a couple scenes where you get the problem then you're fine. If you have many it'll be bad.
Let us know if you want to try it by hand, and if you do, post the PGC: Info you get when right-clicking on the problem PGC. THen we might be able to help you figure it out. But you'll need to know how many angles there are (how many times a scene repeats)...
Jeanl
jeanl
16th December 2004, 03:52
Oh, another option is to transfer the IFO files from your unix box to your pc, and then compare the backed up IFOs with the original ones, and reproduce exactly the angle flags in the backedup IFOs. That way you won't have to second-guess what's going on. SHould be pretty easy if you don't have too many multi-angle PGC cells...
Jeanl
ivanova
16th December 2004, 05:37
Thanks for explaining ;)
That is exactly the problem. However I don't think the angle flags are wrong, as it is the same as the original. That is if I'm looking at the right info ;)
The following is the info from the ripped/splitted pgc. As I said it is exactly the same as the original until it is split.
There are 38 chapters, but chapter 19-38 all point to program 18.
VTST 2 , 1 TTN 1 (58:38) Title 1 - Chapters: 38, Programs: 18, Cells: 43
********** pre commands:
[00 A1 00 06 00 01 00 0F] 1 if ( gprm(6) == 1 ) then { Goto line 15 }
[00 A1 00 05 00 01 00 10] 2 if ( gprm(5) == 1 ) then { Goto line 16 }
[61 00 00 0E 00 92 00 00] 3 Set gprm(14) =(mov) sprm(18:Preferred sub-picture language)
[00 B1 00 0E 61 72 00 07] 4 if ( gprm(14) != 24946 ("ar") ) then { Goto line 7 }
[51 00 00 00 81 00 00 00] 5 (SetSTN) Set Sub-picture stream = 1, off
[00 01 00 00 00 00 00 10] 6 Goto line 16
[00 B1 00 0E 72 6F 00 0A] 7 if ( gprm(14) != 29295 ("ro") ) then { Goto line 10 }
[51 00 00 00 82 00 00 00] 8 (SetSTN) Set Sub-picture stream = 2, off
[00 01 00 00 00 00 00 10] 9 Goto line 16
[00 B1 00 0E 62 67 00 0D] 10 if ( gprm(14) != 25191 ("bg") ) then { Goto line 13 }
[51 00 00 00 83 00 00 00] 11 (SetSTN) Set Sub-picture stream = 3, off
[00 01 00 00 00 00 00 10] 12 Goto line 16
[51 00 00 00 80 00 00 00] 13 (SetSTN) Set Sub-picture stream = 0, off
[00 01 00 00 00 00 00 10] 14 Goto line 16
[00 B1 00 03 00 01 00 11] 15 if ( gprm(3) != 1 ) then { Goto line 17 }
[51 00 00 80 00 00 00 00] 16 (SetSTN) Set Audio stream = 0
[71 00 00 04 00 00 00 00] 17 Set gprm(4) =(mov) 0
[71 00 00 05 00 00 00 00] 18 Set gprm(5) =(mov) 0
[71 00 00 08 00 00 00 00] 19 Set gprm(8) =(mov) 0
[71 00 00 03 00 00 00 00] 20 Set gprm(3) =(mov) 0
[71 00 00 06 00 01 00 00] 21 Set gprm(6) =(mov) 1
[71 00 00 07 00 01 00 00] 22 Set gprm(7) =(mov) 1
********** post commands:
[71 00 00 07 00 00 00 00] 1 Set gprm(7) =(mov) 0
[30 08 00 15 01 C0 00 00] 2 (CallSS) Call the VMGM PGC 21, resume cell 1
********** cell commands:
Playback time: 00:58:38.18 (at 25 fps)
PG Playback mode: sequential
PUOs: 29553664 (0x01C2F400)
- Menu call - Title (0x00000400)
- Menu call - Subpicture (0x00001000)
- Menu call - Audio (0x00002000)
- Menu call - Angle (0x00004000)
- Menu call - PTT (0x00008000)
- Button select or activate (0x00020000)
- Angle change (0x00400000)
- Karaoke audio mix change (0x00800000)
- Video presentation mode change (0x01000000)
NextPGCN: 0
PrevPGCN: 0
GoUpPGCN: 0
PGC Still Time: 0
Audio stream 1 status: 0x00008000 (stream=0)
Subpic stream 1 status: 0x80000000 (streams for 4:3=0, wide=0, letterbox=0, pan&scan=0)
Subpic stream 2 status: 0x80010100 (streams for 4:3=0, wide=1, letterbox=1, pan&scan=0)
Subpic stream 3 status: 0x80020200 (streams for 4:3=0, wide=2, letterbox=2, pan&scan=0)
Subpic stream 4 status: 0x80030300 (streams for 4:3=0, wide=3, letterbox=3, pan&scan=0)
Subpic stream 5 status: 0x80040400 (streams for 4:3=0, wide=4, letterbox=4, 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
1 1 1 2 yes no 0 0 00:00:29.19 00:00:29.19 3648 0 12552 12716 2 1
0 2 8 no no 0 0 00:00:52.24 00:01:22.18 12717 0 31508 31704 2 2
0 3 8 no no 0 0 00:01:23.20 00:02:46.13 31705 0 55521 55627 2 3
0 4 10 no no 0 0 00:00:08.19 00:02:55.07 55628 0 57782 58051 3 1
0 5 14 no no 0 0 00:00:10.00 00:03:05.07 58052 58565 63313 63427 4 1
0 6 12 no no 0 0 00:00:12.12 00:03:17.19 63428 63594 70677 70855 4 2
2 2 7 10 no no 0 0 00:01:05.19 00:04:23.13 71635 0 92443 92719 6 1
0 8 8 no no 0 0 00:00:23.19 00:04:47.07 92720 0 99512 99769 6 2
0 9 8 no no 0 0 00:01:32.16 00:06:19.23 99770 0 126681 126931 6 3
3 3 10 8 no no 0 0 00:01:09.09 00:07:29.07 126932 0 146574 146816 6 4
0 11 8 no no 0 0 00:01:49.23 00:09:19.05 146817 0 177316 177520 6 5
4 4 12 8 no no 0 0 00:02:10.04 00:11:29.09 177521 0 214954 215122 6 6
5 5 13 8 no no 0 0 00:00:54.16 00:12:24.00 215123 0 231772 231948 6 7
0 14 8 no no 0 0 00:03:42.17 00:16:06.17 231949 0 306117 306345 6 8
6 6 15 8 no no 0 0 00:03:10.23 00:19:17.15 306346 0 364526 364759 6 9
0 16 8 no no 0 0 00:01:22.12 00:20:40.02 364760 0 388428 388674 6 10
7 7 17 8 no no 0 0 00:00:14.01 00:20:54.03 388675 0 393003 393282 6 11
0 18 8 no no 0 0 00:02:12.11 00:23:06.14 393283 0 439540 439649 6 12
0 19 8 no no 0 0 00:01:00.19 00:24:07.08 439650 0 459594 459846 6 13
8 8 20 8 no no 0 0 00:03:33.10 00:27:40.18 459847 0 520667 520780 6 14
9 9 21 8 no no 0 0 00:03:04.20 00:30:45.13 520781 0 574355 574523 6 15
0 22 8 no no 0 0 00:00:16.21 00:31:02.09 574524 0 579808 579992 6 16
0 23 10 no no 0 0 00:00:03.17 00:31:06.01 579993 0 580792 580892 7 1
10 10 24 14 no no 0 0 00:00:10.00 00:31:16.01 580893 581254 585761 585876 8 1
0 25 12 no no 0 0 00:02:39.07 00:33:55.08 585877 586050 689997 690159 8 2
11 11 26 10 no no 0 0 00:02:30.20 00:36:26.03 690664 0 738156 738365 10 1
0 27 8 no no 0 0 00:00:17.06 00:36:43.09 738366 0 743477 743651 10 2
0 28 8 no no 0 0 00:00:22.21 00:37:06.05 743652 0 750389 750588 10 3
12 12 29 8 no no 0 0 00:01:44.07 00:38:50.12 750589 0 781897 782038 10 4
0 30 8 no no 0 0 00:01:42.06 00:40:32.18 782039 0 812959 813201 10 5
0 31 8 no no 0 0 00:02:01.08 00:42:34.01 813202 0 849272 849473 10 6
13 13 32 8 no no 0 0 00:02:05.11 00:44:39.12 849474 0 883309 883468 10 7
14 14 33 8 no no 0 0 00:02:18.12 00:46:57.24 883469 0 924793 924931 10 8
15 15 34 10 no no 0 0 00:01:02.03 00:48:00.02 924932 0 947030 947364 11 1
0 35 14 no no 0 0 00:00:10.00 00:48:10.02 947365 948152 955392 955570 12 1
0 36 12 no no 0 0 00:01:26.01 00:49:36.03 955571 955812 1019853 1020128 12 2
0 37 10 no no 0 0 00:00:36.11 00:50:12.14 1020972 0 1032518 1032676 14 1
0 38 8 no no 0 0 00:01:07.17 00:51:20.06 1032677 0 1057142 1057291 14 2
16 16 39 8 no no 0 0 00:02:53.07 00:54:13.13 1057292 0 1107304 1107440 14 3
17 17 40 8 no no 0 0 00:00:33.03 00:54:46.16 1107441 0 1119693 1119935 14 4
0 41 8 no no 0 0 00:01:49.23 00:56:36.14 1119936 0 1158492 1158728 14 5
18 18 42 8 no no 0 0 00:01:49.23 00:58:26.12 1158729 0 1190899 1191106 14 6
0 43 8 no no 0 0 00:00:12.06 00:58:38.18 1191107 0 1194508 1194631 14 7
jeanl
16th December 2004, 06:57
OK if the angle flags aren't wrong, can you check whether the PGC info in the original and the backed up match? In particular, check whether a given PGC cell is mapped to the correct Vob/Cell ID in the vob file:
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:00:29.19 00:00:29.19 3648 0 12552 12716 2 1
that's the two last number on the line above. Also check that the sectors match.
Could you verify which cells are "repeating" when they shouldn't?
Then if you're really stuck, I think you should split again using vobblanker, which I think would be much much easier... Although I'm not sure how vobblanker handles multiple angles.
Jeanl
r0lZ
16th December 2004, 14:55
Well. Seems that the cell flags are wrong.
Try to change the flags for cells 5, 24 and 35 from 14 to 95 (set the "Seamless angle linkled in DSI", the "Angle block" and the "First of angle block" options.)
Change also the flags for cells 6, 25 and 96 from 12 to 221 (add "Seamless angle linkled in DSI", "Angle block" and, this time, "Last of angle block".)
Also, you should verify that the number of angles for your Title is 2 in the Title Play Map Table (in Utilities menu.)
If it is set to 1, you will have to change it with IfoEdit: load VIDEO_TS.IFO, and go to VMG_TT_SRPT (incorrectly spelled VMG_PTT_SRPT), locate your Title, double click on Number of Angles, and enter 2.
Check carefully on your standalone, and if you notice a problem, try to remove the "Seamless angle linked in DSI" flags.
ivanova
16th December 2004, 18:11
Well I think I fixed it sortof - but I still don't know what was wrong. After checking all details between the original and the split version I found they were the same. The changes r0lZ suggested made some improvements but didn't fix it completely. What bothered me is that even the original ifos showed only one angle. I thought that maybe the ifos are alright and that the vobs could be faulty. So I replaced the split VTS_02_1.VOB with the original and then playback was fine. So I think a different method than angles are used in the different titles and ifoedit didn't copy the vob correctly.
I have attached the ifos so you can check for yourselves.
Is there another utility that can split vobs? I'll check out vobblanker.
Thanks alot for everyones help so far ;)
jeanl
16th December 2004, 18:27
I think something could be wrong in the split vob: the Vob/Cell IDs could be screwed up, and that would also cause playback to repeat a scene.
You can check that easily with PgcEdit's preview (or DVD2AVI). Preview the vob file and open the info panel, so you can see the vob/cell IDS.
I'm willing to bet they won't be the same in the original VOB and the split one.
What you should check is that the vob/cell ID does change when you move from one angle to the next. In pgcedit's preview, you can use the slider to go continuously through the vob file, and this should show all the interleaved angles (so you should see the same thing repeat, once for each angle, that's normal in the preview), BUT each time it repeats the Vob/Cell ID should change in the Info panel. I'm willing to bet they change in the original VOB, but not in the split one. I won't put any money on it though! ;)
If the Vob/Cell IDs don't changed then the player will play the different angles in a row thinking they belong to the same VOB cell, which is not what you want. You could fix that in VobEdit if that's indeed what's wrong, but that might be tedious.
Jeanl
ivanova
16th December 2004, 18:51
I'll check the previews again later when I have more time. ;)
I checked out vobblanker and it complained about Ilv's in the vob. I also noticed the problem cells marked in ifoedit with Ilvu. After r0lZ's changes these were marked as angle1/2. What are Ilvu's?
jeanl
16th December 2004, 19:00
I forget what ILVU stands for (but I'm sure r0lZ knows that off the top of his head!). In the info you posted, you'll see that the IFO store the "first ILVU end" for each cell. This indicates the end of the first VOB cell that corresponds to the angle the PGC-cell corresponds to. So, if the VOB contains interleaved angles like this (for example):
VobId CellID Angle Start Sector
1 1 1 0
1 2 2 1000
1 1 1 2000
1 2 2 3000
1 1 1 4000
the first ILVU end marks the end of Vob/Cell ID 1/1 (the one that starts at sector 0).
jeanl
Doom9
18th December 2004, 13:54
@ivanova: I had to delete your attachments.. IFOs are not allowed.. they're just as protected by copyright as the actual movie so you can't post them at a place where the whole wide world has access to.
ivanova
18th December 2004, 19:06
oh, I suppose links to an offsite location is not allowed too?
mpucoder
18th December 2004, 20:22
No, but there is a solution in this sticky. (http://forum.doom9.org/showthread.php?s=&threadid=50765)
While it sometimes may be neccesary for 2 or more people to share files to solve a problem, this is best done in private. Once the problem has been solved, or identified, the results can be posted in a generic manner.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.