Commit c9050311 authored by Georgi Chorbadzhiyski's avatar Georgi Chorbadzhiyski

examples: Add example text and xml output generated from dvb_print_si.

For source file is used the output generated by examples/dvb_gen_si.
parent 8105152f
#!/bin/sh
# Script to test PSI generation and parsing
# Copyright (C) 2011 Unix Solutions Ltd.
#
# License: MIT
# Authors: Georgi Chorbadzhiyski <georgi@unixsol.org>
#
rm dvb_gen_si dvb_print_si
make local
./dvb_gen_si | ./dvb_print_si > dvb_print_si.output.txt
./dvb_gen_si | ./dvb_print_si -x xml > dvb_print_si.output.xml
git diff dvb_print_si.output.txt dvb_print_si.output.xml
new PAT tsid=10000 version=0
end PAT
new PAT tsid=10000 version=1
end PAT
new PAT tsid=10000 version=2
* NIT pid=16
* program number=20000 pid=100
* program number=20100 pid=200
* program number=20200 pid=300
* program number=20300 pid=400
end PAT
new CAT version=0
end CAT
new CAT version=1
end CAT
new CAT version=2
- desc 09 ca sysid=0xb000 pid=1234
- desc 09 ca sysid=0xb000 pid=1234
- desc 09 ca sysid=0xb000 pid=1234
end CAT
new TSDT version=0
end TSDT
new TSDT version=1
- desc 0f private_data_indicator private_indicator=0xaabbccdd
end TSDT
new NIT actual networkid=40000 version=0
end NIT
new NIT actual networkid=40000 version=1
- desc 40 networkname="Test Network Name"
- desc 43 dvb-s frequency=11757250V pos=19.2E modulation=qpsk symbolrate=27450000 fecinner=7/8
- desc 44 dvb-c frequency=312000000 Hz fecouter=undefined modulation=64-qam symbolrate=27450000 fecinner=8/9
- desc 5a dvb-t frequency=12345678900 Hz bandwidth=6 MHz priority=LP timeslicing=1 mpefec=1 constellation=64-qam hierarchy=2+in-depth coderatehp=3/4 coderatelp=5/6 guard=1/16 transmission=4k otherfrequency=1
* ts tsid=10000 onid=40000
- desc 41 service_list sid=20000 type=0x01
- desc 41 service_list sid=20100 type=0x02
- desc 41 service_list sid=20200 type=0x01
- desc 41 service_list sid=20300 type=0x02
* ts tsid=10100 onid=40100
* ts tsid=10200 onid=40200
- desc 41 service_list sid=20000 type=0x01
- desc 41 service_list sid=20100 type=0x02
- desc 41 service_list sid=20200 type=0x01
- desc 41 service_list sid=20300 type=0x02
* ts tsid=10300 onid=40300
end NIT
new BAT networkid=40000 version=0
end BAT
new BAT networkid=40000 version=1
- desc 47 bouquetname="Test Bouquet Name"
* ts tsid=10000 onid=40000
- desc 41 service_list sid=20000 type=0x01
- desc 41 service_list sid=20100 type=0x02
- desc 41 service_list sid=20200 type=0x01
- desc 41 service_list sid=20300 type=0x02
* ts tsid=10100 onid=40100
* ts tsid=10200 onid=40200
- desc 41 service_list sid=20000 type=0x01
- desc 41 service_list sid=20100 type=0x02
- desc 41 service_list sid=20200 type=0x01
- desc 41 service_list sid=20300 type=0x02
* ts tsid=10300 onid=40300
end BAT
new SDT actual tsid=10000 version=0 onid=40000
end SDT
new SDT actual tsid=10000 version=1 onid=40000
* service sid=20000 running=2
- desc 48 service type=0x1 provider="Test Provider Name" service="Test Service Name"
- desc 49 country_availability available=1 country=GBR
- desc 49 country_availability available=1 country=FRA
- desc 49 country_availability available=1 country=BUL
- desc 51 mosaic entry_point=1 horizontal_elementary_cells=2 vertical_elementary_cells=2
- logical_cell cell_id=0 presentation_info=1 presentation_info_txt="video" cell_linkage=1 cell_linkage_txt="bouquet related" bouquet_id=40100 onid=0 tsid=0 sid=0 event_id=0
- elementary_cell cell_id=0
- elementary_cell cell_id=1
- elementary_cell cell_id=2
- logical_cell cell_id=1 presentation_info=2 presentation_info_txt="still picture" cell_linkage=2 cell_linkage_txt="service related" bouquet_id=0 onid=40500 tsid=10500 sid=20500 event_id=0
- elementary_cell cell_id=3
- elementary_cell cell_id=4
- elementary_cell cell_id=5
- logical_cell cell_id=2 presentation_info=3 presentation_info_txt="graphics/text" cell_linkage=4 cell_linkage_txt="event related" bouquet_id=0 onid=41000 tsid=11000 sid=21000 event_id=31000
- elementary_cell cell_id=6
- elementary_cell cell_id=7
- elementary_cell cell_id=8
- desc 57 telephone foreign_availability=1 connection_type=3 country_prefix=+ international_area_code=359 operator_code=2 national_area_code= core_number=9868620 phone=+35929868620
- desc 5f private_data specifier=0xaabbccdd
* service sid=20100 eit_schedule running=1
- desc 48 service type=0x1 provider="Test Provider Name" service="Test Service Name"
- desc 49 country_availability available=0 country=GBR
- desc 49 country_availability available=0 country=FRA
- desc 49 country_availability available=0 country=BUL
- desc 5f private_data specifier=0xaabbccdd
* service sid=20200 eit_schedule eit_pf running=3
- desc 48 service type=0x1 provider="Test Provider Name" service="Test Service Name"
- desc 4c time_shifted_service reference_sid=21000
- desc 5f private_data specifier=0xaabbccdd
* service sid=20300 eit_schedule eit_pf running=2 scrambled
- desc 48 service type=0x1 provider="Test Provider Name" service="Test Service Name"
- desc 4b nvod_reference tsid=10000 onid=40000 sid=20000
- desc 4b nvod_reference tsid=10100 onid=40100 sid=20100
- desc 4b nvod_reference tsid=10200 onid=40200 sid=20200
- desc 5f private_data specifier=0xaabbccdd
end SDT
new EIT tableid=0x4e type=actual_pf version=0 tsid=10000 onid=40000 seg_last_sec_number=0 last_table_id=0x00
end EIT
new EIT tableid=0x4e type=actual_pf version=1 tsid=10000 onid=40000 seg_last_sec_number=0 last_table_id=0x00
* EVENT id=30000 start_time=1234567890 start_time_dec="2009-02-13 23:31:30 UTC" duration=86399 duration_dec=23:59:59 running_status=2 free_CA_mode=0
- desc 4d short_event lang=eng event_name="Major TV event" text="The event of the century!"
* EVENT id=30100 start_time=1 start_time_dec="1970-01-01 00:00:01 UTC" duration=3600 duration_dec=01:00:00 running_status=1 free_CA_mode=0
- desc 4e extended_event desc_number=0 last_desc_number=0 lang=eng text="Wow, what an event!"
- extended_event_item description="Director" text="Famous director"
- extended_event_item description="Year" text="2011"
- extended_event_item description="Rating" text="***++"
- desc 4d short_event lang=eng event_name="Major TV event" text="The event of the century!"
* EVENT id=30200 start_time=999999999 start_time_dec="2001-09-09 01:46:39 UTC" duration=7200 duration_dec=02:00:00 running_status=0 free_CA_mode=0
- desc 54 content content_l1=2 content_l2=4 user=78
- desc 54 content content_l1=6 content_l2=8 user=177
- desc 53 ca_identifier ca_sysid=0xaabb
- desc 53 ca_identifier ca_sysid=0xccdd
- desc 53 ca_identifier ca_sysid=0xeeff
- desc 55 parental_rating country_code=USA rating=0 rating_txt="undefined"
- desc 55 parental_rating country_code=CHI rating=15 rating_txt="min 18 years"
- desc 55 parental_rating country_code=FRA rating=12 rating_txt="min 15 years"
- desc 55 parental_rating country_code=BUL rating=24 rating_txt="unknown"
- desc 4d short_event lang=eng event_name="Major TV event" text="The event of the century!"
- desc 4f time_shifted_service reference_sid=22000 reference_event_id=32000
* EVENT id=30300 start_time=999999999 start_time_dec="2001-09-09 01:46:39 UTC" duration=7200 duration_dec=02:00:00 running_status=4 free_CA_mode=1
- desc 54 content content_l1=2 content_l2=4 user=78
- desc 54 content content_l1=6 content_l2=8 user=177
- desc 4d short_event lang=eng event_name="Major TV event" text="The event of the century!"
- desc 4e extended_event desc_number=0 last_desc_number=0 lang=eng text="Wow, what an event!"
- extended_event_item description="Director" text="Famous director"
- extended_event_item description="Year" text="2011"
- extended_event_item description="Rating" text="***++"
- desc 55 parental_rating country_code=USA rating=0 rating_txt="undefined"
- desc 55 parental_rating country_code=CHI rating=15 rating_txt="min 18 years"
- desc 55 parental_rating country_code=FRA rating=12 rating_txt="min 15 years"
- desc 55 parental_rating country_code=BUL rating=24 rating_txt="unknown"
end EIT
new TDT time=1234567890 time_dec="2009-02-13 23:31:30 UTC"
end TDT
new TDT time=1 time_dec="1970-01-01 00:00:01 UTC"
end TDT
new TDT time=999999999 time_dec="2001-09-09 01:46:39 UTC"
end TDT
new TDT time=2147483647 time_dec="2038-01-19 03:14:07 UTC"
end TDT
new TOT time=1234567890 time_dec="2009-02-13 23:31:30 UTC"
end TOT
new TOT time=1 time_dec="1970-01-01 00:00:01 UTC"
end TOT
new TOT time=999999999 time_dec="2001-09-09 01:46:39 UTC"
- desc 58 local_time_offset country_code=BUL country_region_id=2 lto_polarity=1 lto_offset=0200 time_of_change=1234567890 time_of_change_dec="2009-02-13 23:31:30 UTC" next_time_offset=0300
- desc 58 local_time_offset country_code=USA country_region_id=9 lto_polarity=0 lto_offset=1400 time_of_change=999999999 time_of_change_dec="2001-09-09 01:46:39 UTC" next_time_offset=1830
end TOT
new RST
end RST
new RST
* status tsid="10000" onid="40000" service_id="20000" event_id="30000" running_status="1"
* status tsid="10100" onid="40100" service_id="20100" event_id="30100" running_status="2"
* status tsid="10200" onid="40200" service_id="20200" event_id="30200" running_status="3"
end RST
new PMT program=20000 version=0 pcrpid=110
end PMT
new PMT program=20000 version=1 pcrpid=110
- desc 0b system_clock external_clock_reference_indicator=1 clock_accuracy_integer=60 clock_accuracy_exponent=4
- desc 0c multiplex_buffer_utilization bound_valid=1 LTW_offset_lower_bound=1234 LTW_offset_upper_bound=5678
- desc 0d copyright identifier=0x12345678 additional_info_len=4 additional_info=41424344
- desc 0e maximum_bitrate max_bitrate=123456 max_bitrate_decoded=6172800
- desc 0f private_data_indicator private_indicator=0xaabbccdd
- desc 10 smoothing_buffer sb_leak_rate=112233 sb_size=4112233
- desc 12 ibp closed_gop_flag=1 identical_gop_flag=0 max_gop_len=5000
* ES pid=120 streamtype=0x02 streamtype_txt="13818-2 video (MPEG-2)"
- desc 02 video_stream multiple_frame_rate=1 frame_rate_code=3 frame_rate_txt="25.00" mpeg1_only=1 constraint_parameter=1 still_picture=1
- desc 02 video_stream multiple_frame_rate=1 frame_rate_code=4 frame_rate_txt="29.97" mpeg1_only=0 constraint_parameter=1 still_picture=1 profile=4 profile_txt="Main" level=8 level_txt="Main" chroma_format=2 chroma_format_txt="4:2:2" frame_rate_extension=0
- desc 04 hierarchy type=1 type_txt="ITU-T Rec.H.262.0 | ISO/IEC 13818-2 Spatial Scalability" layer_index=6 embedded_layer_index=7 channel=8
- desc 05 registration identifier=TEST
- desc 06 data_stream_alignment alignment=2 alignment_txt="Video access unit"
- desc 07 target_background_grid horizontal_size=720 vertical_size=576 aspect_ratio_info=7
- desc 08 video_window horizontal_offset=1024 vertical_offset=768 window_priority=15
- desc 11 std leak_valid_flag=1
- desc 1b mpeg4_video visual_profile_and_level=0x12
* ES pid=121 streamtype=0x04 streamtype_txt="13818-3 audio (MPEG-2)"
- desc 03 audio_stream free_format_tag=1 ID=1 layer=2 ID_txt="MPEG Audio" layer_txt="Layer II" vbr_audio_flag=1
- desc 0a audio_language language=eng audiotype=0 audiotype_txt="undefined"
- desc 0a audio_language language=eng audiotype=1 audiotype_txt="clean effects"
- desc 0a audio_language language=eng audiotype=2 audiotype_txt="hearing impaired"
- desc 0a audio_language language=eng audiotype=3 audiotype_txt="visual impaired commentary"
- desc 0a audio_language language=bul audiotype=4 audiotype_txt="reserved"
- desc 0a audio_language language=bul audiotype=0 audiotype_txt="undefined"
- desc 52 stream_identifier component_tag=46
- desc 1c mpeg4_audio audio_profile_and_level=0x13
- desc 50 component stream_content=0x02 component_type=0x03 component_tag=46 language=eng text="Stereo"/>
* ES pid=122 streamtype=0x06 streamtype_txt="13818-1 PES private data"
- desc 46 vbi_telx language=eng type=0x1 type_txt="Initial teletext page" mag=3 page=0x255x
- desc 46 vbi_telx language=bul type=0x2 type_txt="Teletext subtitle page" mag=2 page=0x127x
- desc 46 vbi_telx language=fre type=0x3 type_txt="Additional information page" mag=1 page=0x64x
- desc 45 vbi_data service_id=0x01 length=8 service_txt="EBU teletext"
- vbi_data field_parity=1 line_offset=0
- vbi_data field_parity=0 line_offset=1
- vbi_data field_parity=1 line_offset=2
- vbi_data field_parity=0 line_offset=3
- vbi_data field_parity=1 line_offset=4
- vbi_data field_parity=0 line_offset=5
- vbi_data field_parity=1 line_offset=6
- vbi_data field_parity=0 line_offset=7
- desc 45 vbi_data service_id=0x03 length=4 service_txt="reserved"
- vbi_data reserved_byte=0x12
- vbi_data reserved_byte=0x34
- vbi_data reserved_byte=0x56
- vbi_data reserved_byte=0x78
- desc 45 vbi_data service_id=0x04 length=1 service_txt="VPS"
- vbi_data field_parity=0 line_offset=10
- desc 45 vbi_data service_id=0x05 length=4 service_txt="WSS"
- vbi_data field_parity=0 line_offset=20
- vbi_data field_parity=1 line_offset=21
- vbi_data field_parity=0 line_offset=22
- vbi_data field_parity=1 line_offset=23
- desc 45 vbi_data service_id=0x06 length=0 service_txt="Closed Captioning"
* ES pid=123 streamtype=0x06 streamtype_txt="13818-1 PES private data"
- desc 56 telx language=eng type=0x1 type_txt="Initial teletext page" mag=3 page=0x255x
- desc 56 telx language=bul type=0x2 type_txt="Teletext subtitle page" mag=2 page=0x127x
- desc 56 telx language=fre type=0x3 type_txt="Additional information page" mag=1 page=0x64x
* ES pid=124 streamtype=0x06 streamtype_txt="13818-1 PES private data"
- desc 59 subtitling language=eng type=0x1 composition=2 ancillary=3
- desc 59 subtitling language=bul type=0x2 composition=3 ancillary=4
- desc 59 subtitling language=fre type=0x5 composition=6 ancillary=7
* ES pid=125 streamtype=0x06 streamtype_txt="13818-1 PES private data"
- desc 1e sl es_id=0x1234
- desc 1d iod scope=0x01 iod_label=0x23 iod=0x45
- desc 1f fmc es_id=0x1122 flexmux_channel=0x33
- desc 1f fmc es_id=0x4455 flexmux_channel=0x66
- desc 1f fmc es_id=0x7788 flexmux_channel=0x99
- desc 20 external_es_id external_es_id=0x1234
- desc 23 multiplex_buffer mb_buffer_size=112233 tb_leak_rate=445566
- desc 27 metadata_std input_leak_rate=12345 buffer_size=23456 output_leak_rate=34567
- desc 2c flexmux_timing fcr_es_id=0x1234 fcr_resolution=123456789 fcr_length=55 fmx_rate_length=66
* ES pid=126 streamtype=0x1b streamtype_txt="H.264/14496-10 video (MPEG-4/AVC)"
- desc 28 avc_video profile_idc=0x12 constraint_set0_flag=1 constraint_set1_flag=1 constraint_set2_flag=0 AVC_compatible_flags=0x0a level_idc=0x34 AVC_still_present=0 AVC_24_hour_picture_flag=0
- desc 2a avc_timing_and_hrd hrd_management_valid_flag=0 picture_and_timing_info_present=1 90khz_flag=0 N=12345678 K=34567890 num_units_in_tick=456789 fixed_frame_rate_flag=1 temporal_poc_flag=0 picture_to_display_conversion_flag=1
* ES pid=127 streamtype=0x0f streamtype_txt="13818-7 Audio with ADTS transport syntax"
- desc 42 stuffing length=4
- desc 2b mpeg2_aac_audio profile=0x12 channel_config=0x05 additional_info=0x00
end PMT
new DIT transition_flag=1
end DIT
new DIT transition_flag=0
end DIT
new SIT version=0
end SIT
new SIT version=1
- desc 05 registration identifier=TEST
* SERVICE sid=20000 running_status=1
- desc 05 registration identifier=TEST
- desc 05 registration identifier=TEST
- desc 05 registration identifier=TEST
* SERVICE sid=21000 running_status=3
end SIT
<?xml version="1.0" encoding="utf-8"?>
<TS>
<PAT tsid="10000" version="0" current_next="1">
</PAT>
<PAT tsid="10000" version="1" current_next="1">
</PAT>
<PAT tsid="10000" version="2" current_next="1">
<PROGRAM number="0" pid="16"/>
<PROGRAM number="20000" pid="100"/>
<PROGRAM number="20100" pid="200"/>
<PROGRAM number="20200" pid="300"/>
<PROGRAM number="20300" pid="400"/>
</PAT>
<CAT version="0" current_next="1">
</CAT>
<CAT version="1" current_next="1">
</CAT>
<CAT version="2" current_next="1">
<DESC id="0x09" length="4" value="b000e4d2">
<CA_DESC sysid="0xb000" pid="1234"/>
</DESC>
<DESC id="0x09" length="4" value="b000e4d2">
<CA_DESC sysid="0xb000" pid="1234"/>
</DESC>
<DESC id="0x09" length="4" value="b000e4d2">
<CA_DESC sysid="0xb000" pid="1234"/>
</DESC>
</CAT>
<TSDT version="0" current_next="1">
</TSDT>
<TSDT version="1" current_next="1">
<DESC id="0x0f" length="4" value="aabbccdd">
<PRIVATE_DATA_INDICATOR_DESC private_indicator="0xaabbccdd"/>
</DESC>
</TSDT>
<NIT tid="64" networkid="40000" version="0" current_next="1">
</NIT>
<NIT tid="64" networkid="40000" version="1" current_next="1">
<DESC id="0x40" length="17" value="54657374204e6574776f726b204e616d65">
<NETWORK_NAME_DESC networkname="Test Network Name"/>
</DESC>
<DESC id="0x43" length="11" value="011757250192a102745005">
<SATELLITE_DESC s2="0" frequency="11757250V" pos="19.2E" modulation="qpsk" symbolrate="27450000" fecinner="7/8"/>
</DESC>
<DESC id="0x44" length="11" value="03120000fff00302745006">
<CABLE_DESC frequency="312000000" fecouter="undefined" modulation="64-qam" symbolrate="27450000" fecinner="8/9"/>
</DESC>
<DESC id="0x5a" length="11" value="499602d243b26dffffffff">
<TERRESTRIAL_DESC frequency="12345678900" bandwidth="6" priority="LP" timeslicing="1" mpefec="1" constellation="64-qam" hierarchy="2+in-depth" coderatehp="3/4" coderatelp="5/6" guard="1/16" transmission="4k" otherfrequency="1"/>
</DESC>
<TS tsid="10000" onid="40000">
<DESC id="0x41" length="12" value="4e20014e84024ee8014f4c02">
<SERVICE_LIST_DESC sid="20000" type="0x01" />
<SERVICE_LIST_DESC sid="20100" type="0x02" />
<SERVICE_LIST_DESC sid="20200" type="0x01" />
<SERVICE_LIST_DESC sid="20300" type="0x02" />
</DESC>
</TS>
<TS tsid="10100" onid="40100">
</TS>
<TS tsid="10200" onid="40200">
<DESC id="0x41" length="12" value="4e20014e84024ee8014f4c02">
<SERVICE_LIST_DESC sid="20000" type="0x01" />
<SERVICE_LIST_DESC sid="20100" type="0x02" />
<SERVICE_LIST_DESC sid="20200" type="0x01" />
<SERVICE_LIST_DESC sid="20300" type="0x02" />
</DESC>
</TS>
<TS tsid="10300" onid="40300">
</TS>
</NIT>
<BAT tid="74" networkid="40000" version="0" current_next="1">
</BAT>
<BAT tid="74" networkid="40000" version="1" current_next="1">
<DESC id="0x47" length="17" value="5465737420426f7571756574204e616d65">
<BOUQUET_NAME_DESC bouquetname="Test Bouquet Name"/>
</DESC>
<TS tsid="10000" onid="40000">
<DESC id="0x41" length="12" value="4e20014e84024ee8014f4c02">
<SERVICE_LIST_DESC sid="20000" type="0x01" />
<SERVICE_LIST_DESC sid="20100" type="0x02" />
<SERVICE_LIST_DESC sid="20200" type="0x01" />
<SERVICE_LIST_DESC sid="20300" type="0x02" />
</DESC>
</TS>
<TS tsid="10100" onid="40100">
</TS>
<TS tsid="10200" onid="40200">
<DESC id="0x41" length="12" value="4e20014e84024ee8014f4c02">
<SERVICE_LIST_DESC sid="20000" type="0x01" />
<SERVICE_LIST_DESC sid="20100" type="0x02" />
<SERVICE_LIST_DESC sid="20200" type="0x01" />
<SERVICE_LIST_DESC sid="20300" type="0x02" />
</DESC>
</TS>
<TS tsid="10300" onid="40300">
</TS>
</BAT>
<SDT tid="66" tsid="10000" version="0" current_next="1" onid="40000">
</SDT>
<SDT tid="66" tsid="10000" version="1" current_next="1" onid="40000">
<SERVICE sid="20000" eit_schedule="0" eit_pf="0" running="2" free_CA="0">
<DESC id="0x48" length="38" value="0112546573742050726f7669646572204e616d6511546573742053657276696365204e616d65">
<SERVICE_DESC type="0x1" provider="Test Provider Name" service="Test Service Name"/>
</DESC>
<DESC id="0x49" length="10" value="ff47425246524142554c">
<COUNTRY_AVAILABILITY_DESC available="1" country="GBR"/>
<COUNTRY_AVAILABILITY_DESC available="1" country="FRA"/>
<COUNTRY_AVAILABILITY_DESC available="1" country="BUL"/>
</DESC>
<DESC id="0x51" length="38" value="aa03f903c0c1c2019ca407fa03c3c4c5029e34290450140bfb03c6c7c804a0282af852087918">
<MOSAIC_DESC entry_point="1" horizontal_elementary_cells="2" vertical_elementary_cells="2">
<MOSAIC_LOGICAL_CELL cell_id="0" presentation_info="1" presentation_info_txt="video" cell_linkage="1" cell_linkage_txt="bouquet related" bouquet_id="40100" onid="0" tsid="0" sid="0" event_id="0">
<MOSAIC_ELEMENTARY_CELL cell_id="0"/>
<MOSAIC_ELEMENTARY_CELL cell_id="1"/>
<MOSAIC_ELEMENTARY_CELL cell_id="2"/>
</MOSAIC_LOGICAL_CELL>
<MOSAIC_LOGICAL_CELL cell_id="1" presentation_info="2" presentation_info_txt="still picture" cell_linkage="2" cell_linkage_txt="service related" bouquet_id="0" onid="40500" tsid="10500" sid="20500" event_id="0">
<MOSAIC_ELEMENTARY_CELL cell_id="3"/>
<MOSAIC_ELEMENTARY_CELL cell_id="4"/>
<MOSAIC_ELEMENTARY_CELL cell_id="5"/>
</MOSAIC_LOGICAL_CELL>
<MOSAIC_LOGICAL_CELL cell_id="2" presentation_info="3" presentation_info_txt="graphics/text" cell_linkage="4" cell_linkage_txt="event related" bouquet_id="0" onid="41000" tsid="11000" sid="21000" event_id="31000">
<MOSAIC_ELEMENTARY_CELL cell_id="6"/>
<MOSAIC_ELEMENTARY_CELL cell_id="7"/>
<MOSAIC_ELEMENTARY_CELL cell_id="8"/>
</MOSAIC_LOGICAL_CELL>
</MOSAIC_DESC>
</DESC>
<DESC id="0x57" length="15" value="e3ad872b3335393239383638363230">
<TELEPHONE_DESC foreign_availability="1" connection_type="3" country_prefix="+" international_area_code="359" operator_code="2" national_area_code="" core_number="9868620" full_telephone="+35929868620"/>
</DESC>
<DESC id="0x5f" length="4" value="aabbccdd">
<PRIVATE_DATA_SPECIFIER_DESC specifier="0xaabbccdd" />
</DESC>
</SERVICE>
<SERVICE sid="20100" eit_schedule="1" eit_pf="0" running="1" free_CA="0">
<DESC id="0x48" length="38" value="0112546573742050726f7669646572204e616d6511546573742053657276696365204e616d65">
<SERVICE_DESC type="0x1" provider="Test Provider Name" service="Test Service Name"/>
</DESC>
<DESC id="0x49" length="10" value="7f47425246524142554c">
<COUNTRY_AVAILABILITY_DESC available="0" country="GBR"/>
<COUNTRY_AVAILABILITY_DESC available="0" country="FRA"/>
<COUNTRY_AVAILABILITY_DESC available="0" country="BUL"/>
</DESC>
<DESC id="0x5f" length="4" value="aabbccdd">
<PRIVATE_DATA_SPECIFIER_DESC specifier="0xaabbccdd" />
</DESC>
</SERVICE>
<SERVICE sid="20200" eit_schedule="1" eit_pf="1" running="3" free_CA="0">
<DESC id="0x48" length="38" value="0112546573742050726f7669646572204e616d6511546573742053657276696365204e616d65">
<SERVICE_DESC type="0x1" provider="Test Provider Name" service="Test Service Name"/>
</DESC>
<DESC id="0x4c" length="2" value="5208">
<TIME_SHIFTED_SERVICE_DESC reference_sid="21000"/>
</DESC>
<DESC id="0x5f" length="4" value="aabbccdd">
<PRIVATE_DATA_SPECIFIER_DESC specifier="0xaabbccdd" />
</DESC>
</SERVICE>
<SERVICE sid="20300" eit_schedule="1" eit_pf="1" running="2" free_CA="1">
<DESC id="0x48" length="38" value="0112546573742050726f7669646572204e616d6511546573742053657276696365204e616d65">
<SERVICE_DESC type="0x1" provider="Test Provider Name" service="Test Service Name"/>
</DESC>
<DESC id="0x4b" length="18" value="27109c404e2027749ca44e8427d89d084ee8">
<NVOD_REFERENCE_DESC tsid="10000" onid="40000" sid="20000"/>
<NVOD_REFERENCE_DESC tsid="10100" onid="40100" sid="20100"/>
<NVOD_REFERENCE_DESC tsid="10200" onid="40200" sid="20200"/>
</DESC>
<DESC id="0x5f" length="4" value="aabbccdd">
<PRIVATE_DATA_SPECIFIER_DESC specifier="0xaabbccdd" />
</DESC>
</SERVICE>
</SDT>
<EIT tableid="0x4e" type="actual_pf" version="0" current_next="1" tsid="10000" onid="40000" seg_last_sec_number="0" last_table_id="0x00">
</EIT>
<EIT tableid="0x4e" type="actual_pf" version="1" current_next="1" tsid="10000" onid="40000" seg_last_sec_number="0" last_table_id="0x00">
<EVENT id="30000" start_time="1234567890" start_time_dec="2009-02-13 23:31:30 UTC" duration="86399" duration_dec="23:59:59" running_status="2" free_CA_mode="0">
<DESC id="0x4d" length="44" value="656e670e4d616a6f72205456206576656e7419546865206576656e74206f66207468652063656e7475727921">
<SHORT_EVENT_DESC lang="eng" event_name="Major TV event" text="The event of the century!"/>
</DESC>
</EVENT>
<EVENT id="30100" start_time="1" start_time_dec="1970-01-01 00:00:01 UTC" duration="3600" duration_dec="01:00:00" running_status="1" free_CA_mode="0">
<DESC id="0x4e" length="73" value="00656e6730084469726563746f720f46616d6f7573206469726563746f720459656172043230313106526174696e67052a2a2a2b2b13576f772c207768617420616e206576656e7421">
<EXTENDED_EVENT_DESC desc_number="0" last_desc_number="0" lang="eng" text="Wow, what an event!">
<EXTENDED_EVENT_ITEM description="Director" text="Famous director"/>
<EXTENDED_EVENT_ITEM description="Year" text="2011"/>
<EXTENDED_EVENT_ITEM description="Rating" text="***++"/>
</EXTENDED_EVENT_DESC>
</DESC>
<DESC id="0x4d" length="44" value="656e670e4d616a6f72205456206576656e7419546865206576656e74206f66207468652063656e7475727921">
<SHORT_EVENT_DESC lang="eng" event_name="Major TV event" text="The event of the century!"/>
</DESC>
</EVENT>
<EVENT id="30200" start_time="999999999" start_time_dec="2001-09-09 01:46:39 UTC" duration="7200" duration_dec="02:00:00" running_status="0" free_CA_mode="0">
<DESC id="0x54" length="4" value="244e68b1">
<CONTENT_DESC content_l1="2" content_l2="4" user="78"/>
<CONTENT_DESC content_l1="6" content_l2="8" user="177"/>
</DESC>
<DESC id="0x53" length="6" value="aabbccddeeff">
<CA_IDENTIFIER_DESC ca_sysid="0xaabb"/>
<CA_IDENTIFIER_DESC ca_sysid="0xccdd"/>
<CA_IDENTIFIER_DESC ca_sysid="0xeeff"/>
</DESC>
<DESC id="0x55" length="16" value="555341004348490f4652410c42554c18">
<PARENTAL_RATING_DESC country_code="USA" rating="0" rating_txt="undefined"/>
<PARENTAL_RATING_DESC country_code="CHI" rating="15" rating_txt="min 18 years"/>
<PARENTAL_RATING_DESC country_code="FRA" rating="12" rating_txt="min 15 years"/>
<PARENTAL_RATING_DESC country_code="BUL" rating="24" rating_txt="unknown"/>
</DESC>
<DESC id="0x4d" length="44" value="656e670e4d616a6f72205456206576656e7419546865206576656e74206f66207468652063656e7475727921">
<SHORT_EVENT_DESC lang="eng" event_name="Major TV event" text="The event of the century!"/>
</DESC>
<DESC id="0x4f" length="4" value="55f07d00">
<TIME_SHIFTED_EVENT_DESC reference_sid="22000" reference_event_id="32000"/>
</DESC>
</EVENT>
<EVENT id="30300" start_time="999999999" start_time_dec="2001-09-09 01:46:39 UTC" duration="7200" duration_dec="02:00:00" running_status="4" free_CA_mode="1">
<DESC id="0x54" length="4" value="244e68b1">
<CONTENT_DESC content_l1="2" content_l2="4" user="78"/>
<CONTENT_DESC content_l1="6" content_l2="8" user="177"/>
</DESC>
<DESC id="0x4d" length="44" value="656e670e4d616a6f72205456206576656e7419546865206576656e74206f66207468652063656e7475727921">
<SHORT_EVENT_DESC lang="eng" event_name="Major TV event" text="The event of the century!"/>
</DESC>
<DESC id="0x4e" length="73" value="00656e6730084469726563746f720f46616d6f7573206469726563746f720459656172043230313106526174696e67052a2a2a2b2b13576f772c207768617420616e206576656e7421">
<EXTENDED_EVENT_DESC desc_number="0" last_desc_number="0" lang="eng" text="Wow, what an event!">
<EXTENDED_EVENT_ITEM description="Director" text="Famous director"/>
<EXTENDED_EVENT_ITEM description="Year" text="2011"/>
<EXTENDED_EVENT_ITEM description="Rating" text="***++"/>
</EXTENDED_EVENT_DESC>
</DESC>
<DESC id="0x55" length="16" value="555341004348490f4652410c42554c18">
<PARENTAL_RATING_DESC country_code="USA" rating="0" rating_txt="undefined"/>
<PARENTAL_RATING_DESC country_code="CHI" rating="15" rating_txt="min 18 years"/>
<PARENTAL_RATING_DESC country_code="FRA" rating="12" rating_txt="min 15 years"/>
<PARENTAL_RATING_DESC country_code="BUL" rating="24" rating_txt="unknown"/>
</DESC>
</EVENT>
</EIT>
<TDT time="1234567890" time_dec="2009-02-13 23:31:30 UTC"/>
<TDT time="1" time_dec="1970-01-01 00:00:01 UTC"/>
<TDT time="999999999" time_dec="2001-09-09 01:46:39 UTC"/>
<TDT time="2147483647" time_dec="2038-01-19 03:14:07 UTC"/>
<TOT time="1234567890" time_dec="2009-02-13 23:31:30 UTC">
</TOT>
<TOT time="1" time_dec="1970-01-01 00:00:01 UTC">
</TOT>
<TOT time="999999999" time_dec="2001-09-09 01:46:39 UTC">
<DESC id="0x58" length="26" value="42554c0b0200d65b2331300300555341261400cbc10146391830">
<LOCAL_TIME_OFFSET_DESC country_code="BUL" country_region_id="2" lto_polarity="1" lt_offset="0200" time_of_change="1234567890" time_of_change_dec="2009-02-13 23:31:30 UTC" next_time_offset="0300"/>
<LOCAL_TIME_OFFSET_DESC country_code="USA" country_region_id="9" lto_polarity="0" lt_offset="1400" time_of_change="999999999" time_of_change_dec="2001-09-09 01:46:39 UTC" next_time_offset="1830"/>
</DESC>
</TOT>
<RST>
</RST>
<RST>
<STATUS tsid="10000" onid="40000" service_id="20000" event_id="30000" running_status="1"/>
<STATUS tsid="10100" onid="40100" service_id="20100" event_id="30100" running_status="2"/>
<STATUS tsid="10200" onid="40200" service_id="20200" event_id="30200" running_status="3"/>
</RST>
<PMT program="20000" version="0" current_next="1" pcrpid="110">
</PMT>
<PMT program="20000" version="1" current_next="1" pcrpid="110">
<DESC id="0x0b" length="2" value="fc9f">
<SYSTEM_CLOCK_DESC external_clock_reference_indicator="1" clock_accuracy_integer="60" clock_accuracy_exponent="4"/>
</DESC>
<DESC id="0x0c" length="4" value="84d2962e">
<MULTIPLEX_BUFFER_UTILIZATION_DESC bound_valid="1" LTW_offset_lower_bound="1234" LTW_offset_upper_bound="5678"/>
</DESC>
<DESC id="0x0d" length="8" value="1234567841424344">
<COPYRIGHT_DESC identifier="0x12345678" additional_info_len="4" additional_info="41424344"/>
</DESC>
<DESC id="0x0e" length="3" value="c1e240">
<MAXIMUM_BITRATE_DESC max_bitrate="123456" max_bitrate_decoded="6172800"/>
</DESC>
<DESC id="0x0f" length="4" value="aabbccdd">
<PRIVATE_DATA_INDICATOR_DESC private_indicator="0xaabbccdd"/>
</DESC>
<DESC id="0x10" length="6" value="c1b669febf69">
<SMOOTHING_BUFFER_DESC sb_leak_rate="112233" sb_size="4112233"/>
</DESC>
<DESC id="0x12" length="2" value="9388">
<IBP_DESC closed_gop_flag="1" identical_gop_flag="0" max_gop_len="5000"/>
</DESC>
<ES pid="120" streamtype="0x02" streamtype_txt="13818-2 video (MPEG-2)">
<DESC id="0x02" length="1" value="9f">
<VIDEO_STREAM_DESC multiple_frame_rate="1" frame_rate_code="3" frame_rate_txt="25.00" mpeg1_only="1" constraint_parameter="1" still_picture="1"/>
</DESC>
<DESC id="0x02" length="3" value="a3489f">
<VIDEO_STREAM_DESC multiple_frame_rate="1" frame_rate_code="4" frame_rate_txt="29.97" mpeg1_only="0" constraint_parameter="1" still_picture="1" profile="4" profile_txt="Main" level="8" level_txt="Main" chroma_format="2" chroma_format_txt="4:2:2" frame_rate_extension="0"/>
</DESC>
<DESC id="0x04" length="4" value="f1c6c7c8">
<HIERARCHY_DESC type="1" type_txt="ITU-T Rec.H.262.0 | ISO/IEC 13818-2 Spatial Scalability" layer_index="6" embedded_layer_index="7" channel="8"/>
</DESC>
<DESC id="0x05" length="4" value="54455354">
<REGISTRATION_DESC identifier="TEST"/>
</DESC>
<DESC id="0x06" length="1" value="02">
<DATA_STREAM_ALIGNMENT_DESC alignment="2" alignment_txt="Video access unit"/>
</DESC>
<DESC id="0x07" length="4" value="0b402407">
<TARGET_BACKGROUND_GRID_DESC horizontal_size="720" vertical_size="576" aspect_ratio_info="7"/>
</DESC>
<DESC id="0x08" length="4" value="1000300f">
<VIDEO_WINDOW_DESC horizontal_offset="1024" vertical_offset="768" window_priority="15"/>
</DESC>
<DESC id="0x11" length="1" value="ff">
<STD_DESC leak_valid_flag="1"/>
</DESC>
<DESC id="0x1b" length="1" value="12">
<MPEG4_VIDEO_DESC visual_profile_and_level="0x12"/>
</DESC>
</ES>
<ES pid="121" streamtype="0x04" streamtype_txt="13818-3 audio (MPEG-2)">
<DESC id="0x03" length="1" value="ef">
<AUDIO_STREAM_DESC free_format_tag="1" ID="1" layer="2" ID_txt="MPEG Audio" layer_txt="Layer II" vbr_audio_flag="1"/>
</DESC>
<DESC id="0x0a" length="24" value="656e6700656e6701656e6702656e670362756c0462756c00">
<AUDIO_LANGUAGE_DESC language="eng" audiotype="0" autiotype_txt="undefined"/>
<AUDIO_LANGUAGE_DESC language="eng" audiotype="1" autiotype_txt="clean effects"/>
<AUDIO_LANGUAGE_DESC language="eng" audiotype="2" autiotype_txt="hearing impaired"/>
<AUDIO_LANGUAGE_DESC language="eng" audiotype="3" autiotype_txt="visual impaired commentary"/>
<AUDIO_LANGUAGE_DESC language="bul" audiotype="4" autiotype_txt="reserved"/>
<AUDIO_LANGUAGE_DESC language="bul" audiotype="0" autiotype_txt="undefined"/>
</DESC>
<DESC id="0x52" length="1" value="2e">
<STREAM_IDENTIFIER_DESC component_tag="46"/>
</DESC>
<DESC id="0x1c" length="1" value="13">
<MPEG4_AUDIO_DESC audio_profile_and_level="0x13"/>
</DESC>
<DESC id="0x50" length="12" value="f2032e656e6753746572656f">
<COMPONENT_DESC stream_content="0x02" component_type="0x03" component_tag="46" language="eng" text="Stereo"/>
</DESC>
</ES>
<ES pid="122" streamtype="0x06" streamtype_txt="13818-1 PES private data">
<DESC id="0x46" length="15" value="656e670bff62756c127f6672651940">
<VBI_TELX_DESC language="eng" type="0x1" type_txt="Initial teletext page" mag="3" page="0x255x"/>
<VBI_TELX_DESC language="bul" type="0x2" type_txt="Teletext subtitle page" mag="2" page="0x127x"/>
<VBI_TELX_DESC language="fre" type="0x3" type_txt="Additional information page" mag="1" page="0x64x"/>
</DESC>
<DESC id="0x45" length="27" value="0108e0c1e2c3e4c5e6c70304123456780401ca0504d4f5d6f70600">
<VBI_DATA_DESC>
<VBI_DATA_SERVICE service_id="0x01" length="8" service_txt="EBU teletext">
<VBI_DATA field_parity="1" line_offset="0"/>
<VBI_DATA field_parity="0" line_offset="1"/>
<VBI_DATA field_parity="1" line_offset="2"/>
<VBI_DATA field_parity="0" line_offset="3"/>
<VBI_DATA field_parity="1" line_offset="4"/>
<VBI_DATA field_parity="0" line_offset="5"/>
<VBI_DATA field_parity="1" line_offset="6"/>
<VBI_DATA field_parity="0" line_offset="7"/>
</VBI_DATA_SERVICE>
<VBI_DATA_SERVICE service_id="0x03" length="4" service_txt="reserved">
<VBI_DATA reserved_byte="0x12"/>
<VBI_DATA reserved_byte="0x34"/>
<VBI_DATA reserved_byte="0x56"/>
<VBI_DATA reserved_byte="0x78"/>
</VBI_DATA_SERVICE>
<VBI_DATA_SERVICE service_id="0x04" length="1" service_txt="VPS">
<VBI_DATA field_parity="0" line_offset="10"/>
</VBI_DATA_SERVICE>
<VBI_DATA_SERVICE service_id="0x05" length="4" service_txt="WSS">
<VBI_DATA field_parity="0" line_offset="20"/>
<VBI_DATA field_parity="1" line_offset="21"/>
<VBI_DATA field_parity="0" line_offset="22"/>
<VBI_DATA field_parity="1" line_offset="23"/>
</VBI_DATA_SERVICE>
<VBI_DATA_SERVICE service_id="0x06" length="0" service_txt="Closed Captioning">
</VBI_DATA_SERVICE>
</VBI_DATA_DESC>
</DESC>
</ES>
<ES pid="123" streamtype="0x06" streamtype_txt="13818-1 PES private data">
<DESC id="0x56" length="15" value="656e670bff62756c127f6672651940">
<TELX_DESC language="eng" type="0x1" type_txt="Initial teletext page" mag="3" page="0x255x"/>
<TELX_DESC language="bul" type="0x2" type_txt="Teletext subtitle page" mag="2" page="0x127x"/>
<TELX_DESC language="fre" type="0x3" type_txt="Additional information page" mag="1" page="0x64x"/>
</DESC>
</ES>
<ES pid="124" streamtype="0x06" streamtype_txt="13818-1 PES private data">
<DESC id="0x59" length="24" value="656e67010002000362756c02000300046672650500060007">
<SUBTITLING_DESC language="eng" type="0x1" composition="2" ancillary="3"/>
<SUBTITLING_DESC language="bul" type="0x2" composition="3" ancillary="4"/>
<SUBTITLING_DESC language="fre" type="0x5" composition="6" ancillary="7"/>
</DESC>
</ES>
<ES pid="125" streamtype="0x06" streamtype_txt="13818-1 PES private data">
<DESC id="0x1e" length="2" value="1234">
<SL_DESC es_id="0x1234"/>
</DESC>
<DESC id="0x1d" length="3" value="012345">
<IOD_DESC scope="0x01" iod_label="0x23" iod="0x45"/>
</DESC>
<DESC id="0x1f" length="9" value="112233445566778899">
<FMC_DESC es_id="0x1122" flexmux_channel="0x33"/>
<FMC_DESC es_id="0x4455" flexmux_channel="0x66"/>
<FMC_DESC es_id="0x7788" flexmux_channel="0x99"/>
</DESC>
<DESC id="0x20" length="2" value="1234">
<EXTERNAL_ES_ID_DESC external_es_id="0x1234"/>
</DESC>
<DESC id="0x23" length="6" value="01b66906cc7e">
<MULTIPLEX_BUFFER_DESC mb_buffer_size="112233" tb_leak_rate="445566"/>
</DESC>
<DESC id="0x27" length="9" value="c03039c05ba0c08707">
<METADATA_STD_DESC input_leak_rate="12345" buffer_size="23456" output_leak_rate="34567"/>
</DESC>
<DESC id="0x2c" length="8" value="1234075bcd153742">
<FLEXMUX_TIMING_DESC fcr_es_id="0x1234" fcr_resolution="123456789" fcr_length="55" fmx_rate_length="66"
</DESC>
</ES>
<ES pid="126" streamtype="0x1b" streamtype_txt="H.264/14496-10 video (MPEG-4/AVC)">
<DESC id="0x28" length="4" value="12ca343f">
<AVC_VIDEO_DESC profile_idc="0x12" constraint_set0_flag="1" constraint_set1_flag="1" constraint_set2_flag="0" AVC_compatible_flags="0x0a" level_idc="0x34" AVC_still_present="0" AVC_24_hour_picture_flag="0"/>
</DESC>
<DESC id="0x2a" length="15" value="7f7f00bc614e020f76d20006f855bf">
<AVC_TIMING_AND_HRD_DESC hrd_management_valid_flag="0" picture_and_timing_info_present="1" 90khz_flag="0" N="12345678" K="34567890" num_units_in_tick="456789" fixed_frame_rate_flag="1" temporal_poc_flag="0" picture_to_display_conversion_flag="1"/>
</DESC>
</ES>
<ES pid="127" streamtype="0x0f" streamtype_txt="13818-7 Audio with ADTS transport syntax">
<DESC id="0x42" length="4" value="aabbccdd">
<STUFFING_DESC length="4"/>
</DESC>
<DESC id="0x2b" length="3" value="120500">
<MPEG2_AAC_AUDIO_DESC profile="0x12" channel_config="0x05" additional_info="0x00"
</DESC>
</ES>
</PMT>
<DIT transition_flag="1"/>
<DIT transition_flag="0"/>
<SIT version="0" current_next="1">
</SIT>
<SIT version="1" current_next="1">
<DESC id="0x05" length="4" value="54455354">
<REGISTRATION_DESC identifier="TEST"/>
</DESC>
<SERVICE sid="20000" running_status="1">
<DESC id="0x05" length="4" value="54455354">
<REGISTRATION_DESC identifier="TEST"/>
</DESC>
<DESC id="0x05" length="4" value="54455354">
<REGISTRATION_DESC identifier="TEST"/>
</DESC>
<DESC id="0x05" length="4" value="54455354">
<REGISTRATION_DESC identifier="TEST"/>
</DESC>