DVB和MPEG-II中的表格  

    在这篇文档里,列举了13个MPEG-II中的PSI信息和DVB/SI中的SI信息有关表格PATPMTNITCAT
SDTEITBATTDTTOTRSTSTDITSIT

    主要描述了上述七表的通用语法结构以及Descriptor();

主要内容有:

一、Table(表).

二、Note(注释).

三、Descriptor(描述符).

四、表格

 

 

一、Table(表).

 

1、NIT(Network Information Tabel)

    NIT表主要提供物理网络本身的一些信息。

    PID:0x0010

    table_id:   discribe actual newwork  0x40

                discribe not actual  newwork  0x41

   Syntax (句法结构)         No. of bits(所占位数)   Identifier(识别符)  Note(注释)   

network_information_section(){

table_id                                             8                       uimsbf                                                   

Section_syntax_indicator               1                          bslbf             通常设为“1

Reserved_future_use                      1                        bslbf

Reserved                                          2                        bslbf

Section_length                                12                      uimsbf                 见注释

Network_id                                      16                       uimsbf                 见注释

Reserved                                          2                         bslbf

Version_number                              5                         uimsbf             见注释

Current_next_indicator                   1                          bslbf                 见注释

Section_number                              8                          uimsbf            见注释

last_section_number                       8                          uimsbf            见注释

Reserved_future_use                      4                          bslbf

Network_descriptors_length        12                        uimsbf

for(i=0;i<N;i++){

    descriptor()                                                                                   First descriptor loop

}

reserved_future_use                         4                     bslbf

transport_stream_loop_length       12                  uimsbf               

for(i=0;i<N;i++){

    transport_stream_id                     16                  uimsbf             见注释

    original_network_id                      16                  uimsbf             见注释

    reserved_future_use                      4                  bslbf

    transport_descriptors_length     12                   uimsbf

    for(j=0;j<N;j++){

        descriptor()                                                                             Second descriptor loop

    }

}

CRC_32                                          32                  rpchof                  见注释

}

NIT 表中的Descriptor():

First descriptor loop:

    (1). Linkage descriptor:

    (2). Multiligual network name descriptor:

    (3). Network name descriptor:

Second descriptor loop:

    (1). Delivery system descriptor:

    (2). Service list descriptor:

    (3). Frequency list descriptor:

 

2BAT(Bouquet Association Table)

    BAT表主要提供关于Bouquet的信息,Bouquet是一个services的集合。

    PID:0x0011

    table_id: 0x4A

 

Syntax (句法结构)         No. of bits(所占位数)   Identifier(识别符)  Note(注释)

bouquet_association_section(){

table_id                                             8                       uimsbf                                                   

Section_syntax_indicator               1                          bslbf         通常设为“1

Reserved_future_use                      1                        bslbf

Reserved                                          2                        bslbf

Section_length                                12                      uimsbf                 见注释

bouquet_id                                      16                       uimsbf                 见注释

Reserved                                          2                         bslbf

Version_number                              5                         uimsbf             见注释

Current_next_indicator                   1                          bslbf                 见注释

Section_number                              8                          uimsbf            见注释

last_section_number                       8                          uimsbf            见注释

Reserved_future_use                      4                          bslbf

bouquet_descriptors_length        12                        uimsbf

for(i=0;i<N;i++){

    descriptor()

}

reserved_future_use                         4                     bslbf

transport_stream_loop_length       12                  uimsbf               

for(i=0;i<N;i++){

    transport_stream_id                     16                  uimsbf             见注释

    original_network_id                      16                  uimsbf             见注释

    reserved_future_use                      4                  bslbf

    transport_descriptors_length     12                   uimsbf

    for(j=0;j<N;j++){

        descriptor()

    }

}

CRC_32                                          32                  rpchof                  见注释

}

 

BAT 表中的Descriptor():

First descriptor loop:

    (1). Bouquet name descriptor:

    (2). CA identifier descriptor:

    (3). Country availability descriptor:

    (4). Linkage descriptor:

    (5). Multiligual bouquet name descriptor:

Second descriptor loop:

    (1). Service list descriptor:

 

3SDT(Service Description Table)

    SDT表主要提供关于Service的信息,如Service name, Service provider 等。

    PID:0x0011

    table_id:   discribe actual TS   0x42

                discribe not actual TS  0x46

 

Syntax (句法结构)         No. of bits(所占位数)   Identifier(识别符)  Note(注释)   

service_description_section(){

table_id                                             8                       uimsbf                                                   

Section_syntax_indicator               1                          bslbf                   通常设为“1

Reserved_future_use                      1                        bslbf

Reserved                                          2                        bslbf

Section_length                                12                      uimsbf                 见注释

transport_stream_id                       16                       uimsbf                 见注释

Reserved                                          2                         bslbf

Version_number                              5                         uimsbf             见注释

Current_next_indicator                   1                          bslbf                 见注释

Section_number                              8                          uimsbf            见注释

last_section_number                       8                          uimsbf            见注释

original_nerwork_id                        16                         uimsbf            见注释

reserved_future_use                        8                          bslbf

for(i=0;i<N;i++){

    service_id                                     16                         uimsbf           见注释

    reserved_future_use                     6                         bslbf

    EIT_schedule_flag                         1                          bslbf            见注释

    EIT_present_following_flag          1                          bslbf            见注释

    running_status                                3                         uimsbf        见注释

    freed_CA_mode                            1                         bslbf            见注释

    descriptors_loop_length                12                      uimsbf

    for(j=0;j<N;j++){

        descriptor()

    }

}

CRC_32                                                32                  rpchof                  见注释

}

 

 

SDT 表中的Descriptor():

    (1). Bouquet name descriptor:

    (2). CA identifier descriptor:

    (3). Country availability descriptor:

    (4). Data broadcast descriptor:

    (5). Linkage descriptor:

    (6). Mosaic descriptor:

    (7). Multilingual service descriptor:

    (8). NVOD reference descriptor:

    (9). Service descriptor:

    (10). Telephone descriptor:

    (11). Time shifted service descriptor:

 

 

4EIT(Event Infomation Table)

    EIT表主要提供关于event的信息,如name, start time, duration等。共有四类EIT:

1) actual Transport Stream, present/following event information = table_id = "0x4E";

2) other Transport Stream, present/following event information = table_id = "0x4F";

3) actual Transport Stream, event schedule information = table_id = "0x50" to "0x5F";

4) other Transport Stream, event schedule information = table_id = "0x60" to "0x6F".

    PID:0x0012

 

Syntax (句法结构)         No. of bits(所占位数)   Identifier(识别符)  Note(注释)

event_information_section(){

table_id                                             8                       uimsbf                                                   

Section_syntax_indicator               1                          bslbf                   通常设为“1

Reserved_future_use                      1                        bslbf

Reserved                                          2                        bslbf

Section_length                                12                      uimsbf                 见注释

service_id                                        16                       uimsbf                 见注释

Reserved                                          2                         bslbf

Version_number                              5                         uimsbf             见注释

Current_next_indicator                   1                          bslbf                 见注释

Section_number                              8                          uimsbf            见注释

last_section_number                       8                          uimsbf            见注释

transport_stream_id                       16                         uimsbf            见注释

original_nerwork_id                        16                         uimsbf            见注释

segment_last_section_number     8                           uimsbf            见注释

last_table_id                                     8                           uimsbf            见注释

for(i=0;i<N;i++){

    event_id                                        16                         uimsbf           

    start_time                                      40                         bslbf            见注释

    duration                                         24                          bslbf            见注释

    running_status                                3                         uimsbf         见注释

    freed_CA_mode                            1                         bslbf            见注释

    descriptors_loop_length                12                      uimsbf

    for(j=0;j<N;j++){

        descriptor()

    }

}

CRC_32                                                32                  rpchof                  见注释

}

 

 

EIT 表中的Descriptor():

    (1). Component descriptor:

    (2). Content descriptor:

    (3). Data broadcast descriptor:

    (4). Extended event descriptor:

    (5). Linkage descriptor:

    (6). Multilingual component descriptor:

    (7). Parental rating descriptor:

    (8). Short event descriptor:

    (9). Telephone descriptor:

    (10). Time shifted event descriptor:

5PAT(Program Association Table)

    PAT表主要提供Program和PID之间的对应关系。

    PID:0x0000

    table_id: 0x00

 

Syntax (句法结构)         No. of bits(所占位数)   Identifier(识别符)  Note(注释)

program_association_section(){

table_id                                             8                       uimsbf                                                   

Section_syntax_indicator               1                          bslbf                   通常设为“1

"0"                                                      1                        bslbf

Reserved                                          2                        bslbf

Section_length                                12                      uimsbf                 见注释

transport_stream_id                        16                       uimsbf            见注释

Reserved                                          2                         bslbf

Version_number                              5                         uimsbf             见注释

Current_next_indicator                   1                          bslbf                 见注释

Section_number                              8                          uimsbf            见注释

last_section_number                       8                          uimsbf            见注释

for(i=0;i<N;i++){

    program_number                         16                         uimsbf        见注释

    reserved                                         3                          bslbf

    if(program_number == 0){

        network_PID                             13                         uimsbf        见注释

    }

    else{

        program_map_PID                 13                         uimsbf        见注释

    }

}

CRC_32                                          32                  rpchof                  见注释

}

 

 

 

6PMT(Program Map Table)

    PMT表主要提供节目numbers和节目elements之间的映射关系。

    PID:值由编码器选择。

    table_id: 0x02

 

Syntax (句法结构)         No. of bits(所占位数)   Identifier(识别符)  Note(注释)

program_map_section(){

table_id                                             8                       uimsbf                                                   

Section_syntax_indicator               1                          bslbf                   通常设为“1

"0"                                                         1                        bslbf

Reserved                                          2                        bslbf

Section_length                                12                      uimsbf                 见注释

program_number                            16                       uimsbf             

Reserved                                          2                         bslbf

Version_number                              5                         uimsbf             见注释

Current_next_indicator                   1                          bslbf                 见注释

Section_number                              8                          uimsbf            见注释

last_section_number                       8                          uimsbf            见注释

reserved                                            3                          bslbf

PCR_PID                                         13                          uimsbf           见注释

reserved                                            4                          bslbf

program_info_length                      12                        uimsbf            头两位为"00"

for(i=0;i<N;i++){

    descriptor()

}

for(i=0;i<N1;i++){

    stream_type                                 8                           uimsbf        见注释

    reserved                                       3                           bslbf

    elementary_PID                          13                         uimsbf        见注释

    reserved                                       4                           bslbf

    ES_info_length                           12                         uimsbf             头两位为"00"

    for(j=0;j<N2;j++){

        descriptor();

    }

}

CRC_32                                          32                  rpchof                  见注释

}

 

PMT 表中的Descriptor():

    (1). Mosaic descriptor:

    (2). Service move descriptor:

    (3). Stream identifier descriptor:

    (4). Teletext descriptor:

 

 

 

7CAT(Conditional Access Table)

    CAT表主要提供关于Bouquet的信息,Bouquet是一个services的集合。

    PID:0x0001

    table_id: 0x01

 

Syntax (句法结构)         No. of bits(所占位数)   Identifier(识别符)  Note(注释)

conditional_access_section(){

table_id                                             8                       uimsbf                                                   

Section_syntax_indicator               1                          bslbf                   通常设为“1

"0"                                                      1                        bslbf

Reserved                                          2                        bslbf

Section_length                                12                      uimsbf                 见注释

reserved                                           18                       bslbf

Version_number                              5                         uimsbf             见注释

Current_next_indicator                   1                          bslbf                 见注释

Section_number                              8                          uimsbf            见注释

last_section_number                       8                          uimsbf            见注释

for(i=0;i<N;i++){

    descriptor()

}

CRC_32                                          32                  rpchof                  见注释

}

CAT 表中的Descriptor():

    (1). CA identifier descriptor

 

 

8、TDT(Time and Date Tabel)

    NIT表仅提供UTC时间和日期信息。

    PID:0x0014

    table_id:   0x70

   Syntax (句法结构)         No. of bits(所占位数)   Identifier(识别符)  Note(注释)   

time_date_section(){

table_id                                             8                       uimsbf                                                   

Section_syntax_indicator               1                          bslbf             通常设为“1

Reserved_future_use                      1                        bslbf

Reserved                                          2                        bslbf

Section_length                                12                      uimsbf                 见注释

UTC_time                                            40                       bslbf                     见注释

}

 

9TOT(Time Offset Table)

    TOT表提供了UTC时间和日期信息,以及和本地时间的时差.

    PID:0x0014

    table_id: 0x73

 

Syntax (句法结构)         No. of bits(所占位数)   Identifier(识别符)  Note(注释)

time_offset_section(){

table_id                                             8                       uimsbf                                                   

section_syntax_indicator               1                          bslbf         通常设为“1

reserved_future_use                      1                        bslbf

reserved                                          2                        bslbf

section_length                                12                      uimsbf                 见注释

UTC_time                                            40                       bslbf                     见注释

reserved                                          4                         bslbf

descriptors_loop_length                12                  uimsbf               

for(i=0;i<N;i++){

    descriptor()

}

CRC_32                                          32                  rpchof                  见注释

}

 

TOT 表中的Descriptor():

    (1).Local time offset descriptor.

 

 

10RST(Running Status Table)

    RST表允许一个或多个event适时状态准确快速的更新.这对一个过早或过迟开始的event是必要的.

    PID:0x0013

    table_id: 0x71

 

Syntax (句法结构)         No. of bits(所占位数)   Identifier(识别符)  Note(注释)

running_status_section(){

table_id                                             8                       uimsbf                                                   

section_syntax_indicator               1                          bslbf         通常设为“1

reserved_future_use                      1                        bslbf

reserved                                          2                        bslbf

section_length                                12                      uimsbf                 见注释

for(i=0;i<N;i++){

transport_stream_id            16                       uimsbf                    见注释

original_network_id             16                       uimsbf                    见注释

service_id                             16                       uimsbf                    见注释

event_id                                16                       uimsbf                    见注释

reserved_future_use            5                         bslbf

running_status                      3                          uimsbf                  见注释

}

CRC_32                                          32                  rpchof                  见注释

}

 

 

11ST(Stuffing Table)

    ST表是用来使存在于传输系统分界线上的section无效.当sub_table中的其中一个section被写(stuffed)时,则此sub_table中所有的section都要被stuffed.

    PID:may be 0x0010 or 0x0011, 0x0012,0x0013,0x0014

    table_id: 0x72

 

Syntax (句法结构)         No. of bits(所占位数)   Identifier(识别符)  Note(注释)

stuffing_section(){

table_id                                             8                       uimsbf                                                   

section_syntax_indicator               1                          bslbf         通常设为“1

reserved_future_use                      1                        bslbf

reserved                                          2                        bslbf

section_length                                12                      uimsbf                 见注释

for(i=0;i<N;i++){

    data_byte                                     8                         uimsbf                 见注释

}

CRC_32                                          32                  rpchof                  见注释

}

 

12、DIT(Discontinuity Information Table)

    当SI信息不连续时,DIT表被插到过渡的地方.

    PID:0x001E

    table_id: 0x7E

 

Syntax (句法结构)         No. of bits(所占位数)   Identifier(识别符)  Note(注释)

discontinuity_informaiton_section(){

table_id                                             8                       uimsbf                                                   

section_syntax_indicator               1                          bslbf         通常设为“1

reserved_future_use                      1                        bslbf

reserved                                          2                        bslbf

section_length                                12                      uimsbf                 见注释

transition_flag                                      1                     uimsbf                   见注释

reserved_future_use                      7                         bslbf

}

 

13SIT(Selection Information Table)

    SIT表描述了在"partial" TS中的service(s), event(s).

    PID:0x001F

    table_id: 0x7F

 

Syntax (句法结构)         No. of bits(所占位数)   Identifier(识别符)  Note(注释)

selection_infomation_section(){

table_id                                             8                       uimsbf                                                   

section_syntax_indicator               1                          bslbf         通常设为“1

DVB_reserved_future_use             1                           bslbf

ISO_reserved                                   2                           bslbf

section_length                                12                          uimsbf        见注释

DVB_reserved_future_use          16                           uimsbf

ISO_reserved                                 2                            bslbf

version_number                             5                            uimsbf        见注释

current_next_indicator                  1                            bslbf             见注释

section_number                             8                           uimsbf          见注释

last_section_number                     8                           uimsbf         见注释

DVB_reserved_for_future_use   4                           uimsbf

transmission_info_loop_length    12                         bslbf

for(i =0; i<N; i ++) {

   descriptor()                                 14                       uimsbf

}

for(i=0;i<N;i++){

    service_id                                   16                         uimsbf         见注释

    DVB_reserved_future_use       1                           uimsbf

    running_status                             3                          bslbf             见注释

    service_loop_length                  12                         bslbf

    for(j=0;j<N;j++){

        descriptor()

    }

}

CRC_32                                          32                  rpchof                  见注释

}

 

SIT表中的Descriptor():

  

 

 

二、Note(注释).

Network_id:    This is a 16-bit field which serves as a label to identify the delivery system, about which the NIT informs, from any other delivery system.

Section_length :         12位,指出了此Section的长度,头两位为“00”,值不超过1021

Version_number : sub_table的版本号,值为0~~31,当sub_table信息改变时,值加1,若值已为31,则变化后值为0(循环),若curren_next_indicator的值为“1”,version_number指当前sub_table,若curren_next_indicator的值为“0”,version_number指下一个sub_table。

Current_next_indicator:  1位,“1”指sub_table是current, “0”指sub_table是next。

Section_number     8-bits,给出section号,在sub_table中,第一个section其section_number为"0x00",每增加一个section,section_number加一。

last_section_number:     sub_table中最后一个section的section_number。

Bouquet_id:     This is a 16-bit field which serves as a label to identify the bouquet.

transport_stream_id:     16-bits, 给出TS的识别号。

original_network_id:     16-bits,给出originating delivery system中的网络识别号。

service_id:     16-bits用来标识TS中的Service,等同于program_map_section中的program_number.

EIT_schedule_flag:    1-bit,若为“1”,则EIT schedule信息在当前TS中,为“0”,则TS中不存在EIT schedule信息。

EIT_present_following_flag:    1-bit,若为“1”,则EIT_present_following 信息在当前TS中,为“0”,则TS中不存在EIT_present_following信息。

running_status:    3-bits表示service的状态,见下表:

Value                Meaning
   0 undefined
   1 not running
   2 starts in a few seconds(e.g. for video recording)
   3 pausing
   4 running
5 to 7 reserved for future use

free_CA_mode: 1-bit, "0"表示无CA,"1"表示有CA.                                              

segment_last_section_number:    8-bits,其值为本段(segment)中last section的number,若sub_table没有分段(segmented)其值等于last_section_number.

last_table_id:    8-bits,  identifies the last table_id used (see Table 2). If only one table is used this is set to the table_id of this table.

start_time: 40-bits, 提供了event的开始时间in Universal Time, Co-ordinated (UTC) and Modified Julian Date (MJD) (see annex C).前16位coded as 16 bits giving the 16 LSBs of MJD,后24位 coded as 6 digits in 4-bit Binary Coded Decimal (BCD).如果开始时间未定义,则所有位置为"1".   例如93/10/13 12:45:00 表示为 "0xC079124500".

duration:    event的持续时间,用时、分、秒表示。例如:01:45:30 表示为 "0x014530"

program_number:    16-bits,指定了Program_map_PID可用的节目。若其值为0x0000,则接下来的13bitsPID是network_PID,否则为program_map_PID.

network_PID:    13-bits, 指定了包含NIT的TS包的PID,其值由用户定义。   

program_map_PID:    13-bits,指定了TS包的PID,这些TS包包含由program_number指定的program_map_section,其值由用户定义。

PCR_PID:    13-bits, 指定了包含NIT的TS包的PID.

stream_type:    8-bits,指定了节目element的类型。见表格2-36

elementary_PID:    13-bits,指定了包含program element的TS包的PID.

CRC_32:32-bits, 表示CRC的值。

UTC_time:     40-bit, 包含了当前时间和日期(UTC),头16位表示日期(16 LSBs of MJD),后24位表示时间.例如: 93/10/13 12:45:00表示为:"0xC079124500".

event_id:    16-bit 指定的相关event的识别号.

data_byte:     8-bit, 可以是任何值,并且无意义.

transition_flag:      1-bit,表示了在TS中transition的类型."1"表示the transition is due to a change of the originating source. The change of the originating source can be a change of originating transport stream and/or a change of the position in the transport stream (e.g. in case of time-shift).   "0"表示 the transition is due to a change of the selection only, i.e. while staying within the same originating transport stream at the same position.

三、Descriptor(描述符).

 

 

1、Bouquet name descriptor:

    以文本形式提供bouquet的name.

        tag value: 0x47

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

bouquet_name_descriptor(){

descriptor_tag                         8           uimsbf                            

descriptor_length                 8           uimsbf                         

for(i=0;i<N;i++){

    char                                8             uimsbf       

}

}

注释:

descriptor_tag:    8-bits, descriptor识别符。

descriptor_length:    8-bits, 指定了descriptor的长度。

char:    bouquet的name.

 

2、CA identifier descriptor:

     此描述标明了是否有CA系统,以及CA的类型。

    tag_value: 0x53

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

CA_identifier_descriptor(){

descriptor_tag                         8           uimsbf                        

descriptor_length                 8           uimsbf                         

for(i=0;i<N;i++){

    CA_system_id                       16             uimsbf       

}

}

注释:

CA_system_id:    16-bits, CA-system识别号.

 

3、Component descriptor:

    此描述用来识别componet stream的类型,同时可能提供elementary stream的text描述。

    tag_value:    0x50

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)

component_descriptor(){

descriptor_tag                         8           uimsbf             

descriptor_length                 8           uimsbf                         

reserved_future_use             4           bslbf                             

stream_content                     4           uimsbf                         

component_type                   8           uimsbf                         

component_tag                     8           uimsbf                         

ISO_639_language_code  24           bslbf                       

for(i=0;i<N;i++){

    text_char                               8             uimsbf       

}

}

注释:

stream_content:    4-bits,指定了stream的类型。其值见 EN 300 468 V1.3.1(1998-02) 中Table 16.

component_type:   8-bits, 指定了video,audio or EBU-data component的类型,其值见 EN 300 468 V1.3.1(1998-02) 中Table 16.

component_tag:    8-bits, 与stream identifier descriptor中的component_tag 字段的值相同。

ISO_639_language_code:    24-bits, 指定了component和文本描述的语种,3字符。如 法语"fre"表示为"0110 0110 0111 0010 0110 0101"

text_char:    指定了component stream的文本描述。

4、Content descriptor:

    提供event的分类信息。

    tag_value:    0x54.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

content_descriptor(){

descriptor_tag                         8           uimsbf      

descriptor_length                 8           uimsbf                         

for(i=0;i<N;i++){

    content_nibble_level1       4              uimsbf       

    content_nibble_level2      4              uimsbf       

    user_nibble                         4             uimsbf       

    user_nibble                         4             uimsbf       

}

}

注释:

content_nibble_level1:    4-bits表示内容的第一级(大类)。其值见 EN 300 468 V1.3.1(1998-02) 中Table 18.

content_nibble_level1:    4-bits表示内容的第二级(小类)。其值见 EN 300 468 V1.3.1(1998-02) 中Table 18.

user_nibble:    4-bit 由broadcaster定义。

 

5、Counrty availability descriptor:

    此描述在每个service里可能出现两次,“可以”和“不可以”。

    tag_value:    0x49

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)

country_availability_descriptor(){

descriptor_tag                         8           uimsbf                     

descriptor_length                 8           uimsbf   

country_avaliability_flag      1              bslbf

reserved_future_use         7              bslbf                     

for(i=0;i<N;i++){

    country_code               24             uimsbf       

}

}

注释:

country_avaliability_flag:    1-bit, "1"表示intended,"0"表示not intended.

country_code: 24-bit, 表示三字符国家代码,如"GBR"表示为"0100 0111 0100 0010 0101 0010"

6、Data broadcast descriptor:

    用来识别data component的类型,也可能提供elementary stream的text描述。

    tag_value: 0x64

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

data_broadcast_descriptor(){

descriptor_tag                         8           uimsbf         

descriptor_length                 8           uimsbf                         

data_broadcast_id              16            uimsbf

component_tag                    8              uimsbf

selector_length                     8              uimsbf

for(i=0;i<selector_length;i++){

    selector_byte                    8               uimsbf

}

ISO_639_language_code 24             bslbf

text_length                             8              uimsbf

for(i=0;i<text_length;i++){

    text_char                           8             uimsbf       

}

}

注释:

data_broadcast_id:    16-bit,data broadcast识别号.

component_tag:    其值与stream identifier descriptor中的component_tag相同,如果此字段没用,其值为0x00.

selector_byte:    8-bit, 由data_broadcast_id中的data broadcast specification定义。它可能包含识别一个entry-point of the broadcast data所必须的service信息。

text_char:    8-bit, data compomenent的文本描述。

7、Data broadcast id descriptor:

    用来识别data component的类型,也可能提供elementary stream的text描述。

    tag_value: 0x66

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

data_broadcast_id_descriptor(){

descriptor_tag                         8           uimsbf         

descriptor_length                 8           uimsbf                         

data_broadcast_id              16            uimsbf

    }

 

8、Delivery system descriptor:

    分为cable,satellite和terrestrial三种,长度都为13个字节,这使他们之间的转换变的方便.

 

(1). Cable delivery system descriptor: 

    tag_value: 0x44

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

cable_delivery_system_descriptor(){

descriptor_tag                         8           uimsbf         

descriptor_length                 8           uimsbf                         

frequency                                 32           bslbf

reserved_future_use                 12           bslbf

FEC_outer                                4           bslbf

modulation                                8            bslbf

symbol_rate                             28           bslbf

FEC_inner                               4             bslbf

    }

注释:

    frequency:    The frequency is a 32-bit field giving the 4-bit BCD values specifying 8 characters of the frequency value. For the cable_delivery_system_descriptor, the frequency is coded in MHz, where the decimal occurs after the fourth character (e.g. 0312.0000 MHz).

    FEC_outer:    The FEC_outer is a 4-bit field specifying the outer FEC scheme used according to EN 300 468 V1.3.1(1998-02) 中Table 23.

    modulation:    This is an 8-bit field. It specifies the modulation scheme used on a cable delivery system according to EN 300 468 V1.3.1(1998-02) 中Table 24.

    symbol_rate:    The symbol_rate is a 28-bit field giving the 4-bit BCD values specifying 7 characters of the symbol_rate in Msymbol/s where the decimal point occurs after the third character (e.g. 027.4500).

    FEC_iner:    The FEC_inner is a 4-bit field specifying the inner FEC scheme used according to EN 300 468 V1.3.1(1998-02) 中Table 25.

   

(2). Satellite delivery system descriptor: 

    tag_value: 0x43

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

satellite_delivery_system_descriptor(){

descriptor_tag                         8           uimsbf         

descriptor_length                 8           uimsbf                         

frequency                                 32           bslbf

orbital_position                         16          bslbf

west_east_flag                          1           bslbf

polarization                               2          bslbf

modulation                                5            bslbf

symbol_rate                             28           bslbf

FEC_inner                               4             bslbf

    }

注释:

    oribital_positon:    The orbital_position is a 16-bit field giving the 4-bit BCD values specifying 4 characters of the orbital position in degrees where the decimal point occurs after the third character (e.g. 019.2 degrees).

     west_east_flag:     1-bit, "0"表示western positon, "1"表示eastearn position.

   polarization:    2-bit,指定the polarization信号,其值见下表:

Polarization Description
00 linear-horizontal
01 linear-vertical
10 circular-left
11 circular-right

 

   

(3). terrestrial delivery system descriptor: 

    tag_value: 0x5A

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

terrestrial_delivery_system_descriptor(){

descriptor_tag                         8           uimsbf         

descriptor_length                 8           uimsbf                         

centre_frequency                             32           bslbf

bandwidth                                     3              bslbf

reserved_future_use                  5           bslbf

constellation                             2            bslbf

hierarchy_information               3            bslbf

code_rate-HP_stream              3           bslbf

code_rate-LP_stream              3           bslbf

guard_interval                          2          bslbf

transmission_mode                  2          bslbf

other _frequency_flag              1         bslbf

reserved_future_use                32        bslbf

    }

注释:

   centre_frequency: The centre_frequency is a 32-bit uimsbf field giving the binary coded frequency value in multiples of 10 Hz. The coding range is from minimum 10 Hz (0x00000001) up to a maximum of 42949.672950 MHz (0xFFFFFFFF).

    bandwidth:    3-bit,指定了所使用的带宽.见 EN 300 468 V1.3.1(1998-02) 中Table 30.

   constellation: This is a 2-bit field. It specifies the constellation pattern used on a terrestrial delivery system according to EN 300 468 V1.3.1(1998-02) 中Table 31.

   hierarchy_information: The hierarchy_information specifies whether the transmission is hierarchical and, if so, what the a value is. EN 300 468 V1.3.1(1998-02) 中Table 32.

   code_rate: The code_rate is a 3-bit field specifying the inner FEC scheme used according to Table 33. Non-hierarchical channel coding and modulation requires signalling of one code rate. In this case, 3 bits specifying code_rate according to Table 34 are followed by another 3 bits of value 000. Two different code rates may be applied to two different levels of modulation with the aim of achieving hierarchy. Transmission then starts with the code rate for the HP level of the modulation and ends with the one for the LP level. EN 300 468 V1.3.1(1998-02) 中Table 33.

   guard_interval: The guard_interval is a 2-bit field, EN 300 468 V1.3.1(1998-02) 中Table 34.

   transmission_mode: This 2-bit field indicates the number of carriers in an OFDM frame. EN 300 468 V1.3.1(1998-02) 中Table 35.

   other_frequency_flag: This 1-bit flag indicates whether other frequencies are in use. "0": no other frequency in use. "1": one or more other frequencies in use.

9、Extended event descriptor:

    用来提供event的详细的文本描述.

    tag_value: 0x4E

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

extended_event_descriptor(){

descriptor_tag                         8           uimsbf         

descriptor_length                 8           uimsbf    

descriptor_number                      4             uimsbf

last_descriptor_number                4             uimsbf

ISO_639_language_code           24           bslbf  

length_of_items                            8             uimsbf

for(i=0;i<N;i++){

    item_description_length          8               uimsbf

    for(j=0;j<N;j++){

        item_description_char       8                uimsbf

    }

    item_length

    for(j=0;j<N;j++){

        item_char

    }

}    

text_length

for(i-0;i<N;i++){

    text_char

}              

}

注释:

descriptor_number: This 4-bit field gives the number of the descriptor. It is used to associate information which cannot be fitted into a single descriptor. The descriptor_number of the first extended_event_descriptor of an associated set of extended_event_descriptors shall be "0x00". The descriptor_number shall be incremented by 1 with each additional extended_event_descriptor in this section.

last_descriptor_number: This 4-bit field specifies the number of the last extended_event_descriptor (that is, the descriptor with the highest value of descriptor_number) of the associated set of descriptors of which this descriptor is part.

item_description_char: This is an 8-bit field. A string of 'item_description_char' fields specify the item description. Text information is coded using the character sets and methods described in annex A.

item_char: This is an 8-bit field. A string of 'item_char' fields specify the item text. Text information is coded using the character sets and methods described in annex A.

text_char: This is an 8-bit field. A string of 'text_char' fields specify the non itemised extended text. Text information is coded using the character sets and methods described in annex A.

 

10、Frequency list descriptor:

    可能在NIT表中用.

    tag_value: 0x62

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

frequency_list_descriptor(){

descriptor_tag                         8           uimsbf         

descriptor_length                 8           uimsbf    

reserved_future_use                      6           bslbf

coding_type                                  2          bslbf

for(i=0;i<N;i++){

    centre_frequency                    32           uimsbf

}

}

注释:

coding_type:    2-bit "00": 未定义,"01": 卫星传输(satellite), "10"线缆传输(cable), "11"地面传输(terrestrial).

centre_frequency: This is as defined in the delivery_system_descriptor for the delivery system given by the coding_type.

 

11、Linkage descriptor:

The linkage descriptor (see Table 39) identifies a service that can be presented if the consumer requests for additional information related to a specific entity described by the SI system. The location of the linkage descriptor in the syntax indicates the entity for which additional information is available. For example a linkage descriptor located within the NIT shall point to a service providing additional information on the network, a linkage descriptor in the BAT shall provide a link to a service informing about the bouquet, etc.

A CA replacement service can be identified using the linkage descriptor. This service may be selected automatically by the IRD if the CA denies access to the specific entity described by the SI system.

A service replacement service can also be identified using the linkage_descriptor. This replacement service may be selected automatically by the IRD when the running status of the current service is set to not_running.

tag_value:    0x4A   

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

linkage_descriptor(){

descriptor_tag                         8           uimsbf         

descriptor_length                 8           uimsbf    

transport_stream_id                     16           uimsbf

original_network_id                     16           uimsbf

service_id                                   16            uimsbf

linkage_type                               8              uimsbf

for(i=0;i<N;i++){

    private_data_byte                   8              bslbf

}

}

注释:

service_id: This is a 16-bit field which uniquely identifies an information service within a Transport Stream. The service_id is the same as the program_number in the corresponding program_map_section. If the linkage_type field has the value 0x04, then the service_id field is not relevant, and shall be set to 0x0000.

linkage_type: This is an 8-bit field specifying the type of linkage e.g. to information (see EN 300 468 V1.3.1(1998-02) 中Table 40).

private_data_byte: This is an 8-bit field, the value of which is privately defined.

12、Local time offset descriptor:

The local time offset descriptor (see ) may be used in the Time Offset Table to describe country specific dynamic changes of the local time offset relative to UTC.

tag_value:    0x58.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

local_time_offset_descriptor(){

descriptor_tag                         8           uimsbf         

descriptor_length                 8           uimsbf    

for(i=0;i<N;i++){

    coutry_code                           24             bslbf

    country_region_id                    6             bslbf

    reserved                                  1             bslbf

    local_time_offset_polarity       1             bslbf

    local_time_offset                    16            bslbf

    time_of_change                      40            bslbf

    next_time_offset                     16            bslbf

}

}

注释:

country_region_id: This 6-bit field identifies a zone in the country which is indicated by country_code. This is set to "000000" when there are no different local time zones in the country.see EN 300 468 V1.3.1(1998-02) 中Table 42.

local_time_offset_polarity:  1-bit,  "0",local time ifs advanced to UTC, "1",local time is behind UTC.

local_time_offset: This 16-bit field contains the current offset time from UTC in the range between -12hours and +12hours at the area which is indicated by the combination of country_code and country_region_id in advance. These 16-bits are coded as 4-digits in 4-bit BCD in the order hour tens, hour, minute tens, and minutes.

time_of_change: This is a 40-bit field which specifies the date and time in MJD and UTC (see Annex C), when the time change takes place. This 40-bit field is coded as 16 bits giving the 16 LSBs of MJD followed by 24 bits coded as 6 digits in the 4-bit BCD.

next_time_offset: This 16-bit field contains the next offset time after the change from UTC in the range between -12hours and +12hours at the area which is indicated by the combination of country_code and country_region_id in advance. These 16-bits are coded as 4-digits in 4-bit BCD in the order hour tens, hour, minute tens and minutes.

 

13、Mosaic descriptor:

A mosaic component is a collection of different video images to form a coded video component. The information is organized so that each specific information when displayed appears on a small area of a screen.

The mosaic descriptor gives a partitioning of a digital video component into elementary cells, the allocation of elementary cells to logical cells, and gives a link between the content of the logical cell and the corresponding information (e.g. bouquet, service, event etc.);

tag_value:    0x51.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

mosaic_descriptor(){

descriptor_tag                                 8                      uimsbf

descriptor_length                                  8                      uimsbf

mosaic_entry_point                              1                      bslbf

number_of_horizontal_elementary_cells        3              uimsbf

reserved_future_use                             1                      bslbf

number_of_vertical_elementary_cells            3              uimsbf

for (i=0;i<N; i++) {

    logical_cell_id                                 6                      uimsbf

    Reserved_future_use                       7                      bslbf

    logical_cell_presentation_info          3                      uimsbf

    Elementary_cell_field_length           8                      uimsbf

   for (i=0;I<elementary_cell_field_length;i++) {

Reserved_future_use       2                      bslbf

Elementary_cell_id           6                      uimsbf

    }  

    cell_linkage_info                           8                      uimsbf

    If (cell_linkage_info ==0x01){

Bouquet_id                           16                     uimsbf

    }

    If (cell_linkage_info ==0x02){

Original_network_id               16                    uimsbf

Transport_stream_id              16                    uimsbf

Service_id                             16                    uimsbf

    }

    If (cell_linkage_info ==0x03){

Original_network_id              16                      uimsbf

Transport_stream_id             16                      uimsbf

Service_id                            16                      uimsbf

    }

    If (cell_linkage_info ==0x04){

Original_network_id               16                      uimsbf

Transport_stream_id              16                      uimsbf

Service_id                             16                      uimsbf

Event_id                                16                      uimsbf

    }

}

}

注释:

mosaic_entry_point: This is a 1-bit field which when set to a value of "1" indicates that the mosaic is the highest mosaic in a hierarchy. A complete mosaic system could be organized in a tree structure, the flag being set to identify the entry point in the tree.

number_of_horizontal_elementary_cells: 3-bit indicates the number of cells of horizontal screen display."0x00":1 cell, "0x01": 2 cells,"0x02": 3 cells..."0x07": 8 cells.

 

logical_cell_id: This 6-bit field is coded in binary form.

Different adjacent (see Figure 3) elementary cells may be grouped together to form a logical cell. A logical_cell_number is associated to such a group of adjacent elementary_cell_ids. The total number of logical cells shall not exceed the number of elementary cells (maximum = 64). Each elementary cell shall be allocated to one logical cell. More than one elementary cell may belong to one logical cell.

A B C
D E F
G H I

Cells B, D, H, F are adjacent to cell E; C is not adjacent to A or D; D is not adjacent to H.

Figure 3: Adjacent cells

logical_cell_presentation_info: This 3-bit field identifies the type of presentation for a logical cell. The logical_cell_presentation information allows an identification of presentation styles, which are defined in  EN 300 468 V1.3.1(1998-02) 中Table 46.

elementary_cell_field_length: The elementary_cell_field_length is an 8-bit field specifying the number of bytes following this field up to and including the last elementary_cell_id in this logical_cell_id loop.

elementary_cell_id:    This 6-bit field indicates in binary form the number of the cell. The value of this field is in the range 0 to N.

cell_linkage_info:    This 8-bit field identifies the type of information carried in a logical cell, see EN 300 468 V1.3.1(1998-02) 中Table 47 .

bouquet_id: This is a 16-bit field which serves as a label to identify the bouquet described by the cell.

original_network_id:    This 16-bit field is a label (see subclause 5.2) which in conjunction with the following fields uniquely identifies a service, event or mosaic.

transport_stream_id:    This is a 16-bit field which serves as a label identifying the transport stream which contains the service, event or mosaic described by the cell.

sevice_id:    This is a 16-bit field which identifies a service within a transport stream. The service_id is the same as the program_number in the corresponding program_map_section.

event_id:    This is a 16-bit field containing the identification number of the described event.

14、Multilingual bouquet name descriptor:

此描述用一种或多种语言以文本形式提供了bouquet的名字.

tag_value:    0x5C.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

multilingual_bouquet_name_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

for(i=0;i<N;i++){

ISO_639_language_code  24                 bslbf

Bouquet_name_length     8                   uimsbf

for(j=0;j<N;j++){

    char                           8                    uimsbf

}

}

}

 

15、Multilingual component descriptor:

用一种或多种语言提供了component的text描述.component由component tag value确定.

tag_value:    0x5E.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

multilingual_component_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

component_tag                     8                       uinsbf

for(i=0;i<N;i++){

ISO_639_language_code  24                 bslbf

text_description_length     8                   uimsbf

for(j=0;j<N;j++){

    text_char                           8                    uimsbf

}

}

}

 

16、Multilingual network name descriptor:

The multilingual network name descriptor (see Table 50) provides the network name in text form in one or more languages.

tag_value:    0x5B.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

multilingual_network_name_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

for(i=0;i<N;i++){

ISO_639_language_code  24                 bslbf

network_name_length     8                   uimsbf

for(j=0;j<N;j++){

    char                           8                    uimsbf

}

}

}

 

17、Multilingual serivce name descriptor:

The multilingual service name descriptor (see Table 51) provides the names of the service provider and service in text form in one or more languages.

tag_value:    0x5D.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

multilingual_service_name_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

for(i=0;i<N;i++){

ISO_639_language_code  24                 bslbf

service_provider_name_length     8                   uimsbf

for(j=0;j<N;j++){

    char                           8                    uimsbf

}

service_name_length     8                   uimsbf

for(j=0;j<N;j++){

    char                           8                    uimsbf

}

}

}

 

18、Near Video On Demand(NVOD) reference descriptor:

tag_value:    0x4B.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

multilingual_network_name_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

for(i=0;i<N;i++){

transport_stream_id   16                 uimsbf

original_network_id     16                  uimsbf

service_id                   16                 uimsbf

}

}

 

19、Network name descriptor:

The network name descriptor provides the network name in text form.

tag_value:    0x40.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

network_name_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

for(i=0;i<N;i++){

char                          8                    uimsbf

}

}

注释:

char: This is an 8-bit field. A string of char fields specify the name of the delivery system about which the NIT informs. Text information is coded using the character sets and methods described in annex A.

20、Parental rating descriptor:

This descriptor  gives a rating based on age and allows for extensions based on other rating criteria.

tag_value:    0x55.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

parental_rating_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

for(i=0;i<N;i++){

    country_code                   24                      bslbf

    rating                               8                       uimsbf

}

}

注释:

rating: This 8-bit field is coded according to Table 55, giving the recommended minimum age in years of the end user.

Table 55: Parental rating descriptor, rating

Rating Description
0x00 undefined
0x01 to 0x0F minimum age = rating + 3 years
0x10 to 0xFF defined by the broadcaster

EXAMPLE: 0x04 implies that end users should be at least 7 years old.

21、Partial Transport Stream(TS) descriptor:

See EN 300 468 V1.3.1(1998-02) sub-clause 7.2.1

22、Private date specifier descriptor:

This descriptor is used to identify the specifier of any private descriptors or private fields within descriptors.

tag_value:    0x5F.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

private_date_specifier_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

private_data_specifier            32                      uimsbf

}

注释:

private_data_specifier: The assignment of values for this field is given in ETR 162 [6].

 

23、Short smoothing buffer descriptor:

tag_value:    0x61.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

short_smoothing_buffer_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

sb_size                                2                        uimsbf

sb_leak_rate                        6                         uimsbf

for(i=0;i<N;i++){

DVB_reserved           8                        bslbf

}

}

注释:

sb_size: This 2-bit field indicates the size of the smoothing buffer, "1": buffer size is 1536 bytes, "0","2","3": DVB_reserved.

sb_leak_rate: This 6-bit field indicates the value of the leak rate from the buffer, and is coded according to  EN 300 468 V1.3.1(1998-02) 中Table 59.

 

24、Service descriptor:

The service descriptor provides the names of the service provider and the service in text form together with the service_type.

tag_value:    0x48.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

service_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

service_type                          8                      uimsbf

service_provider_name_length  8                    uimsbf

for (i=0;i<N;i++){

    Char                                 8                      uimsbf

}

service_name_length            8                      uimsbf

for (i=0;i<N;i++){

    Char                                8                      uimsbf

}

}

注释:

service_type: 8-bit,指定了service的类型.EN 300 468 V1.3.1(1998-02) 中Table 61.

char: This is an 8-bit field. A string of char fields specify the name of the service provider or service. Text information is coded using the character sets and methods described in annex A.

 

25、Service list descriptor:

The service list descriptor  provides a means of listing the services by service_id and service type.

tag_value:    0x41.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

service_list_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

for(i=0;i<N;i++){

service_id                  16                      uimsbf

service_type               8                       uimsbf

}

}

注释:

service_id: This is a 16-bit field which uniquely identifies a service within a Transport Stream. The service_id is the same as the program_number in the corresponding program_map_section, except that in the case of service_type = 0x04 (NVOD reference service) the service_id does not have a corresponding program_number.

 

26、Service move descriptor:

If it is required to move a service from one Transport Stream to another, a mechanism is provided which enables an IRD to track the service between Transport Streams by means of a service_move_descriptor.

tag_value:    0x60.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

service_move_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

new_original_network_id       16                      uimsbf

new_transport_stream_id      16                      uimsbf

new_service_id                      16                      uimsbf

}

注释:

new_original_network_id: This field contains the original_network_id of the Transport Stream in which the service is found after the move.

new_transport_stream_id: This field contains the transport_stream_id of the Transport Stream in which the service is found after the move.

new_service_id: This field contains the service_id of the service after the move. If the service remains within the same original network, then the new_service_id is the same as the previous service_id.

27、Short event descriptor:

The short event descriptor provides the name of the event and a short description of the event in text form.

tag_value:    0x4D.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

short_event_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

ISO_639_language_code      24                      bslbf

event_name_length               8                       uimsbf

for (i=0;i<event_name_length;i++){

    event_name_char             8                       uimsbf

}

text_length                          8                       uimsbf

for (i=0;i<text_length;i++){

    text_char                        8                       uimsbf

}

}

注释:

event_name_char: This is an 8-bit field. A string of 'char' fields specifies the event name. Text information is coded using the character sets and methods described in annex A.

text_char: This is an 8-bit field. A string of 'char' fields specify the text description for the event. Text information is coded using the character sets and methods described in annex A.

 

28、Stream identifier descriptor:

The stream identifier descriptor  may be used in the PSI PMT to label component streams of a service so that they can be differentiated, e.g. by text descriptions given in component descriptors in the EIT if present. The stream identifier descriptor shall be located following the relevant ES_info_length field.

tag_value:    0x52.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

stream_identifier_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

component_tag                     8                       uimsbf

}

注释:

component_tag: This 8-bit field identifies the component stream for associating it with a description given in a component descriptor. Within a program map section each stream identifier descriptor shall have a different value for this field.

 

29、Stuffing descriptor:

The stuffing descriptor provides a means of invalidating previously coded descriptors or inserting dummy descriptors for table stuffing.

tag_value:    0x42.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

stuffing_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

for(i=0;i<N;i++){

stuffing_byte                8                       bslbf

}

}

注释:

stuffing_byte: This is an 8-bit field. Each occurrence of the field may be set to any value. The IRDs may discard the stuffing bytes.

 

30、Subtitling descriptor:

In the ISO/IEC 13818-1 [1] Program Map Table (PMT) the value of stream_type for any PID carrying DVB subtitle shall be '0x06' (this indicates a PES carrying private data).

tag_value:    0x59.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

subtitling_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

for(i=0;i<N;i++){

    ISO_639_language_code  24                      bslbf

    subtitling_type                  8                        bslbf

    composition_page_id       16                       bslbf    

    ancillary_page_id              16                      bslbf

}

}

注释:

subtitling_type: This 8 bit field provides information on the content of the subtitle and the intended display. The coding of this field shall use the codes defined for component_type when stream_content is 0x03 in Table 16 stream_content and component_type.

composition_page_id: This 16-bit field identifies the composition page. DVB_subtitling_segments signalling this page_id shall be decoded if the previous data in the subtitling descriptor matches the user's selection criteria..    NOTE 1: The composition_page_id is signalled in at least the DVB_subtitling_segments that define the data structure of the subtitle screen; the page_composition_segment and region _composition_segments. It may additionally be signalled in segments containing data on which the compositiondepends.

ancillary_page_id: This identifies the (optional) ancillary page. DVB_subtitling_segments signalling this page_id shall also be decoded if the previous data in the subtitling descriptor matches the user's selection criteria. The values in theancillary_page_id and the composition_page_id fields shall be the same if no ancillary page is provided.     NOTE 2: The ancillary_page_id is never signalled in a composition segment. It may be signalled in CLUT definition segments, object segments and any other type of segment.     NOTE 3: (Terminology): A segment that signals a particular page number in its page_id field is said to be "in" that page. The page is said to "contain" that segment.

 

31、Telephone descriptor:

The telephone descriptor may be used to indicate a telephone number. which may be used in conjunction with a modem (PSTN or cable) to exploit narrowband interactive channels. Further information is given in Implementation Guidelines for the use of Telecommunications Interfaces in Digital Video Broadcasting Systems (see bibliography).

tag_value:    0x57.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

telephone_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

reserved_future_use              2                         bslbf

foreign_availability                 1                         bslbf

connection_type                   5                        uimsbf

reserved_future_use              1                          bslbf

country_prefix_length           2                        uimsbf

international_area_code_length  3                  uimsbf

operator_code_length           2                      uimsbf

reserved_future_use              1                      bslbf

national_area_code_length   3                      uimsbf

core_number_length            4                      uimsbf

for (i=0;i<N;i++){

    country_prefix_char          8                      uimsbf

}

for (i=0;i<N;i++){

    international_area_code_char     8           uimsbf

}

for (i=0;i<N;i++){

    operator_code_char           8                      uimsbf

}

for (i=0;i<N;i++){

    national_area_code_char   8                      uimsbf

}

for (i=0;i<N;i++){

core_number_char                 8                      uimsbf

}

}

注释:

foreign_availability: This is a 1-bit flag. When set to "1" it indicates that the number described can be called from outside of the country specified by the country_prefix. When set to "0" it indicates that the number can only be called from inside the country specified by the country_prefix.

connection_type: This is a 5-bit field which indicates connection types. One example of the use of the connection type is to inform the IRD that when, if an interaction is initiated, if the connection is not made within 1 minute, then the connection attempt should be aborted.

country_prefix_length: This 2-bit field specifies the number of 8-bit alphanumeric characters in the country prefix.

international_area_code_length: This 3-bit field specifies the number of 8-bit alphanumeric characters in the international area code.

operator_code_length: This 2-bit field specifies the number of 8-bit alphanumeric characters in the operator code.

national_area_code_length: This 3-bit field specifies the number of 8-bit alphanumeric characters in the national area code.

core_number_length: This 4-bit field specifies the number of 8-bit alphanumeric characters in the core number.

country_prefix_char: This 8-bit field which shall be coded in accordance with ISO 8859-1 [5] gives one alphanumeric character of the country prefix.

international_area_code_char: This 8-bit field which shall be coded in accordance with ISO 8859-1 [5] gives one alphanumeric character of the international area code.

operator_code_char: This 8-bit field which shall be coded in accordance with ISO 8859-1 [5] gives one alphanumeric character of the operator code.

national_area_code_char: This 8-bit field which shall be coded in accordance with ISO 8859-1 [5] gives one alphanumeric character of the national area code.

core_number_char: This 8-bit field which shall be coded in accordance with ISO 8859-1 [5] gives one alphanumeric character of the core number.

32、Teletext descriptor:

The teletext descriptor  shall be used in the PSI PMT to identify streams which carry EBU teletext data. The descriptor is to be located in a program map section following the relevant ES_info_length field.

tag_value:    0x56.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

teletext_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

for(i=0;i<N;i++){

    ISO_639_language_code   24                    bslbf

    teletext_type                    5                       uimsbf

    teletext_magazine_number          3             uimsbf

    teletext_page_number       8                      uimsbf

}

}

注释:

teletext_type: This 5-bit field indicates the type of teletext page indicated. This shall be coded according to  EN 300 468 V1.3.1(1998-02) 中Table 70.

teletext_magazine_number: This is a 3-bit field which identifies the magazine number as defined in EBU SPB 492 [4].

teletext_page_number: This is an 8-bit field giving two 4-bit hex digits identifying the page number as defined in EBU SPB 492 [4].

 

33、Time shifted event descriptor:

The time shifted event descriptor  is used in place of the short_event_descriptor to indicate an event which is a time shifted copy of another event.

tag_value:    0x4F.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

time_shifted_event_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

reference_service_id              16                      uimsbf

reference_event_id                16                      uimsbf

}

注释:

reference_service_id: This 16-bit field identifies the reference service of a NVOD collection of services. The reference service can always be found in this Transport Stream. The service_id here does not have a corresponding program_number in the program_map_section.

reference_event_id: This 16-bit field identifies the reference event of which the event described by this descriptor is a time shifted-copy.

 

34、Time shifted service descriptor:

This descriptor is used in place of the service descriptor to indicate services which are time shifted copies of other services.

tag_value:    0x4C.

Syntax (句法结构)    No. of bits(所占位数) Identifier(识别符)  

network_name_descriptor(){

descriptor_tag                       8                       uimsbf

descriptor_length                   8                       uimsbf

reference_service_id              16                     uimsbf

}

注释:

reference_service_id: This 16-bit field identifies the reference service of a NVOD collection of services. The reference service can always be found in this Transport Stream. The service_id here does not have a corresponding program_number in the program_map_section.

 

四、表格

Table 2-36 -- Stream type assignments

Value

Description

0x00

ITU-T | ISO/IEC Reserved

0x01

ISO/IEC 11172 Video

0x02

ITU-T Rec. H.262 | ISO/IEC 13818-2 Video or ISO/IEC 11172-2 constrained parameter video stream

0x03

ISO/IEC 11172 Audio

0x04

ISO/IEC 13818-3 Audio

0x05

ITU-T Rec. H.222.0 | ISO/IEC 13818-1 private_sections

0x06

ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data

0x07

ISO/IEC 13522 MHEG

0x08

ITU-T Rec. H.222.0 | ISO/IEC 13818-1 Annex A DSM CC

0x09

ITU-T Rec. H.222.1

0x0A

ISO/IEC 13818-6 type A

0x0B

ISO/IEC 13818-6 type B

0x0C

ISO/IEC 13818-6 type C

0x0D

ISO/IEC 13818-6 type D

0x0E

ISO/IEC 13818-1 auxiliary

0x0F-0x7F

ITU-T Rec. H.222.0 | ISO/IEC 13818-1 Reserved

0x80-0xFF

User Private