View Full Version : IFO chapters
GZZ
21st March 2003, 12:14
I have a little question for ifo files. I have been looking at www.mpucoder.com sites, but I can't find out which cells in a PGC which belongs to a certain chapter.
In ifoedit I can see that my pgc got 27 chapters, but I can't see were it gets the info from in the ifo file. Please advise me with a link or some info, maybe I have overlooked it. Thanks.
GZZ
int 21h
21st March 2003, 17:48
I think its in VTS_PTT_SRPT?
mpucoder
22nd March 2003, 07:43
VTS_PTT_SRPT will point to a chapter list (VTS_PTT) which contains the PGCN (PGC number) and PGN (Program number) of each chapter. Then look at the PGC, in it is the program map, which is a list of the cells.
Common mistakes here:
1) Assuming that each program is a chapter. It may not be, chapters may span programs.
2) Assuming that each cell is a program (is a chapter). Again, a program can span cells.
And a FAQ concerning the VTS_PTT_SRPT: Q - How do you know how many chapters are in each title (or how long each VTS_PTT is)? A - For all but the last title, subtract the beginning of the list from the beginning of the next list. For the last title use the end address+1 for the beginning of the next list. That's the length, divide by 4 for the number of chapters.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.