zoukankan      html  css  js  c++  java
  • DVD IFO FILE HEADER

    Video Manager and Video Title Set IFO file headers

    Offset size VMG IFO Contents File Structures VTS IFO Contents
    0000 12 DVDVIDEO-VMG
    VMG Files
    00000000 Video_ts.ifo
    (001C)->
    (00C0)-> Video_ts.vob
     
      Video_ts.bup
    (000C)->

    VTS Files

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

    DVDVIDEO-VTS
    000C 4 last sector of VMG set (last sector of BUP) last sector of title set (last sector of BUP)
    001C 4 last sector of IFO last sector of IFO
    0020 2 version number version number
    0022 4 VMG category
    byte1=prohibited region mask
    VTS category   0=unspecified, 1=Karaoke
    0026 2 number of volumes  
    0028 2 volume number  
    002A 1 side ID  
    003E 2 number of title sets  
    0040 32 Provider ID  
    0060 8 VMG POS  
    0080 4 end byte address of VMGI_MAT end byte address of VTS_MAT
    0084 4 start address of FP_PGC
    (First Play program chain)
     
    00C0 4 start sector of Menu VOB start sector of Menu Vob
    00C4 4 sector pointer to TT_SRPT
    (table of titles)
    start sector of Title Vob
    00C8 4 sector pointer to VMGM_PGCI_UT
    (Menu Program Chain table)
    sector pointer to VTS_PTT_SRPT
    (table of Titles and Chapters)
    00CC 4 sector pointer to VMG_PTL_MAIT
    (Parental Management masks)
    sector pointer to VTS_PGCI
    (Title Program Chain table)
    00D0 4 sector pointer to VMG_VTS_ATRT
    (copies of VTS audio/sub-picture attributes)
    sector pointer to VTSM_PGCI_UT
    (Menu Program Chain table)
    00D4 4 sector pointer to VMG_TXTDT_MG
    (text data)
    sector pointer to VTS_TMAPTI
    (time map)
    00D8 4 sector pointer to VMGM_C_ADT
    (menu cell address table)
    sector pointer to VTSM_C_ADT
    (menu cell address table)
    00DC 4 sector pointer to VMGM_VOBU_ADMAP
    (menu VOBU address map)
    sector pointer to VTSM_VOBU_ADMAP
    (menu VOBU address map)
    00E0 4   sector pointer to VTS_C_ADT
    (title set cell address table)
    00E4 4   sector pointer to VTS_VOBU_ADMAP
    (title set VOBU address map)
    0100 2 video attributes of VMGM_VOBS video attributes of VTSM_VOBS
    0102 2 number of audio streams in VMGM_VOBS number of audio streams in VTSM_VOBS
    0104 8*8 audio attributes of VMGM_VOBS audio attributes of VTSM_VOBS
    0144 16    
    0154 2 number of subpicture streams in VMGM_VOBS (0 or 1) number of subpicture streams in VTSM_VOBS (0 or 1)
    0156 6 subpicture attributes of VMGM_VOBS subpicture attributes of VTSM_VOBS
    015A 164
    reserved
    reserved
    0200 2   video attributes of VTS_VOBS
    0202 2   number of audio streams in VTS_VOBS
    0204 8*8   audio attributes of VTS_VOBS
    0144 16    
    0254 2   number of subpicture streams in VTS_VOBS
    0256 32*6   subpicture attributes of VTS_VOBS
    0316 2    
    0318 8*24   multichannel extension
    03D8      

    Version Number

    byte 7 6 5 4 3 2 1 0
    0
    reserved, should be 0
    1
    Major version number
    Minor version number

    Video Attributes

    byte 7 6 5 4 3 2 1 0
    0
    Coding mode
    0 = Mpeg-1
    1 = Mpeg-2
    Standard
    0 = NTSC
    1 = PAL
    Aspect
    0 = 4:3
    1,2 = reserved
    3 = 16:9
    Automatic Pan/Scan
    1 = disallowed
    Automatic Letterbox
    1 = disallowed
    1 CC for line 21 field 1 in GOP (NTSC only) CC for line 21 field 2 in GOP (NTSC only) Resolution NTSC (PAL)
    0 = 720x480 (720x576)
    1 = 704x480 (704x576)
    2 = 352x480 (352x576)
    3 = 352x240 (352x288)
    0 = Not letterboxed
    1 = Letterboxed
    Unknown If Standard = PAL
    0 = camera
    1 = film

    Audio Attributes

    byte 7 6 5 4 3 2 1 0
    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
    If Coding mode=2,3
    0 = No DRC
    1 = DRC
    If Coding mode=4
    0 = 16bps 1 = 20bps 2 = 24bps, (DRC = dynamic range control)
    Sample rate
    0 = 48Kbps
     
    channels-1
    2
    1stcharacter of language code
    3
    2ndcharacter of language code
    4
    reserved for language code extension
    5 code extension, 0 = unspecified, 1 = normal, 2 = for visually impaired, 3 = director's comments, 4 = alternate director's comments - see SPRM #17
    6  
    7
    Application information
    karaoke mode
    0 Channel 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 version MC intro present 0=solo, 1=duet
    surround mode
    reserved
    1 = suitable for Dolby surround decoding reserved

    MultiChannel Extension - Karaoke mode

    byte (hex) 7 6 5 4 3 2 1 0
    00
    reserved
    ACH0 Guide Melody exists
    01
    reserved
    ACH1 Guide Melody exists
    02
    reserved
    ACH2 Guide Vocal 1 exists ACH2 Guide Vocal 2 exists ACH2 Guide Melody 1 exists ACH2 Guide Melody 2 exists
    03
    reserved
    ACH3 Guide Vocal 1 exists ACH3 Guide Vocal 2 exists ACH3 Guide Melody A exists ACH3 Sound Effect A exists
    04
    reserved
    ACH4 Guide Vocal 1 exists ACH4 Guide Vocal 2 exists ACH4 Guide Melody B exists ACH4 Sound Effect B exists
    05-17  

    Subpicture Attributes

    byte 7 6 5 4 3 2 1 0
    0
    Coding mode
    0 = 2-bit rle
     
    Language type
    0 = unspecified
    1 = per bytes 2&3
    1  
    2
    1stcharacter of language code
    3
    2ndcharacter of language code
    4
    reserved for language code extension
    5 code extension - see SPRM #19

    VMGM_C_ADT
    VTSM_C_ADT
    VTS_C_ADT

    This table contains pointers to all the cells in the menu or title set.

    offset 0 1 2 3 4 5 6 7
    0 number of VOB IDs reserved end address (last byte of last entry)
    8... 12-byte entries
    each entry
    Offset size Contents
    0 2 VOBidn
    2 1 CELLidn
    3 1  
    4 4 starting sector within VOB
    8 4 ending 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.

    offset 0 1 2 3
    0 end address (last byte of last entry)
    4 starting sector within VOB of first VOBU
    8 ...
    possible additional entries
  • 相关阅读:
    Meten Special Activities II
    Meten Special Activities II
    Meten Special Activities II
    Meten Special Activities II
    Meten Special Activities
    Meten Special Activities
    Meten Special Activities
    Meten Special Activities
    Meten Special Activities
    冒泡排序和选择排序
  • 原文地址:https://www.cnblogs.com/whisht/p/2319338.html
Copyright © 2011-2022 走看看