DVD-Video 解谜 - IFO文件 - Program Chains

Program Chain structure

This is the usual order of tables within one PGC.
PGC
  PGC header  
  command table  
  program map  
  cell playback information  
  cell position (VOBidn & CELLidn)  

PGC header

Offset Label size Contents
0000   2  
0002   1 number of programs
0003   1 number of cells
0004   4 playback time, BCD, hh:mm:ss:ff with bits 7&6 of frame (last) byte indicating frame rate
11 = 30 fps, 10 = illegal, 01 = 25 fps, 00 = illegal
0008   4 prohibited user ops
000C PGC_AST_CTL 8*2 Audio Stream Control, each entry:
byte 7 6 5 4 3 2 1 0
0 1 = stream available reserved Stream number (MPEG audio) or Substream number (all others)
1 reserved
001C PGC_SPST_CTL 32*4 Subpicture Stream Control, each entry:
byte 7 6 5 4 3 2 1 0
0 1 = stream available reserved Stream number for 4:3
1 reserved Stream number for wide
2 reserved Stream number for letterbox
3 reserved Stream number for pan&scan
009C   2 next PGCN
FP - Not allowed, VMGM & VTSM - must be in the same domain, VTST - must be in the same title.
009E   2 prev PGCN
FP, VMGM, & VTSM - Not allowed, VTST - must be in the same title.
00A0   2 goup PGCN
FP - Not allowed, VMGM & VTSM - must be in the same domain, VTST - must be in the same title.
If this is a menu PGC goup PGCN may be set to 0xFFFF indicating "resume".
00A2   1 PG playback mode, 0=sequential, otherwise bit7 indicates random (0) or shuffle (1), and the program count-1 is in bits6-0 (minimum program count is 2)
00A3   1 PGC still time, 255=infinite
00A4   16*4 Color LookUp Table (CLUT) (0, Y, Cr, Cb) 00E4   2 offset within PGC to commands 00E6   2 offset within PGC to program map 00E8   2 offset within PGC to cell playback information table 00EA   2 offset within PGC to cell position information table

你可能感兴趣的:(DVD-Video 解谜 - IFO文件 - Program Chains)