Professional Documents
Culture Documents
Using and Defining TR 101 290 Profiles
Using and Defining TR 101 290 Profiles
FEATURES APPLICATIONS
• XML-based definition of TR 101 290 Pro- • Verifying TR 101 290 compliancy
files
• Fully customisable TR 101 290 rules
RELEVANT PRODUCTS
Type Description
DTC-320 StreamXpert MPEG-2 Transport-Stream Analyser Software
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 1 of 18 14 July 2005
TR 101 290 Profiles
Table of Contents
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 2 of 18 14 July 2005
TR 101 290 Profiles
1. Introduction 1.4. Document Overview
This first chapter provides a quick introduction
1.1. Purpose of this Document to this document. The remaining chapters pro-
vide a detailed description of the XML profile
This document defines and explains the struc- files. Chapter 2 starts with a short introduction
ture of the TR 101 290 Profiles XML files. to TR 101 290. Chapter 3 describes the file
The StreamXpert (=DTC-320) software uses TR locations. Chapter 4 provides a description of
101 290 profiles internally to validate if the the TR 101 290 profile file’s XML structure.
received Transport-Stream complies too the TR Chapter 5 defines all the custom XML types
101 290 requirements defined by the profile. used in the XML file.
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 3 of 18 14 July 2005
TR 101 290 Profiles
2. TR 101 290
This section provides a short introduction about
TR 110 290.
The ETSI TR 101 290 document describes a
number of common recommendations and
measurement techniques for MPEG-2 systems.
The goal of is to standardise the way transport-
stream parameters are measured and to allow
different measurement results, from different
measurement equipment, to be compared with
each other.
For verifying the syntax and information consis-
tency of MPEG-2 Transport-Stream the TR 101
290 document describes a set of
rules/recommendations, called indicators, for
which a transport-stream should tested.
These indicators are divided in three Priority
levels:
- Priority Level 1: specifies the minimum set of
indicators a Transport-stream should com-
ply too to be able to decode. Failing to
comply with one of these indicators means
the transport-stream cannot be decoded.
- Priority Level 2: specifies a set of indicators
that highly recommended for smooth de-
coding of the transport-steam contents. Fail-
ing to comply with one of these indicators
will very likely influence the decodability.
- Priority Level 3: specifies a set of indicators
that have no influence on the decodability.
The indicators at this priority level are in-
tended to ensure the availability re-
quired/recommended (P)SI information.
For a detailed description of all the indicators
per priority level please refer to the ETSI TR
101 290 document.
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 4 of 18 14 July 2005
TR 101 290 Profiles
3. Location of Profile Files
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 5 of 18 14 July 2005
TR 101 290 Profiles
4. XML Structure Priority2
This section describes the XML structure of a TR The Priority2 element defines the TR 101
101 290 Profile file. 290 priority 2 level indicators/rules. See
§4.2.2 for a detailed description.
The top-level element of each profile file is
Tr101290Config element. The syntax of this
element is defined entirely by the Priority3
Tr101290Config.xsd schema. The Priority3 element defines the TR 101
290 priority 3 level indicators/rules. See
§4.2.3 for a detailed description.
Tr10290Config
This is the root element for a profile XML
file. It contains one or more Profile child GlobalLogSettings
elements. The Profile elements contain the The GlobalLogSettings element defines
actual definition of a TR 101 290 indica- the global settings for the log TR 101 290
tors/rules. file. See §4.3 for a detailed description.
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 6 of 18 14 July 2005
TR 101 290 Profiles
§5.1) and inherits all attributes and child
StreamTypeTimeOut
elements from this type.
This element can be used to specify a time-
out for the PID_error indicator on the ba-
PAT_error_2 sis of a PIDs stream_type.
Type: TSectionIndicator
stream_type
This element controls the PAT_error_2
Type: nonNegativeInteger, Use: required
indicator. It is a type definition of the
Specifies the steam_type for which the time-
TSectionIndicator type (see §5.3) and inher-
out is specified.
its all its attributes and child elements from
this type. time_out_ms
Type: nonNegativeInteger, Use: required
Specifies the time-out value (in ms) for a
Continuity_count_error
specific stream_type.
Type: TBaseIndicator
This element controls the
If a referenced PID, with the specified
Continuity_count_error indicator. It
stream_type, is not encountered within the
is a type definition of the TBaseIndicator
time specified here a PID_error violation
type (see §5.1) and inherits all attributes will be reported.
and child elements from this type.
4.2.2. Priority2
PMT_error_2
Type: TSectionIndicator Priority2
This element controls the PMT_error_2 Type: TBasePriority
indicator. It is a type definition of the The Priority2 element defines the TR 101
TSectionIndicator type (see §5.3) and inher- 290 priority level 2 indicators/rules. It is de-
its all its attributes and child elements from rived from the TBasePriority (see §5.1) type.
this type. It inherits all attributes from this type and
extends the type by adding the following se-
quence of optional child elements:
PID_error
Transport_error, CRC_error,
Type: TBaseIndicator
PCR_repetition_error,
This element controls the PID_error indi-
PCR_discontinuity_indicator_error,
cator. It is a type definition of the
PCR_accuracy_error, PTS_error and
TBaseIndicator type (see §5.1) and inherits
CAT_error.
all attributes and child elements from this
type. Next to the inherited attributes and
child elements it extends the TBaseIndicator Transport_error
type with optional list of Type: TBaseIndicator
StreamTypeTimeOut child element and This element controls the
the time_out_ms attribute. Transport_error indicator. It is a type
definition of the TBaseIndicator type (see
time_out_ms
Type: nonNegativeInteger, Use: optional §5.1) and inherits all attributes and child
Specifies the default time-out value (in ms) elements from this type.
for all stream_types not specified in the list
of StreamTypeTimeOut elements. CRC_error
Type: TBaseIndicator
If a referenced PID is not encountered within This element controls the CRC_error indi-
the time specified here a PID_error viola- cator. It is a type definition of the
tion will be reported. TBaseIndicator type (see §5.1) and inherits
all attributes and child elements from this
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 7 of 18 14 July 2005
TR 101 290 Profiles
type. It further extends the TBaseIndicator max_difference_ms
type by adding an optional list of Type: nonNegativeInteger, Use: optional
SectionIdentifier child elements. Specifies the maximum allowed difference
between two consecutive PCR values, on the
same PID, in ms.
SectionIdentifier
Type: TSectionIdentifier
If the differnce between two PCR values ex-
This element identifies a section/section
ceeds the value specified here a
range for which the CRC should be
PCR_discontinuity_indicator_erro
checked.
r violation will be reported.
The SectionIdentifier is a type definition
of the TSectionIdentifier type. Refer to PCR_accuracy_error
§5.5.2 for a detailed description of the Type: TBaseIndicator
TSectionIdentifier type. This element controls the
PCR_accuracy_error indicator. It is a
NOTE: the SectionNum and type definition of the TBaseIndicator type
SectionNumRange child elements are ig- (see §5.1) and inherits all attributes and
nored. child elements from this type. It extends the
type adding following attribute:
PCR_repetition_error max_error_ns.
Type: TBaseIndicator max_error_ns
This element controls the Type: nonNegativeInteger, Use: optional
PCR_repetition_error indicator. It is a Specifies the maximum allowed PCR accu-
type definition of the TBaseIndicator type racy error in ns.
(see §5.1) and inherits all attributes and
child elements from this type. It extends the If the PCR accuracy exceeds the value speci-
type adding following attribute: fied here a PCR_accuracy_error viola-
max_interval_ms. tion will be reported.
max_interval_ms
Type: nonNegativeInteger, Use: optional PTS_error
Specifies the maximum allowed interval be- Type: TBaseIndicator
tween two consecutive PCRs, on the same This element controls the PTS_error indi-
PID, in ms. cator. It is a type definition of the
TBaseIndicator type (see §5.1) and inherits
If the interval between two PCRs exceeds the all attributes and child elements from this
period specified here a type. It extends the type adding following at-
PCR_repetion_error violation will be tribute: max_interval_ms.
reported.
max_interval_ms
Type: nonNegativeInteger, Use: optional
PCR_discontinuity_indicator_error Specifies the maximum allowed interval be-
Type: TBaseIndicator tween two consecutive PTSs, on the same
This element controls the PID, in ms.
PCR_discontinuity_indicator_erro
r indicator. It is a type definition of the If the interval between two PTSs exceeds the
TBaseIndicator type (see §5.1) and inherits period specified here a PTS_error viola-
all attributes and child elements from this tion will be reported.
type. It extends the type adding following at-
tribute: max_difference_ms.
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 8 of 18 14 July 2005
TR 101 290 Profiles
(see §5.3) and inherits all its attributes and
CAT_error
child elements from this type.
Type: TSectionIndicator
This element controls the CAT_error indi-
cator. It is a type definition of the Buffer_error
TSectionIndicator type (see §5.3) and inher- Type: TBaseIndicator
its all its attributes and child elements from This element controls the Buffer_error
this type. indicator. It is a type definition of the
TBaseIndicator type (see §5.1) and inherits
4.2.3. Priority3 all attributes and child elements from this
type.
Priority3
Type: TBasePriority
The Priority3 element defines the 101 290 Unreferenced_PID
priority level 3 indicators/rules. It is derived Type: TBaseIndicator
from the TBasePriority (see §5.1) type. It in- This element controls the
herits all attributes from this type and ex- Unreferenced_PID indicator. It is a type
tends the type by adding the following se- definition of the TBaseIndicator type (see
quence of optional child elements: §5.1) and inherits all attributes and child
NIT_actual_error, NIT_other_error, elements from this type. It extends this type
SI_repetition_error, Buffer_error, by adding the time_out_ms attribute and an
Unreferenced_PID, SDT_actual_error, optional list of ExcludedPid and/or
SDT_other_error, EIT_actual_error, ExcludedPidRange child elements.
EIT_other_error, EIT_PF_error,
RST_error, TDT_error, time_out_ms
Empty_buffer_error and Type: nonNegativeInteger, Use: optional
Data_delay_error. This attribute defines the time-out (in ms)
period for an unreferenced PID.
SI_repetition_error ExcludedPidRange
Type: TTableIndicator Type: TRangeSelection
This element controls the This element defines a range of PIDs which
SI_repetition_error indicator. It is a should be excluded from the time-out
type definition of the TTableIndicator type
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 9 of 18 14 July 2005
TR 101 290 Profiles
check. This element is type definition of the TSectionIndicator type (see §5.3) and inher-
TRangeSelection type (see §5.5.6). its all its attributes and child elements from
this type.
SDT_actual_error
Type: TSectionIndicator TDT_error
This element controls the Type: TSectionIndicator
SDT_actual_error indicator. It is a type This element controls the TDT_error indi-
definition of the TSectionIndicator type (see cator. It is a type definition of the
§5.3) and inherits all its attributes and child TSectionIndicator type (see §5.3) and inher-
elements from this type. its all its attributes and child elements from
this type.
SDT_other_error
Type: TSectionIndicator Empty_buffer_error
This element controls the Type: TBaseIndicator
SDT_other_error indicator. It is a type This element controls the
definition of the TSectionIndicator type (see Empty_buffer_error indicator. It is a
§5.3) and inherits all its attributes and child type definition of the TBaseIndicator type
elements from this type. (see §5.1) and inherits all attributes and
child elements from this type.
EIT_actual_error
Type: TSectionIndicator Data_delay_error
This element controls the Type: TBaseIndicator
EIT_actual_error indicator. It is a type This element controls the
definition of the TSectionIndicator type (see Data_delay_error indicator. It is a type
§5.3) and inherits all its attributes and child definition of the TBaseIndicator type (see
elements from this type. §5.1) and inherits all attributes and child
elements from this type.
EIT_other_error
Type: TSectionIndicator 4.3. Global Log Settings
This element controls the
EIT_other_error indicator. It is a type
GlobalLogSettings
definition of the TSectionIndicator type (see
This element defines the global log file set-
§5.3) and inherits all its attributes and child tings. Using this element one can configure
elements from this type. the number of log files, maximum log file
size and the log duration per file settings.
EIT_PF_error only_log_time_and_indicator
Type: TBaseIndicator Type: boolean, Use: optional
This element controls the EIT_PF_error By setting this attribute to ‘true’ one indi-
indicator. It is a type definition of the cates that the log file should only contain
TBaseIndicator type (see §5.1) and inherits the time/date and indicator that was vio-
all attributes and child elements from this lated. Setting this attribute to ‘false’ indi-
type. cates that the time/date, violated indicator
and an error message should be logged.
RST_error
Type: TSectionIndicator NOTE: if this attribute is set to ‘true’ it can
This element controls the RST_error indi- be overruled by the
cator. It is a type definition of the only_log_time_and_indicator attribute of
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 10 of 18 14 July 2005
TR 101 290 Profiles
each indicators LogSettings child element a new file and will continue logging until the
(see §5.2 and §5.5.1). maximum file size is reached.
max_file_size_MB
NOTE: the StreamXpert automatically
Type: nonNegativeInteger, Use: optional,
names the files it maintains. The log file
Valid Values: 1-1024
name has the following format: pre-
Specified the maximum allowed size (in MB)
fix_date_#. The prefix is user defined. The
for a log file. If the maximum size is
date is the current date with the following
reached, logging to the file will be sus-
format YYYY_MM_DD (e.g. 2005_07_05).
pended (i.e. no log entries will be added to
The # is the file number for the day. An ex-
the file).
ample file name is:
Tr101290Log_2005_07_05_2.txt.
NOTE: if multiple log files are used, logging
will resume as soon as the log file is override_behavior
switched (as defined by the Type: tOverrideBehavior, Use: optional
switch_file_every_X_hours attribute). This attribute controls the behavior when
overriding the global log settings indicator
max_num_files
(i.e. when deriving a profile from another
Type: nonNegativeInteger, Use: optional,
profile).
Valid Values: 1-16
Specifies the maximum number of log files
Setting this attribute to extend_existing indi-
a maintained by the StreamXpert (see
cates that only attributes mentioned in the
switch_file_every_X_hours attribute).
XML description for the global log settings
switch_file_every_X_hours will be replaced, all unmentioned attributes
Type: nonNegativeInteger, Use: optional, will retain their original values (i.e. the value
Valid Values: 0, 1, 2, 4, 8 or 24 assigned in the Base Profile).
The StreamXpert has the capability to main-
tain a list of X (=max_num_files) log files as Setting this attribute to replace_existing indi-
a kind of trace buffer. The cates that the all global log settings should
switch_file_every_X_hours attribute defines be replaces by the ones defined here. All at-
the maximum hours of log stored in each tributes are required now since we want to
log file maintained. completely replace the existing
GlobalLogSettings.
The StreamXpert will switch to the next log
file every Xth hour. Upon the file switch the See §5.6.1 for a description of the
StreamXpert will first check how many files it tOverrideBehavior data type.
has in its ‘trace buffer’. If the number of files
is less than the maximum a new log file is
created add it is added to the list of files. If
during the current session the number of log
files already has reached the maximum al-
lowed the StreamXpert will replace the old-
est existing log file with a new one.
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 11 of 18 14 July 2005
TR 101 290 Profiles
5. Base XML Types unmentioned attributes will retain their
original values (i.e. the value assigned in
This section describes the user defined base the Base Profile).
types used in the XSD schema definition for the
TR 101 290 Profiles Setting this attribute to replace_existing indi-
cates that the indicator replaces the existing
5.1. Base Priority Type indicator values as defined in the base pro-
file. All attributes are required now since we
want to completely replace the existing indi-
TBasePriority cator.
This is the base element for all priority ele-
ments (e.g. Priority1, Priority2, Pri- NOTE: the value of this attribute acts as the
ority3). All Priority elements are derived default value for the child elements (e.g.
from this complexType. LogSettings or Filter). The child elements
enabled can overrule this by specifying their local
Type: boolean, Use: required override_behavior value.
Global enable flag for all indicators/rules
defined within the priority. Set this flag to See §5.6.1 for a description of the
“false” to disable all indicators. If the flag is tOverrideBehavior data type.
set to “true” the individual enable flag of
each indicator can overrule this value. LogSettings
Type: TIndicatorLogSettings
5.2. Base Indicator Type The LogSettings element defines the log
settings for the indicator. This element is a
type definition of the TIndicatorLogSettings
TBaseIndicator type (see §5.5.1).
This is the base type for all indicators de-
fined in the schema. The TBaseIndicator
contains the following sequence of optional Filter
child elements: LogSettings and Filter. Type: TPidFilter
The Filter element can be used to apply an
enabled include- or exclude-filter to the indicator (i.e.
Type: boolean, Use: optional only check the indicator/rule for a specific
Enable disable flag for the indicator. Set to set of PIDs). If the Filter is empty the indica-
“false” to disable the indicator. Setting this tor will be verified for all PIDs.
attribute to “true” will enable the indicator
and the StreamXpert will check for violations This element is type definition of the
of this indicator/rule. TPidFilter type. Refer to §5.5.4 for a descrip-
tion of TPidFilter type.
NOTE: the value of this attribute overrules
the TBasePriority enable attribute only if it
was set to “true”. 5.3. Section Indicator Type
override_behavior
Type: tOverrideBehavior, Use: optional TSectionIndicator
This attribute controls the behavior when Type: TBaseIndicator
overriding an indicator (i.e. when deriving a This is the base type for all section related
profile from another profile). Setting this at- indicators. It is derived from the
tribute to extend_existing indicates that only TBaseIndicator type (see §5.2) and inherits
attributes mentioned in the XML description all attributes and child elements from this
for the indicator will be replaced, all type. It further extends the type by adding
the following sequence of optional child
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 12 of 18 14 July 2005
TR 101 290 Profiles
elements: SectionRepetitionRule and
SectionLocationRule. NOTE: if the override_behavior attribute is
not defined the override behavior of the
5.3.1. Section Repetition Rule parent element is used.
required
Type: boolean, Use: optional
Filter
Defines whether or not the section is re-
Type: TPidFilter
quired to be present. If the section is re-
The optional Filter element can be used to
quired and no section is detected within the
limit the section repetition rule to only check
time specified by max_interval_ms an error
for sections on the set of PIDs specified by
will be reported.
this filter.
override_behavior
Type: tOverrideBehavior, Use: optional This element is type definition of the
This attribute controls the behavior when TPidFilter type. Refer to §5.5.4 for a descrip-
overriding a section repetition rule (i.e. tion of TPidFilter type.
when deriving a profile from another pro-
file).
SectionIdentifier
Type: TSectionIdentifier
If the value is set to extend_existing only the
This element identifies the section / section
attributes defined in the derived profile will
range the rule applies to. The
replace will be replaced. All undefined at-
SectionIdentifier is a type definition of the
tributes will retain their original value (i.e.
TSectionIdentifier type. Refer to §5.5.2 for a
value as defined in the base profile).
detailed description of the TSectionIdentifier
type.
Setting this attribute to replace_existing indi-
cates that all existing attributes values (i.e. 5.3.2. Section Location Rule
values as defined in the base profile) will be
replaced by the values in the derived pro-
file. SectionLocationRule
This element defines a location rule for a
NOTE: the max_interval_ms, specific section or group of sections. A loca-
min_interval_ms and required attributes tion rule is a rule that specifies which sec-
must be defined if the override_behavior is tion(s) are allowed to occur on a specific
set the replace_existing.
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 13 of 18 14 July 2005
TR 101 290 Profiles
PID. The SectionLocationRule contains a This element identifies the section / section
list SectionIdentifier child elements. range the rule applies to. The
SectionIdentifier is a type definition of the
NOTE: The SectionNum or TSectionIdentifier type. Refer to §5.5.2 for a
SectionNumRange child elements of a detailed description of the TSectionIdentifier
SectionIdentifier element are not used. type.
pid
Type: nonNegativeInteger, Use: required 5.4. Table Indicator Type
Defines the PID the section(s) should be lo-
cated on.
TTableIndicator
override_behavior Type: TBaseIndicator
Type: tOverrideBehavior, Use: optional This is the base type for all table related in-
This attribute controls the behavior when dicators. It is derived from the
overriding a section location rule (i.e. when TBaseIndicator type (see §5.2) and inherits
deriving a profile from another profile). all attributes and child elements from this
type. It further extends the type by adding
If the value is set to extend_existing only the the optional list TableRepetitionRule chi-
attributes defined in the derived profile will ld elements.
be replaced. All undefined attributes will re-
tain their original value (i.e. value as de-
TableRepetitionRule
fined in the base profile).
This element defines a repetition require-
ment for a specific table or group of tables.
Setting this attribute to replace_existing indi-
The TableRepetitionRule contains the fol-
cates that all existing attributes values (i.e.
lowing sequence of child elements: Filter
values as defined in the base profile) will be
(=optional) and TableIdentifier.
replaced by the values in the derived pro-
file. max_interval_ms
Type: nonNegativeInteger, Use: required
NOTE: if the override_behavior attribute is Defines the maximum allowed interval (in
not defined the override behavior of the ms) between two consecutive tables.
parent element is used. min_interval_ms
Type: nonNegativeInteger, Use: optional
See §5.6.1 for a description of the
Defines the minimum allowed interval (in
tOverrideBehavior data type.
ms) between two consecutive tables.
Figure 2 Example XML for Section Location Rule
required
// Location rule for the NIT. Sections with Type: boolean, Use: optional
// table_id 64 (NIT-Actual), 65 (NIT-Other) Defines whether or not the table is required
// and 114 (Stuffing Table) are allowed on
// PID 16
to be present. If the table is required and no
<SectionLocationRule pid = "16"> table is detected within the time specified by
<SectionIdentifier>
<TableIdRange min_val = "64"
max_interval_ms an error will be reported.
max_val = "65"/>
</SectionIdentifier> name
<SectionIdentifier> Type: string, Use: required
<TableId value = "114"/>
</SectionIdentifier>
Unique name for the repetition rule.
</SectionLocationRule>
To override a specific repetition rule this
name should be set to the name of the rule
SectionIdentifier to be overridden.
Type: TSectionIdentifier
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 14 of 18 14 July 2005
TR 101 290 Profiles
NOTE: The override behaviour is specified This attribute overrules the
by the TTableIndicator’s override_behavior max_log_per_10_sec attribute. This means
attribute. that if the number of errors logged in the
last 10seconds does not exceed the value
specified by the max_log_per_10_sec at-
Filter
tribute, but the number of errors logged in
Type: TPidFilter
the last 60 seconds is exceeded the error
The optional Filter element can be used to
will not be logged.
limit the table repetition rule to only check
for tables on the set of PIDs specified by this only_log_time_and_indicator
filter. Type: boolean, Use: optional
By setting this attribute to ‘true’ one indi-
This element is type definition of the cates that the log file should only contain
TPidFilter type. Refer to §5.5.4 for a descrip- the time/date and indicator that was vio-
tion of TPidFilter type. lated. Setting this attribute to ‘false’ indi-
cates that the time/date, violated indicator
and an error message should be logged.
TableIdentifier
Type: TTableIdentifier
This attribute will overrule the
This element identifies the table/ table
only_log_time_and_indicator attribute value
range the rule applies to. The
of the Global Log Settings (see §4.3) only if
TableIdentifier is a type definition of the
the global attribute is set to ‘true’.
TTableIdentifier type. Refer to §5.5.3 for a
detailed description of the TTableIdentifier override_behavior
type. Type: tOverrideBehavior, Use: optional
This attribute controls the behavior when
overriding the indicator log settings (i.e.
5.5. Miscellaneous Types
when deriving a profile from another pro-
5.5.1. Indicator Log Settings Type file).
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 15 of 18 14 July 2005
TR 101 290 Profiles
See §5.6.1 for a description of the
SectionNum
tOverrideBehavior data type.
Type: TSimpleSelection
Figure 3 Example XML for Indicator Log Settings The SectionNum element can be used to
limit the sections identified by the
// Log no more than 10 messages per 10 sec
// Log no more than 30 messgage per 60 sec TSectionIdentifier element to section with
// Include error message in log one specific section number. This element is
<LogSettings
max_log_per_10_sec = "10" type definition of the TSimpleSelection type
max_log_per_60_sec = "30" (see §5.5.5).
only_log_time_and_indicator = "false"/>
SectionNumRange
5.5.2. Section Identifier Type Type: TRangeSelection
The SectionNumRange element can be
TSectionIdentifier used to limit the sections identified by the
A section identifier is used to identify a spe- TSectionIdentifier element to sections
cific section or range of sections. It contains with a section number within a specified
a choice of a TableId or TableIdRange range. This element is type definition of the
child elements followed by the optional TRangeSelection type (see §5.5.6).
choice of a SectionNum or
5.5.3. Table Identifier Type
SectionNumRange child element.
Figure 4 Example XML for Section Indentifier
TTableIdentifier
// Identifies PMT section (table_id = 0x02) A table identifier is used to specify a specific
<SectionIdentifier> table or range of tables. It contains a choice
<TableId value = "2"/>
</SectionIdentifier> of a TableId or TableIdRange child ele-
ment followed by the optional choice of a
// Identifies the PMT section 1 (table_id =
0x02, section_number = 1) TableType or TableTypeRange child
<SectionIdentifier> element.
<TableId value = "2"/>
<SectionNum value = "1"/> Figure 5 Example XML for Table Identifier
</SectionIdentifier>
// Identifies the PAT (table_id = 0x00)
<TableIdentifier>
<TableId value = "0"/>
TableId </TableIdentifier>
Type: TSimpleSelection // Identifies the PSIP EIT-0 (table_id =
The TableId element defines a single ta- 0xCB, table_type = 0x0100)
ble_id to identify the section selected by the <TableIdentifier>
<TableId value = "203"/>
TSectionIdentifier element. This element <TableType value = "256"/>
is type definition of the TSimpleSelection </TableIdentifier>
type (see §5.5.5).
TableId
TableIdRange
Type: TSimpleSelection
Type: TRangeSelection
The TableId element defines a single ta-
The TableIdRange element defines a
ble_id to identify the table selected by the
range of table_ids to identify the tables se-
TTableIdentifier element. This element is
lected by the TSectionIdentifier element.
type definition of the TSimpleSelection type
This element is type definition of the
(see §5.5.5).
TRangeSelection type (see §5.5.6).
TableIdRange
Type: TRangeSelection
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 16 of 18 14 July 2005
TR 101 290 Profiles
The TableIdRange element defines a file) and/or the type attribute can be re-
range of table_ids to identify the tables se- placed by the new value.
lected by the TTableIdentifier element.
This element is type definition of the Setting this attribute to replace_existing indi-
TRangeSelection type (see §5.5.6). cates that all existing PIDs in the filter should
be removed and replaced by the PIDs de-
fined in the Pid and PidRange child ele-
TableType
ments.
Type: TSimpleSelection
The TableType element can be used to
NOTE: the type attribute is required when
limit the tables identified by the
setting the override_behavior is set to re-
TSectionIdentifier element to a specific
place_existing.
ATSC table type (i.e. the type defined in the
MGT table). This element is type definition
NOTE: the Pid and PidRange child ele-
of the TSimpleSelection type (see §5.5.5).
ments are always optional, regardless of the
value of the override_behavior attribute. No
TableTypeRange Pid or PidRange elements indicate that
Type: TRangeSelection there are no PIDs in the filter.
The TableTypeRange element can be
used to limit the tables identified by the NOTE: if the override_behavior attribute is
TSectionIdentifier element to a specific not defined the override behavior of the
range of ATSC table types. This element is parent element is used.
type definition of the TRangeSelection type
(see §5.5.6). See §5.6.1 for a description of the
tOverrideBehavior data type.
5.5.4. PID Filter Type
Figure 6 Example XML for a Pid Filter
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 17 of 18 14 July 2005
TR 101 290 Profiles
5.5.5. Simple Selection Type havior is ideal to completely overrule an indi-
cator in the base profile.
TSimpleSelection
This element defines a simple integer selec-
tion.
value
Type: integer, Use: required
Selected integer value.
TRangeSelection
This element defines an integer selection
range.
min_val
Type: integer, Use: required
Minimum integer value included in the se-
lection range.
max_val
Type: integer, Use: required
Maximum integer value included in the se-
lection range.
© 2005 DEKTEC Digital Video BV Using and Defining TR 101 290 Profiles
www.dektec.com
Page 18 of 18 14 July 2005