• No results found

ATSC Program and System Information Protocol (PSIP)

N/A
N/A
Protected

Academic year: 2021

Share "ATSC Program and System Information Protocol (PSIP)"

Copied!
87
0
0

Loading.... (view fulltext now)

Full text

(1)

ATSC Program and

System Information Protocol

(PSIP)

Reproduction in any form requires written permission from the Sarnoff Corporation.

Michael Isnardi

Sarnoff Corporation

e-mail: [email protected] April 8, 2000

Broadcast

Technology

Society

(2)

Why PSIP exists

• Avoids rebranding expense by broadcasters

• Provides a basic channel selection method

using an electronic program guide

– Simple enough to go in every receiver

– Extensible for higher end products

– Small change in tuning paradigm for consumer

– Compatible with printed media

(3)

ATSC Standards

replaced

by

• Standards documents:

– A/52: AC-3 Audio Compression

– A/53: ATSC DTV Standard (contains video formats)

– A/54: Guide to use of the ATSC DTV Standard

– A/55: Program Guide (Optional)

– A/56: System Information (Optional)

– A/57: Program/Episode/Version Identification

– A/58: Harmonization with DVB SI (Rec. Practice)

– A/63: Standard for Coding 25/50 Hz Video

– A/64: Transmission Measurement & Compliance...

– A/65: Program and System Information Protocol…

– A/66: PSIP Technical Corrigendum No. 1

– A/67: PSIP Technical Amendment No. 1

– A/70: Conditional Access System for Terrestrial Broadcast

– A/80: Modulation and Coding Reqt’s for DTV Apps. Over Satellite

(4)

PSIP = Your DTV Identity

• PSIP = Program and System Information

Protocol

• Covered by ATSC Standard A/65, A/66, A/67

• Combines and Compacts A/55 and A/56

• Must be transmitted by ATSC terrestrial

broadcasters in their DTV Transport Stream

• Is an ATSC (not FCC) requirement

(5)

Program and System Info Protocol

• PSIP features:

– allows navigation and access to each of the channels

within the Transport Stream

– preserves channel branding

– program guide (from 12 hours to 16 days)

– gives the user information for browsing and selection

– key system info (e.g., carrier freqs and source ID’s)

– rating and content advisory info

• ATSC Receiver can scan active channels for

PSIP and can build an integrated guide.

(6)

Electronic Program Guides

Name 6:00 pm 6:30 pm 7:00 pm 7:30 pm 8:00 pm 8:30 pm

Chan

CBZ

City Life

Travel

Movie:

Texas Wild II

6-0

CBZ

City Life

Travel

6-1

CBZ

6-2

LCL

Movie:

Secret Agent

6-3

Local News

Airport Info

Movie:

Texas Wild II

(HDTV)

• Interactive and Useful

- Event and Channel Information

- Automatic Recording

- With Future Extensions, can enable Thematic

Browsing and Sorting

(7)

Scope of PSIP

Ch. 2

Ch. 31

Ch. 46

WXYZ

WXYZ-DT

WPQR-DT

Analog

Digital

Digital

PSIP Data

Must describe its own

DTV programming.

May describe associated

analog channel’s

programming.

May describe

another DTV

channel’s

programming.

(6 MHz)

(6 MHz)

(6 MHz)

(8)

ATSC Transmission System

MPEG-2

Encoder

Video

(one of 18 formats)

AC-3

Encoder

Audio

(up to 5.1 channels) MPEG-2 Bitstream AC-3 Bitstream

Trans-port

Mux

SP Transport Stream (3 - 18 Mb/s)

Data

SP Transport Stream

MP

Trans-port

Mux

PAT: Program Association Table PMT: Program Map Table PSI: Program Specific

Information SP: Single Program MP: Multi Program MP Transport Stream (19.4 Mb/s)

Channel

Coder

&

8-VSB

Modulator

DTV

Transmitter

Single-Program Encoder

PAT

PSI and

PSIP Generator

PSIP

PMT

6 MHz

RF Channel

Program and System Info System Time

(9)

Transport Stream (19.4 Mb/s)

ATSC Decoder

MPEG-2

Decoder

Video

AC-3

Decoder

Audio

MPEG-2 Bitstream AC-3 Bitstream

Program Guide

Database

Single-Program Decoder

8-VSB

Demod-ulator

DTV

Tuner

Physical Channel Select Clock Recovery and A/V Synchronization PCR’s Program Select Time Stamps

Display

Processing

Program Select (from User)

Trans-port

Demux

PSIP Data On-Screen Display

(10)

Tuning Example - PSIP

To A/V/D

Decoders

PID 0x1FFB

Look Up

PID’s

Virtual Channel

Table

Multi-Program

Transport

Stream

Filter PID’s for

Elementary Streams

PID #

Type

PID-V Video

PID-P PCR

PID-A Audio

PID-D Data

“Tune to Program 12-3”

Dump

Other

Packets

Create

Program

Guide

(11)

PSIP Tables

Table

Description

STT

System Time Table - provides date and time

MGT

Master Guide Table - provides version, size and PID’s of all

other tables (except STT)

VCT

Virtual Channel Table - provides attributes for all virtual

channels in this Transport Stream

RRT

Rating Region Table - provides rating information for multiple

geographic regions

EIT

Event Information Table - provides information for events on

the virtual channels

ETT

Extended Text Table - provides detailed descriptions of virtual

channels and events

(12)

PSIP and MPEG Acronyms

bslbf

bit serial, leftmost bit first

CRC

Cyclic Redundancy Check

ETM

Extended Text Message

PAT

Program Association Table

PMT

Program Map Table

PTC

Physical Transmission Channel

sb

smoothing buffer

rpchof

remainder polynomial coefficients, highest order first

uimsbf

unsigned integer, most significant bit first

(13)

What’s Required for Transmission?

… an ATSC, not FCC, requirement...

Table

Required for

Broadcast?

Required for

Cable?

STT

MGT

VCT

RRT

EIT

ETT

4

4

4

(TVCT)

4

4

4

4

(EIT-0, -1, -2, -3)

(all others optional

)

optional

4

(CVCT)

4

optional

optional

Note: CEA and NCTA have agreed on PSIP over cable. Out-of-band profiles are defined in SCTE DVS-234r2.

(14)

Table Hierarchy

Base PID

0x1FFB

STT

MGT

RRT

VCT

Chan A

Chan B

Chan Z

ETT-V

EIT-0

Event(s)

ETT-0

Event(s)

Event(s)

EIT-1

Event(s)

ETT-1

Event(s)

Event(s)

EIT-2

Event(s)

ETT-2

Event(s)

Event(s)

EIT-3

Event(s)

ETT-3

Event(s)

Event(s)

PID-EIT0

PID-ETT0

PID-EIT1

PID-ETT1

PID-EIT2

PID-ETT2

PID-EIT3

PID-ETT3

PID-ETTV

• STT, RRT, MGT and VCT are carried in Transport

Packets with Base PID

• MGT contains PID values for EIT and ETT Transport

Packets

• EIT’s carry event information for 3-hour time slots

•••

Program

Grid

(15)

Generic PSIP Table Format

• PSIP tables follow format of MPEG-2 Systems “Private Sections”

• 9-byte header; N bytes of table data; 4-byte CRC (check sum) trailer

• 10+N bytes following

section_length

field

• 13+N bytes total size

Syntax of MPEG-2 Private Section Bits Format

table_id 8 uimsbf section_syntax_indicator 1 ‘1’ private_indicator 1 ‘0’ reserved 2 ‘11’ section_length 12 uimsbf table_id_extension 16 uimsbf reserved 2 ‘11’ version_number 5 uimsbf current_next_indicator 1 bslbf section_number 8 uimsbf last_section_number 8 uimsbf protocol_version 8 uimsbf actual_table_data 8*N CRC_32 32 rpchof 1 2 2 1 1 1 1 4 N Bytes 3 6 4

Header

(16)

Table Header and Trailer Summary

• Fields that are variable or peculiar to a

specific table are highlighted

Syntax STT

table_id 0xCD section_syntax_indicator ‘1’ private_indicator ‘1’ reserved ‘11’ section_length (allowed values) 17-1021

table_id_extension 0x0000 reserved ‘11’ version_number 0 current_next_indicator ‘1’ section_number 0 last_section_number 0 protocol_version 0 actual_table_data CRC_32 rpchof 1 2 2 1 1 1 1 4 N Bytes 3 6 4 MGT 0xC7 ‘1’ ‘1’ ‘11’ 14-4093 0x0000 ‘11’ 0-31 ‘1’ 0 0 0 rpchof TVCT 0xC8 ‘1’ ‘1’ ‘11’ 13-1021 TSID ‘11’ 0-31 0-1 0-255 0-255 0 rpchof RRT 0xCA ‘1’ ‘1’ ‘11’ 18-1021 rating_region ‘11’ 0-31 ‘1’ 0 0 0 rpchof EIT-j 0xCB ‘1’ ‘1’ ‘11’ 11-4093 source_id ‘11’ 0-31 ‘1’ 0-255 0-255 0 rpchof ETT-k 0xCC ‘1’ ‘1’ ‘11’ 14-4093 ‘11’ 0-31 ‘1’ 0 0 0 rpchof 0x0000

(17)

Other Table Parameters

Parameter STT

Maximum Table Size (bytes) 1024

MGT 4096 TVCT 256*1024 RRT 1024 EIT-j 256*4096 ETT-k 4096

Maximum Cycle Time (msec) 1000 150 400 60000 500

(rec EIT-0) –

Maximum Bit Rate (kbps) 250 250 250 sb_leak_rate 625 625 625 sb_size (bytes) 1024 1024 1024 Typical Table Size (bytes) 20 520 per

chan or event

356

per chan

138 443 901

Maximum Section Size (bytes) 1024 4096 1024 1024 4096 4096 Maximum Sections per Table 1 1 256 1 256 1

(18)

Maximum Cycle Times

MGT

TVCT

EIT-0

STT

RRT

0

1

2

3

4

5

6

7

t (sec)

150 ms

400 ms

500 ms

(recommended)

1 s

60 s

(19)

STT Format

Syntax of STT Table Bits Format or Note

system_time 32

GPS_UTC_offset 8 UTC = GPS - GPS_UTC_offset

Number of GPS seconds since 12 am, 1/6/80 Must be accurate to ± 4 sec

DS_status 1 0 = Not in DST; 1 = In DST

5 Day of month in which transition occurs (1-31) reserved 2 ‘11’

descriptors 8*D Descriptor data 7

D

Bytes

STT Header 9 9*8 STT Header

CRC_32 4 32 32-bit Cyclic Redundancy Check DS_day_of_month

DS_hour 8 Local hour at which transition occurs (0-18)

daylight savings

• In order to calculate correct local time, receiver must:

– calculate UTC (local time in Greenwich, England)

– adjust for local time zone difference

– adjust for daylight savings time (if applicable)

– convert to date and time format for display

(20)

What is GPS?

• Global Positioning System (GPS) units are used for

“System Time” (current date and time of day) in STT and

event start times in EIT’s.

• GPS time begins at midnight, January 6

th

, 1980.

• GPS time is related to Coordinated Universal Time (UTC),

which is the current local time at Greenwich, England.

• UTC = GPS - GPS_UTC_offset (offset = 13 “leap

seconds” as of Jan. 1, 1999)

• Example: UTC = 599,320,813 - 13 = 599,320,800 =

2:00:00 PM, Jan 2

nd

, 1999

(21)

Master Guide Table (MGT)

• Lists key information about all other PSIP

tables (except STT):

– version numbers

– table sizes

– PID’s

• Allows simpler decoder designs since any

change in PSIP status is flagged in this

table.

• Only the base PID (0x1FFB) needs to be

monitored to detect change in PSIP status.

(22)

MGT Format

Syntax of MGT Table Bits Format or Note

16 Number of tables in loop (6 - 370)

table_type 16 0x0000: TVCT with current_next_indicator=1 0x0001: TVCT with current_next_indicator=0 0x0002: CVCT with current_next_indicator=1 0x0003: CVCT with current_next_indicator=0 0x0004: Channel ETT 0x0100 - 0x017F: EIT-0 to EIT-127

0x0200 - 0x027F: Event ETT-0 to Event ETT-127 0x0301 - 0x03FF: RRT with rating_region 1-255 3 ‘111’ reserved 3 ‘111’ 13 Bytes MGT Header 9 9*8 MGT Header

CRC_32 4 32 32-bit Cyclic Redundancy Check reserved

table_type_PID 13 PID for table_type in field above tables_defined

for each table

table_type_version_number

number_bytes

5 Must be the same as version number in actual table

32 Total number of bytes used for this table 4 ‘1111’

reserved

descriptors_length 12 Total length (in bytes) of event descriptors descriptors 8*D2 Descriptor data

table_type_descriptors_length 12 Total length (in bytes) of event descriptors

descriptors 8*D1 Descriptor data 4 ‘1111’

reserved

2 D2 D1

(23)

MGT Example: Time T

0

MGT

tables_defined = 6; version = 8

0x0000

0x0100

0x0101

0x0102

0x0103

0x0301

Type

TVCT

(current_next = 1)

EIT-0

EIT-1

EIT-2

EIT-3

RRT

(rating_region = 1)

Name

0x1FFB

0x1AA0

0x1AA1

0x1AA2

0x1AA3

0x1FFB

PID

Note: Underlined values are variable from station to station.

2

2

2

1

1

0

Version

450

98

68

77

80

990

Bytes

(24)

MGT Example: EIT-1 Content Changes

MGT

tables_defined = 6; version = 9*

0x0000

0x0100

0x0101

0x0102

0x0103

0x0301

Type

TVCT

(current_next = 1)

EIT-0

EIT-1

EIT-2

EIT-3

RRT

(rating_region = 1)

Name

0x1FFB

0x1AA0

0x1AA1

0x1AA2

0x1AA3

0x1FFB

PID

Note: Asterisks indicate changed values

2

2

3*

1

1

0

Version

450

98

73*

77

80

990

Bytes

(25)

MGT Example:

Just prior to EIT Cross-over

MGT

tables_defined = 6; version = 9

0x0000

0x0100

0x0101

0x0102

0x0103

0x0301

Type

TVCT

(current_next = 1)

EIT-0

EIT-1

EIT-2

EIT-3

RRT

(rating_region = 1)

Name

0x1FFB

0x1AA0

0x1AA1

0x1AA2

0x1AA3

0x1FFB

PID

Note: EIT content shifts every three hours. EIT PID shifting is an easy way to implement this

(but not required).

2

2

3

1

1

0

Version

450

98

73

77

80

990

Bytes

(26)

MGT Example:

Just after EIT Cross-over

MGT

tables_defined = 6; version = 10*

0x0000

0x0100

0x0101

0x0102

0x0103

0x0301

Type

TVCT

(current_next = 1)

EIT-0

EIT-1

EIT-2

EIT-3

RRT

(rating_region = 1)

Name

0x1FFB

0x1AA0*

0x1AA1

0x1AA2

0x1AA3

0x1FFB

PID

Note: EIT-0 content is shifted out. EIT-1 becomes EIT-0, etc. PID’s may cycle through a

fixed pool as shown, but this is not required.

2

1

3

1

1

0

Version

450

88

73

77

80

990

Bytes

(27)

Virtual Channel Table (VCT)

• Contains list of channels in the Transport Stream.

• May also include broadcaster’s analog channel

and digital channels in other Transport Streams.

• TVCT = Terrestrial VCT; CVCT = Cable VCT

• Key info in VCT:

– short name

– major and minor channel numbers

– modulation mode and carrier frequency

– Transport Stream ID (TSID) and program number

– source ID, service type, access controlled and hidden flags

– Service Location Descriptor: contains list of PID’s for

(28)

Major and Minor Channel Numbers

• major_channel_number

is used to group all services

associated with a broadcaster’s NTSC brand

• minor_channel_number

specifies a particular channel

within that group. “0” is reserved for analog

service. All other values (1-999) are allowed for

digital services. One suggestion is to start with 1

and to continue numerically.

• A/65, Annex B assigns

major_channel_numbers

as

follows:

– for existing NTSC broadcasters, major_channel_number is

the same as the current NTSC RF channel number (2-69)

– for new DTV broadcasters, major_channel_number is the

same as the new DTV RF channel number (2-69)

– major_channel_numbers in range 70 - 99 may be used to

identify groups of digital services carried separately

(29)

Major-Minor Channel Number Example

RF Ch. 2

RF Ch. 31

“2-0”

“2-1”

RF Ch. 46

“46-1”

WXYZ

WXYZ-DT

WPQR-DT

analog

digital

digital

An existing analog broadcaster with

a second digital channel. Branding

is preserved. The DTV RF channel

number is hidden from the viewer!

A digital-only

broadcaster

(30)

Which Delimiter?

• None specified. All shown are legal.

• Dots and commas may not reproduce well in printed

program guides.

(31)

Channel TSID - What and Why?

• Channel TSID is a 16-bit number that stands for

– Transport Stream ID (digital)

– Transmission Signal ID (analog )

• The receiver may use the Channel TSID to verify

that the Transport Stream acquired at the

referenced carrier frequency is actually the desired

multiplex.

• Can help resolve co-channel issues and instances

where a DTV signal frequency is translated

(32)

Channel TSID

• For digital programs contained in this Transport Stream,

the Channel TSID must match this Transport Stream ID.

• For digital programs contained in other Transport Streams,

the Channel TSID must match the Transport ID of the

other streams.

• For analog programs, the Channel TSID must match the

“Transmission Signal ID”, or must contain 0xFFFF if

unknown.

• TSID Assignments proposed by MSTV (

www.mstv.org

):

– NTSC = even TSID, DTV = odd TSID

– Example

• WNBC (Ch. 4) = 0x086E

(33)

Proposed TSID’s for New York City

2156

2158

2160

2162

2164

2166

2168

0x086C

0x086E

0x0870

0x0872

0x0874

0x0876

0x0878

2157

2159

2161

2163

2165

2167

2169

0x086D

0x086F

0x0871

0x0873

0x0875

0x0877

0x0879

2

4

5

7

11

25

31

56

28

44

45

33

24

30

Chan

Dec

Hex

NTSC

Chan

Dec

Hex

DTV

Transmission Signal ID

(TSID)

Transport Stream ID

(TSID)

(34)

TSID Issues

• If a broadcaster is transmitting the same signal in different

channels, each TSID should be unique.

• If a signal is frequency translated without other

modification, then the TSID will remain the same, but the

carrier frequency listed in the VCT will be wrong. In this

case, receiver should match channel_TSID’s with actual

TSID’s to ensure correct presentation.

• A receiver should minimize reliance on carrier frequencies

listed in the VCT. Instead, a receiver should associate the

TSID with the carrier frequency at which it is found.

(35)

Program Number

0x00B3

Program Number

0x00B3

PAT and PMT

• The Program Association Table (PAT) associates

MPEG-2

Program Numbers

with Program Map Table (PMT) PID’s

• The PMT associates program elements with PID’s

• These tables are

required

for MPEG-2 compliance

Program Association Table (PAT)

table_id = 0x00 •••

transport_stream_id = 0x0AA1 •••

Program Association Table (PAT)

table_id = 0x00 •••

transport_stream_id = 0x0AA1 •••

Program Number PMT PID

0x00F1 0x0100 0x00C2 0x0440 0x00B3 0x0301

Program Number PMT PID

0x00F1 0x0100 0x00C2 0x0440 0x00B3 0x0301

Example PAT

Stream Type PID

PCR 0x0303 Video 0x0303 Audio 0x0206

Stream Type PID

PCR 0x0303 Video 0x0303 Audio 0x0206

Example PMT at

PID 0x0301

(36)

Program Association Table (PAT)

table_id = 0x00 •••

transport_stream_id = 0x0AA1 •••

Program Association Table (PAT)

table_id = 0x00 •••

transport_stream_id = 0x0AA1 •••

TSID and Program Number

• Transport Stream ID and Program Numbers in the

VCT and PAT must match

Program Number PMT PID

0x00F1 0x0100 0x00C2 0x0440 0x00B3 0x0301

Program Number PMT PID

0x00F1 0x0100 0x00C2 0x0440 0x00B3 0x0301

Example PAT

Terrestrial Virtual Channel Table (TVCT)

table_id = 0xC8 •••

transport_stream_id = 0x0AA1 •••

Terrestrial Virtual Channel Table (TVCT)

table_id = 0xC8 •••

transport_stream_id = 0x0AA1 •••

Program Number Channel TSID Descriptor

0x00F1 0x0AA1 Service Location 0x00C2 0x0AA1 Service Location 0x00B3 0x0AA1 Service Location

Program Number Channel TSID Descriptor

0x00F1 0x0AA1 Service Location 0x00C2 0x0AA1 Service Location 0x00B3 0x0AA1 Service Location

Corresponding TVCT

0x0AA0 0x0AA0 Analog program

0x0AA0 0x0AA0 Analog program

0x00F4 0x0AA3 Service Location 0x00E5 0x0AA3 Service Location

0x00F4 0x0AA3 Service Location 0x00E5 0x0AA3 Service Location

(37)

Service Location Descriptor

• The PID’s in the Service Location Descriptor and

in the PMT must match

Program Association Table (PAT)

table_id = 0x00 •••

transport_stream_id = 0x0AA1 •••

Program Association Table (PAT)

table_id = 0x00 •••

transport_stream_id = 0x0AA1 •••

Program Number PMT PID

0x00F1 0x0100 0x00C2 0x0440 0x00B3 0x0301

Program Number PMT PID

0x00F1 0x0100 0x00C2 0x0440 0x00B3 0x0301

Example

PAT

Terrestrial Virtual Channel Table (TVCT)

table_id = 0xC8 •••

transport_stream_id = 0x0AA1 •••

Terrestrial Virtual Channel Table (TVCT)

table_id = 0xC8 •••

transport_stream_id = 0x0AA1 •••

Program Number Channel TSID Descriptor

0x00F1 0x0AA1 Service Location 0x00C2 0x0AA1 Service Location 0x00B3 0x0AA1 Service Location

Program Number Channel TSID Descriptor

0x00F1 0x0AA1 Service Location 0x00C2 0x0AA1 Service Location 0x00B3 0x0AA1 Service Location

Corresponding

TVCT

Stream Type PID

PCR 0x0303 Video 0x0303 Audio 0x0206

Stream Type PID

PCR 0x0303 Video 0x0303 Audio 0x0206

Example

PMT

Stream Type PID

PCR 0x0303 Video 0x0303 Audio 0x0206

Stream Type PID

PCR 0x0303 Video 0x0303 Audio 0x0206

Corresponding Service Location Descriptor

(38)

TVCT Format (1)

Syntax of TVCT Table Bits Format or Note

8 Number of channels in loop (0 - 31)

modulation_mode 8 0x01: analog 0x02: SCTE_mode_1 0x03: SCTE_mode_2 0x04: ATSC (8 VSB) 0x05: ATSC (16 VSB)

0x80: Defined by private descriptor

10 First part of virtual channel number (1 - 99)

carrier_frequency 32 In Hz. Pilot tone for VSB; Pix carrier for analog

27

Bytes

TVCT Header 9 9*8 transport_stream_id is in table_id_extension

major_channel_number

short_name 112 7 BMP Unicode characters num_channels_in_section

for each channel

channel_TSID program_number

16 MPEG-2 TSID or Analog Transmission Signal ID

16 MPEG-2 PAT/PMT number or 0xFFFF for analog

4 ‘1111’ reserved

10 Last part of virtual channel number (0 - 999) minor_channel_number

(39)

TVCT Format (cont’d)

service_type 6

0x01: analog television

0x02: ATSC_digital_television

0x03: ATSC_audio_only (audio and data, no video) 0x04: ATSC_data_broadcast_service (T3/S13)

CRC_32 4 32 32-bit Cyclic Redundancy Check for each channel (cont’d)

source_id 16

Uniquely identifies programming source. 0x0000: reserved

0x0001 - 0x0FFF: must be unique within this TS 0x1000 - 0xFFFF: must be unique at regional level

reserved 6 ‘111111’

descriptors_length 10 Length (in bytes) of descriptors that follow descriptors 8*D1 Descriptor data

additional_descriptors_length 10 Length (in bytes) of additional descriptors additional_descriptors 8*D2 Additional descriptor data

reserved 6 ‘111111’ reserved 6 ‘111111’ ETM_location 2

access_controlled 1 1 = events for this virtual channel may be access controlled

1 1 = virtual channel cannot be accessed by direct user entry

hidden

6

D1

0x00: No ETM

0x01: ETM located in the PTC carrying this PSIP

0x02: ETM located in the PTC specified by the channel_TSID

D2 2

(40)

The Program Number Myth

• MPEG-2 Program Numbers are not related to Major-Minor

Channel Numbers!

• MPEG-2 Program Numbers are hidden from the viewer and

serve to link MPEG-2 data structures (PAT and PMT).

• Major-Minor channels numbers are what viewers “tune to”!

Terrestrial Virtual Channel Table (TVCT)

Terrestrial Virtual Channel Table (TVCT)

Major-Minor Number Program Number Channel TSID Descriptor

12-1 0x00F1 0x0AA1 Service Location 12-2 0x00C2 0x0AA1 Service Location 12-3 0x00B3 0x0AA1 Service Location

Major-Minor Number Program Number Channel TSID Descriptor

12-1 0x00F1 0x0AA1 Service Location 12-2 0x00C2 0x0AA1 Service Location 12-3 0x00B3 0x0AA1 Service Location

What the viewer

“tunes to”

Hidden from the

viewer

Tells the receiver

where to find PID’s

(41)

TVCT Example

TVCT

number_channels_in_section = 5; TSID = 0x0AA1

12

12

12

12

12

Major Num.

0

1

5

12

31

Minor Num.

NBZ

NBZ-D

NBZ-S

NBZ-M

NBZ-H

Short Name

205.25

620.31

Carrier Freq (MHz)

0x0AA0

0x0AA1

0x0AA1

0x0AA1

0x0AA1

Channel TSID

Adapted from A/65

620.31

620.31

620.31

0xFFFF

0x0F21

0x00B2

0x0CC7

0x0CD0

Program Number

analog

digital

digital

digital

digital

Service Type

20

21

38

54

14

Source ID

ch name

ch name;

serv loc

ch name;

serv loc

ch name;

serv loc

ch name;

serv loc

Descrip-tors

(42)

Event Information Tables

• Each EIT spans 3 hours

• Start time for each EIT is constrained to be one of

the following UTC times:

– 0:00 (midnight), 3:00, 6:00, 9:00

– 12:00 (noon), 15:00, 18:00, 21:00

• EIT-0 represents the current 3 hours of

programming

• For terrestrial PSIP, first 4 EIT’s (EIT-0, -1, -2,

-3), representing 12 hours, are required

(43)

EIT Format

Syntax of EIT Table Bits Format or Note

num_events_in_section 8 Number of events in this EIT section for each event:

reserved 2 ‘11’

event_id 14 Event ID. Also part of ETM_id

start_time 32 In units of GPS seconds since 12 am, 1/6/80 reserved 2 ‘11’

ETM_location 2

00 = No ETM

01 = ETM in PTC carrying this PSIP 10 = ETM in PTC carrying this event 11 = [reserved for future ATSC use] length_in_seconds 20 Duration of event in seconds

title_length 8 Length (in bytes) of title_text

title_text 8*T Event title (multiple string structure format) reserved 4 ‘1111’

descriptors_length 12 Total length (in bytes) of event descriptors descriptors 8*D Descriptor data

1 10 T 2 D Bytes

EIT Header 9 9*8 EIT Header

(44)

EIT Example

EIT-0

source_id = 22

num_events_in _section = 3

51

52

53

Event ID

12:30

14:30

Local Start Time

7200

3600

9000

Length (seconds)

Adapted from A/65

15:30

01

(this PTC)

00

(no ETM)

01

(this PTC)

ETM Location

Soccer Live

Golf Report

Car Racing

Title

content_

advisory

closed_

caption

content_

advisory

Descrip-tors

(45)

Source ID’s and Event ID’s

VCT

Channel A

source_id_A

Channel B

source_id_B

Channel C

source_id_C

EIT-0

Event B1

source_id_B event_id_B1

Event C1

source_id_C event_id_C1

Event A3

source_id_A event_id_A3

Event B2

source_id_B event_id_B2

Event A2

source_id_A event_id_A2

Event A1

source_id_A event_id_A1

18:00 - 19:00

19:00 - 20:00

20:00 - 21:00

Source ID’s link events to virtual channels. 0x0001 - 0x0FFF are

unique within this Transport Stream; 0x1000 - 0xFFFF are

unique at the regional level.

(46)

Events that Span EIT Boundaries

VCT

Channel A

source_id_A

Channel B

source_id_B

Channel C

source_id_C

EIT-0

Event B1 event_id_B1

Event C1

event_id_C1

Event A3

event_id_A3

Event B2

event_id_B2

Event A2

event_id_A2

Event A1

event_id_A1

18:00

-19:00

19:00

-20:00

20:00 -

21:00

EIT-1

Event B3

event_id_B3

Event C3

event_id_C3

Event A6

event_id_A6

Event B4

event_id_B4

Event A5

event_id_A5

Event A4

event_id_A4

21:00

-22:00

22:00

-23:00

23:00 -

0:00

Event C2

event_id_C2

Event C2 spans an EIT time interval. It must appear

in both EIT’s, with the same event ID.

(47)

ETT Format

Syntax of ETT Table Bits Format or Note

ETM_id 32

channel ETM_id =

source_id + ’00000000000000’ + ‘00’

event ETM_id =

source_id + event_id + ‘10’

extended_text_message 8*M Multiple string structure message 4

M

Bytes

ETT Header 9 9*8 ETT Header

CRC_32 4 32 32-bit Cyclic Redundancy Check

• The Extended Text Table (optional) is used to provide detailed

descriptions of virtual channels or events.

• These descriptions are called Extended Text Messages (ETM’s).

• The format of the 32-bit ETM_id tells the receiver whether the ETM

describes a channel or and event

• This format allows the receiver to search for a single description quickly

without having to parse the payload of a large table

(48)

Rating Region Table

• The RRT defines the rating standard for a particular

geographic region and/or country

• Each RRT instance is identified by the

rating_region

field in the

table_id_extension

• Only one rating region is currently defined: “US (50 states +

possessions)”

• The Content Advisory Descriptor, which may appear in the

EIT and PMT, indicates, for a given event, the ratings for any

or all of the rating dimensions defined in the RRT.

• Full implementation in the U.S. requires document EIA-766:

“U.S. Region Rating Table (RRT) and Content Advisory Descriptor for Transport

of Content Advisory Information Using ATSC A/65 Program and System

(49)

RRT Format

Syntax of RRT Table Bits Format or Note

8

dimensions_defined 8 Number of rating dimensions (1-255) Length (in bytes) of next field

dimension_name_length 8 Length (in bytes) of next field 3 ‘111’

dimension_name_text var Multiple string structure

values_defined var 4 Number of values for this dimension (1-15)

Bytes

RRT Header 9*8

rating_region is LS byte of table_id_extension 0x00: Forbidden

0x01: US (50 states + possessions) 0x02 - 0xFF: Reserved

9

CRC_32 4 32 32-bit Cyclic Redundancy Check reserved

graduated scale 1 1 if higher values means higher rated content rating_region_name_length

rating_region_name_text var Multiple string structure for each dimension

for each value

abbrev_rating_value_length abbrev_rating_value_text

rating_value_length rating_value_text

8 Length (in bytes) of next field var Multiple string structure

8 Length (in bytes) of next field var Multiple string structure

6 ‘111111’ reserved

descriptors_length 10 Total length (in bytes) of event descriptors descriptors 8*D Descriptor data

(50)

RRT Information for U.S.

• To date, the U.S. is the only rating region that has been defined

• This is documented in EIA-766, Sept. 1998 and summarized below

and in the following slides:

Syntax Element

Value

rating_region

0x01

version_number

00000

rating_region_name_text()

US (50 states + possessions)

dimensions_defined

0x08

Text Formatting

Value

ISO_639_language_code

0x656E67

compression_type

0x00

mode

0x00

number_strings

0x01

number_segments

0x01

(51)

RRT Information for U.S.

RRT

rating_region = 1 (first instance)

rating_region_name_text = “US (50 states + possessions)”

dimension_name = “Entire Audience”; dimension index = 0; grad = “1”

index abbrev

value

0

“ ”

“ ”

1

“None” “None”

2

“TV-G”

“TV-G”

3

“TV-PG” “TV-PG”

4

“TV-14” “TV-14”

5

“TV-MA” “TV-MA”

(52)

RRT Information for U.S.

RRT

rating_region = 1 (first instance)

rating_region_name_text = “US (50 states + possessions)”

dimension_name = “Dialogue”; dimension index = 1; grad = “0”

index

abbrev

value

0

“ ”

“ ”

1

“D”

“D”

From EIA-766, Sept. 1998

index

abbrev

value

0

“ ”

“ ”

1

“L”

“L”

index

abbrev

value

0

“ ”

“ ”

1

“S”

“S”

dimension_name = “Language”; dimension index = 2; grad = “0”

(53)

RRT Information for U.S.

RRT

rating_region = 1 (first instance)

rating_region_name_text = “US (50 states + possessions)”

dimension_name = “Violence”; dimension index = 4; grad = “0”

index

abbrev

value

0

“ ”

“ ”

1

“V”

“V”

index

abbrev

value

0

“ ”

“ ”

1

“TV-Y”

“TV-Y”

2

“TV-Y7”

“TV-Y7’

index

abbrev

value

0

“ ”

“ ”

1

“FV”

“FV”

dimension_name = “Children”; dimension index = 5; grad = “1”

(54)

RRT Information for U.S.

RRT

rating_region = 1 (first instance)

rating_region_name_text = “US (50 states + possessions)”

dimension_name = “MPAA”; dimension index = 7; grad = “0”

index abbrev

value

0

“ ”

“ ”

1

“N/A”

“MPAA Rating Not Applicable”

2

“G”

“Suitable for All Ages”

3

“PG”

“Parental Guidance Suggested”

4

“PG-13” “Parents Strongly Cautioned”

5

“R”

Restricted, under 17 must be accompanied by adult

6

“NC-17” “No One 17 and Under Admitted”

7

“X”

“No One 17 and Under Admitted”

8

“NR”

“Not Rated by MPAA”

(55)

PSIP Descriptors

Descriptor Name Tag Terrestrial

stuffing 0x80 * CAT MGT VCT EIT Cable PMT MGT VCT EIT * * * * * * * AC-3 audio 0x81 M M O caption service 0x86 M M O content advisory 0x87 M M O extended channel name 0xA0 M M

service location 0xA1 S M time-shifted service 0xA2 M M component name 0xA3 M

user private 0xC0- * 0xFE * * * * * * *

Legend

* M O S

descriptor may appear without restrictions

when present, descriptor must appear in location shown

when present, descriptor may optionally appear in second location shown the service location descriptor must be present in the location shown ATSC_CA (cond. access) 0x88 O O

* PMT M O O M *

(56)

AC-3 Audio Descriptor

Syntax Bits Format or Note

8

bsid 5 Same as bsid field in AC-3 stream Number of bytes following this field

langcod2 8 Same as langcod2 field in AC-3 stream 4 Bytes descriptor_tag 8 0x81 2 descriptor_length if num_channels = 0 if bsmod<2 mainid reserved textlen text_code 3 ‘11111’ 5

Identifies main audio service

7 Length of text field that follows 1 1 = ISO Latin-1; 0 = 16-bit Unicode 8*T Brief description of audio service text

3 Sample rate of encoded audio sample_rate_code

else

asvcflags 8 Links main and associated services bit_rate_code 6 Indicates bit rate (exact or upper limit) surround_mode 2 Same as dsurmod field in AC-3 stream bsmod 3 Same as bsmod field in AC-3 stream

num_channels 4 Indicates audio coding or number of channels full_svc 1 Indicates full or partial audio service

langcod 8 Same as langcod field in AC-3 stream

8*A Additional description (not currently defined) additional_info

1

2

T A

(57)

Caption Service Descriptor

Syntax Bits Format or Note

8

number_of_services 5 Number of closed caption services (1-16) Number of bytes following this field

language 24 3-byte language code (ISO 639.2/B) 1 ‘1’

cc_type 1 1 = DTV caption; 0 = line21 caption 7 Bytes descriptor_tag 8 0x86 2 reserved descriptor_length

for each service

if cc_type==line21 reserved line21_field easy_reader wide_aspect_ratio 5 ‘11111’ 1 1 = field 2; 0 = field 1

1 1 = text tailored to needs of beginning readers 1 1 = text formatted for 16:9 displays

14 ‘11111111111111’ reserved

3 ‘111’ reserved

else

caption_service_number 6 Service number for this closed caption stream

For implementation details, see:

(58)

Content Advisory Descriptor

Syntax Bits Format or Note

8

rating_region_count 6 Number of rating regions (1-8) Number of bytes following this field

rating_region 8 Rating region number

rated_dimensions 2 8 Number of rated dimensions

Bytes

descriptor_tag 8 0x87 2

descriptor_length

for each rating region

for each rated dimension rating_dimension_j reserved

rating_description_length

rating_description_text

8 Index into the RRT instance for this region 4 ‘1111’

8 Length of text that follows (1 - 80) 8*T Text in multiple string structure format

2 ‘11’ reserved

rating_value 4 Rating value of this dimension and region 1

2 1 T

(59)

Content Advisory Information for U.S.

• To date, the U.S. is the only rating region that has been defined

• This is documented in EIA-766, Sept. 1998 and summarized below

and in the following slides:

Syntax Element

Value

rating_region

0x01

rated_dimensions

[0x01, 0x08] (program specific)

rating_dimension

[0x00, 0x07] (signifies dimension)

rating_value

Index into Rating Message Table

rating_description_length

0x00

rating_description_text

None

(60)

Content Advisory Descriptor Examples

rating_region 0x01 Rating region = US

rated_dimensions 0x01 Number of rated dimensions rating_dimension_0 0x05 Signifies dimension “Children” rating_value 1 Signifies “TV-Y”

Example 1: “TV - Y”

rating_region 0x01 Rating region = US

rated_dimensions 0x01 Number of rated dimensions

rating_dimension_0 0x00 Signifies dimension “Entire Audience” rating_value 3 Signifies “TV-PG”

Example 2: “TV - PG”

rating_region 0x01 Rating region = US

rated_dimensions 0x01 Number of rated dimensions rating_dimension_0 0x07 Signifies dimension “MPAA” rating_value 4 Signifies “MPAA-PG13”

Example 3: “MPAA - PG13”

(61)

Content Advisory Descriptor Examples

rating_region 0x01 Rating region = US

rated_dimensions 0x02 Number of rated dimensions

rating_dimension_0 0x00 Signifies dimension “Entire Audience” rating_value 4 Signifies “TV-14”

Example 4: “TV - 14 - V”

rating_dimension_1 0x04 Signifies dimension “Violence” rating_value 1 With Above, Signifies “TV-14-V”

rating_region 0x01 Rating region = US

rated_dimensions 0x03 Number of rated dimensions

rating_dimension_0 0x00 Signifies dimension “Entire Audience” rating_value 5 Signifies “TV-MA”

Example 5: “TV - MA - L - S”

rating_dimension_1 0x02 Signifies dimension “Language” rating_value 1 With Above, Signifies “TV-MA-L” rating_dimension_2 0x03 Signifies dimension “Sex”

(62)

ATSC Conditional Access Descriptor

Syntax Bits Format or Note

8 Number of bytes following this field

Bytes

descriptor_tag 8 0x88 2

descriptor_length

16 Conditional Access System ID (privately defined)

CA_system_ID 2

• The ATSC Conditional Access System (A/70) requires PSIP

in order to be implemented. However, PSIP does not

require CA descriptors.

• If present in the VCT, the CA descriptor is applicable to all

events on that virtual channel.

• The CA descriptor can be made event-specific by placing it

in the EIT.

(63)

Extended Channel Name Descriptor

Syntax Bits Format or Note

8 Number of bytes following this field

Bytes

descriptor_tag 8 0xA0 2

descriptor_length

8*T Text in multiple string structure format long_channel_name_text T

The short name for a virtual channel is limited to 7 Unicode characters.

This descriptor is used to provide a longer name for a virtual channel.

(64)

Service Location Descriptor

Syntax Bits Format or Note

8

number_elements 8 Number of PID’s used for this program Number of bytes following this field

stream_type 8

0x00: ITU-T/ISO/IEC reserved

0x01-0x7F: As specified in Table 2.29 (stream type assignments) of MPEG-2 Systems, ISO/IEC 13818-1

0x80: Used in other systems 0x81: ATSC A/53 audio 0x82-0x84: Used in other systems 0x85: UPID (ATSC A/57) 0x86-0xBF: Reserved

0xC0-0xFF: User private

elementary_PID 13 PID for this elementary stream 6

Bytes

descriptor_tag 8 0xA1 2

descriptor_length

for each element

ISO_639_language_code

reserved

24 Language used for this elementary stream 3 ‘111’

3 ‘111’ reserved

3 13 PID of TS packets containing PCR for this program

PCR_PID

(65)

Time Shifted Service Descriptor

Syntax Bits Format or Note

8

number_of_servcies 5 Number of time-shifted services (1-20) Number of bytes following this field

time_shift 10 Number of minutes this service is shifted (1-720)

5

Bytes

descriptor_tag 8 0xA2 2

descriptor_length

for each service

major_channel_number reserved

10 Major channel number (1-99) of time shifted service

6 ‘111111’ 3 ‘111’ reserved

1

reserved 4 ‘1111’

minor_channel_number 10 Minor channel number (0-999) of time shifted service

This descriptor can be used for Near Video On Demand (NVOD) services,

in which the same event is repeated, usually at regular intervals, on different

virtual channels.

(66)

Component Name Descriptor (in PMT)

Syntax Bits Format or Note

8 Number of bytes following this field

Bytes

descriptor_tag 8 0xA3 2

descriptor_length

8*T Name in multiple string structure format component_name_string T

This descriptor can be used to provide a name for a component listed in the

Program Map Table (PMT). If used, it must appear in the PMT.

(67)

Multiple String Structure Format

Syntax Bits Format or Note

number_strings 8 Number of strings in the following data

ISO_639_language_code 24 Language used for this string

number_segments 4 8 Number of segments in the following data

Bytes

for each string

for each segment

compression_type

number_bytes

8

8 Number of bytes in field that follows

compressed_string_byte 8*S A byte of this segment 1

3

0x00: No compression

0x01: Huffman coding using standard encode/ decode defined in Table C.4 and C.5 in A/65 Annex C.

0x02: Huffman coding using standard encode/ decode defined in Table C.6 and C.7 in A/65 Annex C.

0x03-0xAF: Reserved 0xB0-0xFF: User private

mode 8

0x00-0x3E: 8-bit Unicode™ 0x3F: 16-bit Unicode™

0x40-0xDF: Reserved for future ATSC use 0xE0-0xFE: User private

0xFF: Text mode is not applicable

(68)

Huffman-Based Text Compression

• First-order (two-character) Huffman coding may be used

for text compression

• Receivers must support Huffman decoding (requires less

than 2KB of storage)

• Optimized Huffman tables for Titles and Program

Descriptions are provided

T h e

n e x t

010 0 0 01 10010100 01101110 010 00010011 01 010 <term> <term> assumed

Uncompressed:

9 bytes = 72 bits

Compressed:

39 bits

“T” followed by an “h”

is much more likely than

“e” followed by “x”

“ ” followed by an “n”

uses an 8-bit escape sequence

followed by the ASCII code for “n”

(69)

“Dino World”

Program Guide Formation

NBZ

Local News

“Dino World”

12-0

NBZ

Local News

12-1

NBZ-S

Soccer - World Cup

Golf

12-2

(1997) Harrison Pontiac, Peg O’Ryan Dinosaurs eat Newark, NJ in this Francis Ford Spielberg oscar-winning film.

April 8, 2000 6:11 pm

Chan Name 6:00 pm 6:30 pm 7:00 pm 7:30 pm 8:00 pm 8:30 pm

Table Tennis

PG-13

STT

VCT

EIT-0

ETT-0

News & Movies

ETT-V

CC (Eng, Fr)

RRT

& Content Advisory Caption Service Subscription Only Conditional Access

(70)

Interra MProbe Demo

(71)

Example: Sarnoff’s “Lipsync4” Bitstream

TVCT

PID = 0x1FFB

“source1”

6-1 source_id = 4092

“source2”

6-2 source_id = 4091

“source3”

6-3 source_id = 4090

EIT-0

PID = 0x1FFA

“704x480 source2”

source_id = 4091; event_id = 256 start_time = 573827062; length_in_seconds = 300

“704x480 source3”

source_id = 4090; event_id = 320 start_time = 573827062; length_in_seconds = 300

“704x480 source1”

source_id = 4092; event_id = 192 start_time = 573827062; length_in_seconds = 300

“source4”

6-4 source_id = 4089

“704x480 source4”

source_id = 4089; event_id = 384 start_time = 573827062; length_in_seconds = 300

Service Location Descriptor:

PCR PID 0x61 MPEG-2 Video PID 0x61 AC-3 Audio PID 0x64

(72)

Forming PSIP Packets

• PSIP tables can start at any byte in a Transport Packet

except for MGT, whose first byte must be the first payload

byte. For MGT packets carrying the table_id field:

– payload_unit_start_indicator = 1

– pointer_field = 0x00.

• Table sections may span packet boundaries.

• More than one PSIP table may be present within a single

Transport Packet.

– pointer_field used to indicate offset of first table header

– subsequent table locations found by section_length fields

• If packet payload does not include start of any PSIP table:

– payload_unit_start_indicator = 0

– pointer_field not present

(73)

Forming PSIP Packets

sync_byte (8 bits)

Generic PSIP Transport Packet Format

transport error indicator (1 bit) payload unit start indicator (1 bit) transport priority (1 bit) PID (13 bits) transport scrambling control (2 bits) adaptation field control (2 bits) continuity counter (4 bits)

0x47

0

0 or 1

0

PID

00

01

CC

Pay-load

PSIP requires “01” for this field,

meaning “no adaptation field,

payload only”

PSIP requires “00” for this field,

meaning “payload not scrambled”

PSIP requires “0x1FFB” for STT, MGT, VCT and RRT.

EIT and ETT PID’s are defined in the MGT.

• For MGT packet carrying

table_id: PSIP requires “1” for this field and 0x00 for pointer field.

• If other tables start in this packet, PSIP requires “1” for this field, and a valid number for the pointer field.

• If no tables start in this packet, PSIP requires “0” for this field and no pointer field

PF

pointer field (8 bits)

(74)

Example PSIP Packets

0x47 0 1 0 0x1FFB 00 01 CC

0x00

MGT

MGT

& STT

STT

sync tei pusi tpi PID tsc afc cont pointer

stuffing

0x47 0 1 0 0x1FFB 00 01 CC

0x80

End of VCT

VCT

& RRT

RRT

188 bytes

0x47 0 0 0 0x1FD0 00 01 CC

Middle of EIT-0 Section

EIT-0

(no pointer field) (PID pointed

(75)

PSIP Generation/Insertion

NTSC PLANT [24] Etc. NTSC INPUT DATA EXTRACTOR [31] DATA INSERTER [33] DATA BRIDGE [32] PSIP, UPID and PSI GENERATOR M A T S C M U X [90] DIGITAL OUTPUT DATA SERVER [88] M MUX [81] VIDEO ENCODER [79] AUDIO ENCODER [80] DATA EXTRACTOR [77] DIGITAL PLANT [70] Etc. WAN [89] DECODERS [52-53] Etc. DEMUX [50] [57] M DIGITAL INPUT NTSC OUTPUT

TOP-DOWN DATA PLANE

(taken from ATSC Implementation Subcommittee’s “Top Down”

Report)

Management and Control Plane Interface

Ensures consistency between PAT/PMT &

(76)

Relevant PSIP Documents

• PSIP Standard (A/65)

– “Program and System Information Protocol for Terrestrial

Broadcast and Cable”, ATSC Document A/65, 23 Dec 1997.

– Available at

www.atsc.org

• PSIP Corrigendum 1 (A/66)

– “Technical Corrigendum No. 1 to ATSC Standard: Program

and System Information Protocol for Terrestrial Broadcast

and Cable Doc. A/65 (23 Dec 97)”, ATSC Document A/66,

17 Dec 1999.

– Flips polarity of 2 reserved bits in the tables

– Revises core descriptor table

– Adds Informative Annex G (PSIP for Cable)

– Available at

www.atsc.org

(77)

Relevant PSIP Documents (cont’d)

• PSIP Amendment 1 (A/67)

– “Amendment No. 1 to ATSC Standard: Program and System

Information Protocol for Terrestrial Broadcast and Cable

Doc. A/65 (23 Dec 97)”, ATSC Document A/67, 17 Dec 99.

– Provides a means to deal with currently inactive channels

– Available at

www.atsc.org

• Conditional Access System for Terrestrial B’cast (A/70)

– Defines ATSC_CA_descriptor for VCT and EIT

• “U.S. Region Rating Table (RRT) and Content Advisory

Descriptor for Transport of Content Advisory Information

Using ATSC A/65 Program and System Information

Protocol (PSIP)”, September 1998 (EIA-766)

– Used for rating and content advisory in the U.S.

(78)

PSIP and Data Services (T3/S13)

• The Draft ATSC Data Broadcast Standard

lists several requirements for PSIP:

– Each virtual channel in the VCT shall include no

more than one data service

– The data elementary stream is listed in the Service

Location Descriptor

– The Data Event Table (DET) announces data

services.

– DET’s are similar to EIT’s in structure, time span

and other constraints.

– Long Term Service Table (LTST) can announce

data events far into the future.

(79)

Data Event Table Format (draft)

Syntax of DET Table Bits Format or Note

num_data_in_section 8 Number of events in this DET section for each data:

reserved 2 ‘11’

data_id 14 Data ID. Also part of ETM_id

start_time 32 In units of GPS seconds since 12 am, 1/6/80 reserved 2 ‘11’

ETM_location 2

00 = No ETM

01 = ETM in PTC carrying this PSIP 10 = ETM in PTC carrying this event 11 = [reserved for future ATSC use]

length_in_seconds 20 Duration of data in sec (unbounded = 0xFFFFF)

title_length 8 Length (in bytes) of title_text (0 = no title) title_text 8*T Data title (multiple string structure format) reserved 4 ‘1111’

descriptors_length 12 Total length (in bytes) of data descriptors descriptors 8*D Descriptor data

1 10 T 2 D Bytes

DET Header 9 9*8 DET Header (table_id = 0xCE)

(80)

DET Example

DET-0

source_id = 22

num_data_in _section = 3

71

72

73

Data ID

12:30

14:30

Local Start Time

7200

3600

9000

Length (seconds)

Adapted from draft ATSC

Data Broadcasting Standard

15:30

01

(this PTC)

00

(no ETM)

01

(this PTC)

ETM Location

Oodles ‘o bits

Solitaire

Game Pak

Title

data_

service

data_

service

data_service, PID_count Descrip-tors

(81)

Data Service Descriptor

Syntax Bits Format or Note

8 Number of bytes following this field

Bytes descriptor_tag 8 0xA4 2 descriptor_length 8 data_service_profile 1

Note: a Data Service Descriptor is required for every data event

0x00: reserved

0x01: ATSC Data Bcast Service Profile G1 0x02: ATSC Data Bcast Service Profile G2 0x03: ATSC Data Bcast Service Profile G2 0x04: ATSC Data Bcast Service Profile A1 0x05-0xFF: ATSC reserved

8 data_service_level 1

0x00: no synchronized stream in service 0x01: Data Service Level 1 (DBESn = 120120 B)

0x02-0x03: ATSC reserved

0x04: Data Service Level 4 (DBESn = 480480 B)

0x05-0x0F: ATSC reserved

0x10: Data Service Level 16 (DBESn = 1921920 B)

0x11-0x3F: ATSC reserved

0x40: Data Service Level 64 (DBESn = 7687680 B)

0x41-0xFF: ATSC reserved

private_data_length 8 Length in bytes of field that follows for each byte

private_data_byte 8 Private data 1

(82)

Data Profile Attributes (draft)

383,896

b/s

5

960

4500

System Latency

(seconds)

sb_leak

(x 400 b/s)

sb_size

(bytes)

Max Terrestrial

Data Rate

Profile

G1

Attributes

3,838,960

b/s

10

9600

4500

Profile

G2

19.2

Mb/s

10

48,000

10,000

Profile

G3

19.2

Mb/s

N/A

48,000

10,000

Profile

A1

Guranteed BW

Opportun-istic BW

(83)

PID Count Descriptor (draft)

Syntax Bits Format or Note

8 Number of bytes following this field

Bytes descriptor_tag 8 0xA5 2 descriptor_length 3 ‘111’ reserved 2

This optional descriptor can help the receiver determine resources required

for PID handling.

13

Max number of concurrent PID’s for the data services. Shall include PID’s for Data Service Table and Network Resources Table total_number_of_PIDs

3 ‘111’ reserved

2

13

Minimum number of PID’s that a receiver must acquire simultaneously to provide a meaning-ful rendition of the service. 0 means the

minimum number is unspecified. min_number_of_PIDs

(84)

Long Term Service Table (draft)

This is a special Data Event Table that can announce data services beyond the

currently defined time period (far into the future).

Syntax of LTST Table Bits Format or Note

num_data_in_section 8 Number of events in this DET section for each data:

reserved 1 ‘1’

AV_association_flag 1 1 means the data is associated with AV event start_time 32 In units of GPS seconds since 12 am, 1/6/80 length_in_seconds 16 Duration of data in sec (unbounded = 0xFFFFF)

title_length 8 Length (in bytes) of title_text (0 = no title) title_text 8*T Data title (multiple string structure format) reserved 4 ‘1111’

descriptors_length 12 Total length (in bytes) of data descriptors descriptors 8*D Descriptor data

1 10 T 2 D Bytes

LTST Header 9 9*8 LTST Header (table_id = 0xD2)

CRC_32 4 32 32-bit Cyclic Redundancy Check data_id 14 Data ID.

reserved 7 ‘1111111’

(85)

Relevant Committee Work

• T3/S8 PSIP Ad Hoc Groups

PSIP Ad Hoc Group

(Art Allison, chair)

Directed Channel Change:

Provides a means to enable

directed channel change, either by direct viewer selection or

automatically (Merrill Weiss, chair)

Extensions to Accommodate Non-Alphabetic Characters

:

needed to support PSIP in other ATSC countries, such as

Korea and Taiwan. Draft Recommended Practice has been

prepared. (Chao Yang, chair)

Advanced EPG Functionality

: Looking at content-based

description of events to allow improved browsing (Regis

Crinon and Paul Martinez, chairs)

(86)

Relevant Committee Work (cont’d)

• Other Topics (closed):

– GPS Time Annex

– NVOD clarification

– ETT table_id_extension

– Unicode issues

– Clarify events that cannot overlap

– Correct private indicator bit in Table 4.1

• Other Topics (still open)

– VCT scaling

– Transmission of VCT’s with different branding (cable/air)

– Private descriptors

– Single-part channel numbers (cable)

– Version management of shifting EIT’s

– Clarify situations where analog pointer is to be believed

(87)

Thank you!

• And thanks to the following for reviewing

and improving this presentation:

– Art Allison (NAB)

– Jean-Louis Diascorn (Thomson Consumer

Electronics)

– Art Greenberg (formerly of Sarnoff)

– Tom Gurley (MSTV)

– Bernie Lechner (Consultant, T3/S8 chair)

– Gomer Thomas (LGERCA)

References

Related documents