DVD-Video 解谜 - IFO文件 - IFO 头文件解析

Video Manager and Video Title Set IFO file headers

OffsetsizeVMG IFO ContentsFile StructuresVTS IFO Contents
000012DVDVIDEO-VMG
VMG Files
00000000Video_ts.ifo
(001C)->
(00C0)->Video_ts.vob
 
 Video_ts.bup
(000C)->

VTS Files

Vts_xx_0.ifo00000000
<-(001C)
Vts_xx_0.vob<-(00C0)
 
Vts_xx_1.vob
:
Vts_xx_9.vob
<-(00C4)
 
Vts_xx_0.bup 
<-(000C)

DVDVIDEO-VTS
000C4last sector of VMG set (last sector of BUP)last sector of title set (last sector of BUP)
001C4last sector of IFOlast sector of IFO
00202version numberversion number
00224VMG category
byte1=prohibited region mask
VTS category   0=unspecified, 1=Karaoke
00262number of volumes 
00282volume number 
002A1side ID 
003E2number of title sets 
004032Provider ID 
00608VMG POS 
00804end byte address of VMGI_MATend byte address of VTS_MAT
00844start address of FP_PGC
(First Play program chain)
 
00C04start sector of Menu VOBstart sector of Menu Vob
00C44sector pointer to TT_SRPT
(table of titles)
start sector of Title Vob
00C84sector pointer to VMGM_PGCI_UT
(Menu Program Chain table)
sector pointer to VTS_PTT_SRPT
(table of Titles and Chapters)
00CC4sector pointer to VMG_PTL_MAIT
(Parental Management masks)
sector pointer to VTS_PGCI
(Title Program Chain table)
00D04sector pointer to VMG_VTS_ATRT
(copies of VTS audio/sub-picture attributes)
sector pointer to VTSM_PGCI_UT
(Menu Program Chain table)
00D44sector pointer to VMG_TXTDT_MG
(text data)
sector pointer to VTS_TMAPTI
(time map)
00D84sector pointer to VMGM_C_ADT
(menu cell address table)
sector pointer to VTSM_C_ADT
(menu cell address table)
00DC4sector pointer to VMGM_VOBU_ADMAP
(menu VOBU address map)
sector pointer to VTSM_VOBU_ADMAP
(menu VOBU address map)
00E04 sector pointer to VTS_C_ADT
(title set cell address table)
00E44 sector pointer to VTS_VOBU_ADMAP
(title set VOBU address map)
01002video attributes of VMGM_VOBSvideo attributes of VTSM_VOBS
01022number of audio streams in VMGM_VOBS (0 or 1)number of audio streams in VTSM_VOBS (0 or 1)
01048audio attributes of VMGM_VOBSaudio attributes of VTSM_VOBS
010C56
reserved
reserved
014416  
01542number of subpicture streams in VMGM_VOBS (0 or 1)number of subpicture streams in VTSM_VOBS (0 or 1)
01566subpicture attributes of VMGM_VOBSsubpicture attributes of VTSM_VOBS
015C164
reserved
reserved
02002
reserved
video attributes of VTS_VOBS
02022
reserved
number of audio streams in VTS_VOBS
02048*8
reserved
audio attributes of VTS_VOBS
024416
reserved
 
02542
reserved
number of subpicture streams in VTS_VOBS
025632*6
reserved
subpicture attributes of VTS_VOBS
03162
reserved
 
03188*24
reserved
multichannel extension
03D840
reserved
reserved
Version Number
byte76543210
0
reserved, should be 0
1
Major version number
Minor version number
Video Attributes
byte76543210
0
Coding mode
0 = Mpeg-1, 1 = Mpeg-2
Standard
0 = NTSC, 1 = PAL
Aspect
0 = 4:3, 1 = not specified, 2 = reserved, 3 = 16:9
1 & 2 should not be used
Automatic Pan/Scan
1 = disallowed
Automatic Letterbox
1 = disallowed
1CC for line 21 field 1 in GOP (NTSC only)CC for line 21 field 2 in GOP (NTSC only)
Bit Rate
0 = VBR, 1 = CBR
Resolution NTSC (PAL)
0 = 720x480 (720x576), 1 = 704x480 (704x576), 2 = 352x480 (352x576), 3 = 352x240 (352x288)
Letterboxed
1=top and bottom cropped
reservedFilm
0=camera, 1=film (PAL only)
Title Audio Attributes
byte76543210
0
Coding mode
0 AC3   1 ???   2 Mpeg-1   3 Mpeg-2ext
4 LPCM   5 ???   6 DTS   7 ???
Multichannel extension present
Language type
0 = unspecified
1 = per bytes 2&3
Application mode
0 = unspecified
1 = karaoke
2 = surround
1
Quantization/DRC
0 = 16bps, 1 = 20bps, 2 = 24bps, 3 = DRC (dynamic range control)
Sample rate
0 = 48Ksps
1 = 96Ksps
reserved
channels-1
2
1 stcharacter of language code
3
2 ndcharacter of language code
4
reserved for language code extension
5code extension, 0 = unspecified, 1 = normal, 2 = for visually impaired, 3 = director's comments, 4 = alternate director's comments
6
reserved
7
Application information
karaoke mode
0Channel assignments
0 = 1+1 (not valid), 1 = 1/0 (not valid),
2 = 2/0 L,R , 3 = 3/0 L,M,R ,
4 = 2/1 L,R,V1 , 5 = 3/1 L,M,R,V1 ,
6 = 2/2 L,R,V1,V2 , 7 = 3/2 L,M,R,V1,V2
Karaoke versionMC intro present0=solo, 1=duet
surround mode
reserved
1 = suitable for Dolby surround decodingreserved
Menu Audio Attributes
byte76543210
0
Coding mode
0 AC3   1 ???   2 Mpeg-1   3 Mpeg-2ext
4 LPCM   5 ???   6 DTS   7 ???
reserved
1
Quantization/DRC
0 = 16bps, 1 = 20bps, 2 = 24bps, 3 = DRC (dynamic range control)
Sample rate
0 = 48Ksps
1 = 96Ksps
reserved
channels-1
2
reserved
3
reserved
4
reserved
5
reserved
6
reserved
7
reserved
MultiChannel Extension - Karaoke mode
byte (hex)76543210
00
reserved
ACH0 Guide Melody exists
01
reserved
ACH1 Guide Melody exists
02
reserved
ACH2 Guide Vocal 1 existsACH2 Guide Vocal 2 existsACH2 Guide Melody 1 existsACH2 Guide Melody 2 exists
03
reserved
ACH3 Guide Vocal 1 existsACH3 Guide Vocal 2 existsACH3 Guide Melody A existsACH3 Sound Effect A exists
04
reserved
ACH4 Guide Vocal 1 existsACH4 Guide Vocal 2 existsACH4 Guide Melody B existsACH4 Sound Effect B exists
05-17 
Title Subpicture Attributes
byte76543210
0
Coding mode
0 = 2-bit rle
reserved
Language type
0 = unspecified
1 = per bytes 2&3
1
reserved
2
1 stcharacter of language code
3
2 ndcharacter of language code
4
reserved for language code extension
5code extension - see
SPRM #19 for the values
Menu Subpicture Attributes
byte76543210
0
Coding mode
0 = 2-bit rle
reserved
1
reserved
2
reserved
3
reserved
4
reserved
5
reserved
VMGM_C_ADT
VTSM_C_ADT
VTS_C_ADT
This table contains pointers to all the cells in the menu or title set.
offset01234567
0number of VOBsreservedend address (last byte of last entry)
8...12-byte entries
each entry
OffsetsizeContents
02VOBidn
21CELLidn
31 
44starting sector within VOB
84ending sector within VOB
VMGM_VOBU_ADMAP
VTSM_VOBU_ADMAP
VTS_VOBU_ADMAP
This table contains pointers to all the VOBUs in the menu or title set.
offset0123
0end address (last byte of last entry)
4starting sector within VOB of first VOBU
8 ...
possible additional entries
 
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值