Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2010 Triveni Digital, Inc.

Similar presentations


Presentation on theme: "Copyright © 2010 Triveni Digital, Inc."— Presentation transcript:

1 Copyright © 2010 Triveni Digital, Inc.
Digital TV & MPEG-2 Technology MPEG 101 and PSIP for Cable SCTE-New Jersey Chapter October 5, 2010 Copyright © 2010 Triveni Digital, Inc.

2 Basic MPEG and PSIP in Cable
Triveni Digital presents Digital Television: MPEG 101 and PSIP In Cable Copyright © 2010 Triveni Digital, Inc.

3 Digital Television Let’s talk about:
DTV is more about Data Transmission. “Just so happens that some of the data being transmitted ends up as Video”. Copyright © 2010 Triveni Digital, Inc.

4 Copyright © 2010 Triveni Digital, Inc.
Digital Television There is much more data beside video being transmitted ! Copyright © 2010 Triveni Digital, Inc.

5 Let’s first talk about:
DTV = Data Casting Data is organized into ‘tables’ Examples: Program Association ‘Table’ Progam Map ‘Table’ Conditional Access ‘Table’ Virtual Channel ‘Table’ Master Guide ‘Table’ Event Information ‘Tables’ Copyright © 2010 Triveni Digital, Inc.

6 Let’s talk about some basic MPEG transport technology
Copyright © 2010 Triveni Digital, Inc.

7 Copyright © 2010 Triveni Digital, Inc.
MPEG 101+ Copyright © 2010 Triveni Digital, Inc.

8 Training Overview MPEG Transport Stream Basics PSI Tables metadata
Packet header PSI Tables metadata PAT PMT Elementary streams Encoding/Group Of Pictures (GOP) Synchronization Buffering IP monitoring & synchronization Monitoring and Troubleshooting streams StreamScope architecture Typical use case In The 2nd half of this presentation: PSIP Tables metadata Static tables Dynamic tables Copyright © 2010 Triveni Digital, Inc.

9 Copyright © 2010 Triveni Digital, Inc.
DTV Broadcast Stream Special case of MPEG-2 transport stream May contain multiple virtual channels Video channels A video stream One or more audio streams Possibly one or more data streams Audio channels Data-only channels One or more data streams Copyright © 2010 Triveni Digital, Inc.

10 MPEG-2 Transport Stream
Made up of 188-byte transport packets, each with 4 byte header & 184 byte payload Each packet contains any ONE kind of information– audio, video, data, PSI, … One Transport (MPEG) Packet Copyright © 2010 Triveni Digital, Inc.

11 MPEG-2 Transport Stream (Contd.)
We say transport packets have multiple interleaved elementary streams -- audio, video, data, PSI, ... Packets belonging to the same elementary stream are identified by packet id (PID) in packet header (same color in our illustrations). MPEG-2 Transport Stream These three packets are the same color. They have the same PID and belong to the same Elementary stream. Copyright © 2010 Triveni Digital, Inc.

12 MPEG-2 Transport Stream – Header Fields
Noteworthy fields: Sync Byte – Find packet boundary PID – Used while demultiplexing stream Continuity Counter – Identify packet loss PCR stamp in adaptation field – Clock sync Adaptation Field Continuity Counter Sync Byte PID 188 Bytes Header (4 Bytes) PES 1 (Optional) PES x Or other Payload (Pat, PMT, PSIP, etc)……………………………... MPEG-2 Transport Stream Copyright © 2010 Triveni Digital, Inc.

13 MPEG Header Fields: Sync Byte
When a decoder first tunes, all it sees are a stream of 0’s and 1’s The decoder must first identify the beginning of packets before it can interpret the stream The decoder uses the Sync Byte field to do this MPEG Data Prior to Packet Sync Copyright © 2010 Triveni Digital, Inc.

14 MPEG Header Fields: Sync Byte (Contd.)
The Sync Byte of a packet is always 0x47 (Hexadecimal) or binary The decoder looks for strings of zeros and ones which match the pattern of the sync byte (see red below) Copyright © 2010 Triveni Digital, Inc.

15 MPEG Header Fields: Sync Byte (Contd.)
Once the decoder finds a 0x47 in the stream, it looks 187 bytes down the stream, and looks for another 0x47 If it finds three Sync Bytes in a row, then the Decoder has Found Sync and assumes packet boundaries from then on Each packet is tested for 0x47 as soon as it arrives. If a packet arrives with an incorrect sync byte, the decoder starts over. This is called SYNC LOSS Found Sync 0x47 187 bytes Packet 188 bytes Sync Lost 0x32 Packet 188 bytes Copyright © 2010 Triveni Digital, Inc.

16 MPEG Header Fields: Sync Byte (Contd.)
If you don’t have Packet Sync, the decoder cannot find packet boundaries. You will not be able to decode at all Packet Sync problems typically occur in hardware at packet boundaries during format converters, edge devices, demodulators etc: ASI to Gig-E ASI to Microwave or QAM Satellite to ASI Copyright © 2010 Triveni Digital, Inc.

17 PIDs Defined - ATSC Bitstream
PSIP Tables PSIP Generator PAT PMT Null Video Audio Data PSIP Data channel Data Server Data Server Data- enhanced Audio/Video channel Multi-plexer Audio Encoder Video Encoder Audio Encoder Audio/Video channel Video Encoder MPEG-2 Transport Stream Copyright © 2010 Triveni Digital, Inc.

18 PIDs Defined - Digital Cable Bitstream
Audio Encoder Video/Audio channel PAT Video Audio PMT Video Encoder Video Null Audio CAT Video Audio Encoder Video/Audio channel Audio Video Video Encoder Audio Multi-plexer Audio Encoder Video/Audio channel Video Encoder Video/Audio channel Audio Encoder Video Encoder MPEG-2 Transport Stream Copyright © 2010 Triveni Digital, Inc.

19 Transport Stream Demultiplexing
When a set top box first receives a Transport Stream, it demultiplexes that stream based on PID. Decoder: Receiver or set top box Copyright © 2010 Triveni Digital, Inc.

20 Copyright © 2010 Triveni Digital, Inc.
MPEG 101 Knowledge Check #1 Q: How many of what must the decoder see before it can begin decoding a digital video stream ? Copyright © 2010 Triveni Digital, Inc.

21 PSI Meta Data In the Stream

22 Copyright © 2010 Triveni Digital, Inc.
‘Metadata’ ? Data about included data, is metadata Metadata tells the decoder which kinds of information are contained in each PID, and which PID’s go together. For DTV, we’re interested in two kinds of metadata: Program Specific Information (PSI) - Tables in the stream defined in the MPEG standards Program and System Information Protocol (PSIP) -Tables defined in ATSC A/65 Copyright © 2010 Triveni Digital, Inc.

23 PSI Tables (MPEG-2 Tables)
PAT - Program Association Table Appears in PID 0x0000 Identifies MPEG-2 programs in transport stream and gives PIDs for their PMTs The PAT is on PID 0x00. This is the first PID or ‘Base PID’ a MPEG decoder looks for PMT - Program Map Table Identifies elementary streams in program (virtual channel), and gives their PIDs. Copyright © 2010 Triveni Digital, Inc.

24 MPEG-2 PSI Tables (Contd.)
PMT 1 Video PID 0x31 Audio PID 0x34 Audio PID 0x35 PCR_PID 0x31 PMT 2 Video PID 0x41 Audio PID 0x44 Audio PID 0x45 PCR_PID 0x41 PMT 3 Video PID 0x51 Audio PID 0x54 Audio PID 0x55 PCR_PID 0x51 PID 0x30 PAT (always on PID 0x0) Station TSID PMT 1 -> On PID 0x30 PMT 2 -> On PID 0x40 PMT 3 -> On PID 0x50 PID 0x40 PID 0x50 The PAT always appears on pid 0. This is often called the MPEG-2 Base PID; it is the first PID a set top box looks at once it has acquired sync. The PAT contains a reference for each PMT in the Transport Stream. Each service in the stream will have it’s own PMT Each PMT contains information crucial for the decoding of it’s service. It contains a list of audio and video PID’s associated with that service, as well as a value called PCR_PID The PCR_PID is usually the same as the video. The PCR_PID is the one which contains the Program Clock Reference, or time base, for the service. Copyright © 2010 Triveni Digital, Inc.

25 MPEG-2 PSI Tables (Contd.)
Decoder: Receiver or Set top Box “WXXX Channel Audio” PID 0x34 “WXXX Channel Video” PID 0x31 Program Specific Information (PSI) tells the decoder which kinds of information are contained in each PID, and which PID’s go together. For example: JRM Channel has an audio component and a video component. The audio component arrives at the decoder on packets with PID 32. The video arrives at the decoder with PID 34. These two PID’s are synchronized; they share the same Time Base. We know this because the audio and video are in sync. The PSI tells the decoder which packets to decode when a user tunes to “The HPO Movie Channel.” Namely, PID 342 and It also informs the decoder that these two PID’s are synchronized, and where to find the timing information. PSI PID assignments These PIDS go together Copyright © 2010 Triveni Digital, Inc.

26 Continuity Counter

27 MPEG Header: Continuity Counter
The continuity counter is a 4 bit field in the header which increments by 1 each time a packet comes out on a specific PID: All Packets PID 0x52 1 2 3 4 5 6 7 8 14 15 1 When a PID ‘skips’ one value of the continuity Counter, we call it a ‘Continuity Error.’ This means one or more packets were lost. Continuity Error Here All Packets PID 0x54 1 2 3 7 8 9 10 11 Copyright © 2010 Triveni Digital, Inc.

28 MPEG Header: Continuity Counter (Contd.)
Identifies WHEN we lose Packets, but not HOW MANY! Packet loss causes many other kinds of analysis to ‘reset’ or give bogus results. Any analysis based on an average over many packets will automatically reset when it encounters continuity problems. Since a continuity error mean ‘some packets’ have been lost, frequent continuity errors should be one of the FIRST things you look for when debugging. Copyright © 2010 Triveni Digital, Inc.

29 Three Things to Remember
Three main monitoring and troubleshooting lessons: Fix Continuity Problems first Continuity errors create bogus alarms in other areas. Until you resolve the continuity problems, it will be very hard to determine if you have other problems in your stream To Be Discussed Copyright © 2010 Triveni Digital, Inc.

30 Copyright © 2010 Triveni Digital, Inc.
MPEG 101 Knowledge Check #3 Q: If the continuity counter on a given PID changes from 3 to 7, how many packets have been lost? Copyright © 2010 Triveni Digital, Inc.

31 Elementary streams: Encoding Video & Audio Data

32 MPEG-2 Video/Audio Encoding
It all starts at the encoder The encoder compresses baseband video & audio Video is a sequence of frames A frame is a single image from a video sequence In USA, one frame occurs every 33 milliseconds Each frame is encoded in one of three ways: Copyright © 2010 Triveni Digital, Inc.

33 MPEG-2 Video/Audio Encoding
I Frames I-picture: intra-picture encoding, similar to jpeg encoding (exploiting spatial redundancy). Compressed solely on information found in the frame Highest amount of data of all other frame types ‘Group Of Pictures’ always start with an I frame B & P frames are calculated from the I frame “I” stands for “Intra” coded Copyright © 2010 Triveni Digital, Inc.

34 MPEG-2 Video/Audio Encoding
B Frames B-picture: bi-directional encoding, using motion adjusted deltas from a previous and a future frame (exploiting temporal redundancy). Uses Data from preceding and following I & P frames Depends on data before and/or after in video sequence Cannot calculate from another B frame Copyright © 2010 Triveni Digital, Inc.

35 MPEG-2 Video/Audio Encoding
P Frames P-picture: predictive encoding, using motion adjusted deltas from a previous reference frame (exploiting temporal redundancy). Compressed using data from closest preceding I or P frame GOP with back-to-back P frames usually indicate fast motion Copyright © 2010 Triveni Digital, Inc.

36 MPEG-2 Video/Audio Encoding
Encoder emits sequence of encoded frames Sizes of encoded frames vary Encoded frames are packed into packetized elementary stream (PES) packets. PES packets are packed into MPEG-2 transport packets (All packets for single video stream have same PID value) Overall compression ratio is 50:1 or more Closed captioning associated with video frame is encoded here Copyright © 2010 Triveni Digital, Inc.

37 MPEG-2 Video/Audio Encoding
Group of Pictures = GOP Series of frames consisting of a single ‘I’ frame with P & B frames A GOP begins with an ‘I’ frame and ends with last frame before the next ‘I’ frame All frames within the GOP depend directly or indirectly on data from the I frame Relationships between GOPs: Either OPEN or CLOSED Closed GOP is self-contained. No dependance on data outside GOP Open GOP can use data from I frame of following GOP Copyright © 2010 Triveni Digital, Inc.

38 MPEG-2 Video/Audio Encoding (Contd.)
Example 1. Panning Camera I-picture B-picture I-picture Example 2. Moving Object I-picture B-picture I-picture Copyright © 2010 Triveni Digital, Inc.

39 MPEG-2 Video/Audio Encoding
Typical GOP Structures P I B P Frame 83.45 Kb I Frame 216.6 Kb B Frame 49.9 Kb Typical low motion GOP sequence P I P Frame 44.5 Kb I Frame 183.2 Kb 59.9 Kb Typical high motion GOP sequence Copyright © 2010 Triveni Digital, Inc.

40 ATSC/SCTE Audio Formats
ATSC uses AC-3 audio encoding, with up to 6 audio channels: left, right, center, left surround, right surround, low frequency enhancement. The full set is often called 5.1 audio. The sampling rate is always 48 kHz. The encoded bit rate may be up to 384 kbps. Copyright © 2010 Triveni Digital, Inc.

41 Copyright © 2010 Triveni Digital, Inc.
AC-3 Audio Encoding Audio frames, each 32 milliseconds in length, are encoded. Encoded frame size depends only on bitrate. Encoded frames are packed into packetized elementary stream (PES) packets. PES packets are packed into MPEG-2 transport packets. (All packets for single audio stream have same PID value.) Copyright © 2010 Triveni Digital, Inc.

42 Copyright © 2010 Triveni Digital, Inc.
MPEG 101 Knowledge Check #4 Q: In MPEG-2 video encoding, what are the three video frame types called? Copyright © 2010 Triveni Digital, Inc.

43 Video and Audio Syncronization using PCR

44 Audio-Video Synchronization
Audio, video are encoded independently, must be synchronized during play MPEG has to allow for great distances AND network processing between the Encoder and Decoder and still allow for Correct Decode of the transport stream Copyright © 2010 Triveni Digital, Inc.

45 How to Assure Audio/Video Sync?
In order for the audio and video Elementary Streams to remain in Sync, the Encoder Clock and the Decoder Clock must remain in sync The next few slides will demonstrate how this happens and what components to check when it fails… Copyright © 2010 Triveni Digital, Inc.

46 Encoder Inserts PCR timestamps
When the encoder creates streams of packets, it embeds the current value of it’s 27 MHz clock into some of the packets in the stream This time reference is called the PCR: Program Clock Reference MPEG demands that one PCR packet appear in the stream every 100ms MPEG Packets Encoder 27Mhz Clock MPEG Packet with PCR Stamp Copyright © 2010 Triveni Digital, Inc.

47 The Encoder and Decoder Clock
The MPEG encoder and MPEG decoder use a 27Mhz ‘clock’ to encode/decode incoming audio and video The clock is actually a ‘counter’ which advances every 1/ seconds Encoder 27Mhz Clock 1,2,3,4….. Decoder 27Mhz Clock 1,2,3,4….. Copyright © 2010 Triveni Digital, Inc.

48 The Encoder and Decoder Clock
The MPEG encoder and MPEG decoder use a 27Mhz ‘clock’ to encode/decode incoming audio and video The clock is actually a ‘counter’ which advances every 1/ seconds Encoder 27Mhz Clock 1,2,3,4….. Decoder 27Mhz Clock 1,2,3,4….. Copyright © 2010 Triveni Digital, Inc.

49 The Encoder and Decoder Clock
The MPEG encoder and MPEG decoder use a 27Mhz ‘clock’ to encode/decode incoming audio and video The clock is actually a ‘counter’ which advances every 1/ seconds Encoder 27Mhz Clock 1,2,3,4….. Decoder 27Mhz Clock 1,2,3,4….. Massive Network Processing Copyright © 2010 Triveni Digital, Inc.

50 Copyright © 2010 Triveni Digital, Inc.
PCR Timestamp Issue What could conceptually cause PCR timestamp issues? Encoder possibly time stamped incorrectly Decoder possibly failed to consume time stamps PCR packet was accidentally lost in transmission When PCR time stamps go awry, we have “PCR jitter” Copyright © 2010 Triveni Digital, Inc.

51 Copyright © 2010 Triveni Digital, Inc.
PCR Jitter Defined PCR Jitter is: Difference between the Actual Value of the PCR time stamped by encoder and the Expected Value of the PCR as calculated by decoder based on the clock rate and the time at which the PCR value is received. PCR Jitter spec: 500ns Copyright © 2010 Triveni Digital, Inc.

52 PCR Rate (Frequency) Offset
PCR Frequency Offset is: Difference between the clock frequency calculated at decoder based on actual PCR values received and an “ideal” 27 MHz clock, which is the clock rate dictated by the MPEG-2 standard PCR Frequency Offset Spec: +/- 810 Hz Copyright © 2010 Triveni Digital, Inc.

53 PCR Intervals, Jitter and Rate
PCR spec summary: Transmit interval: 100 ms Jitter: no more than 500 ns Rate: 27 MHz +/- 810 Hz Most streams seen in the field are compliant, but every now and then extreme jitter shows up. Here’s Why Copyright © 2010 Triveni Digital, Inc.

54 PCR Packet Spacing Before Muxing
Note the Number of Packets between each PCR packet in each Input Stream Video 0x31 Video 0x41 Video 0x51 PID Packet Spacing 0x31 2 Packets 0x41 1 Packet 0x51 0 Packets Transport Stream MUX Copyright © 2010 Triveni Digital, Inc.

55 PCR Packet Spacing After Muxing
Note that the PCR packet spacing has changed! Video 0x31 Video 0x41 Video 0x51 Transport Stream MUX PID Old Spacing New Spacing 0x31 2 Packets 8 Packets 0x41 1 Packet 5 Packets 0x51 0 Packets 2 Packets Copyright © 2010 Triveni Digital, Inc.

56 Muxing Causes PCR Jitter
When we MUX multiple streams together, the spacing between the PCR packets in each stream CHANGES The physical shift results in a TEMPORAL shift as well, throwing the time stamps off The TEMPORAL shift in PCR values is referred to as “PCR jitter” Copyright © 2010 Triveni Digital, Inc.

57 Muxing Causes PCR Jitter (Contd.)
The MUX has to RESTAMP all the PCR values to correct for the change in the packet spacing – THIS IS VERY HARD TO DO The more services on the output, the harder it is to restamp The fewer ‘null’ packets at the output, the harder it is to restamp Copyright © 2010 Triveni Digital, Inc.

58 PCR Timestamp Issue (Contd.)
What in your network facility could cause PCR timestamp issues? Three of the most common are: It can happen any time you MUX streams  It can happen at the source encoding It can happen on any IP link – due to network lag Copyright © 2010 Triveni Digital, Inc.

59 PCR Jitter From Incorrect Encoding
If the MPEG encoder’s parameters are set up incorrectly, you can introduce jitter at the source This is relatively rare, however If a national programmer sent it’s stream up to the bird with jitter in it, the result would effect all receive sites ! Re-encoded streams at the headend may also create PCR jitter Local broadcast streams could create PCR jitter at the encoder Copyright © 2010 Triveni Digital, Inc.

60 PCR Timestamp Issue (Contd.)
What in your network facility could cause PCR timestamp issues? Three of the most common are: It can happen any time you MUX streams It can happen at the source encoding  It can happen on any IP link – due to network lag Copyright © 2010 Triveni Digital, Inc.

61 PCR Jitter Due to IP Carriage
Network lag can conceal MPEG jitter problems on an IP link. The network jitter is usually so much larger than the PCR jitter that the PCR jitter is ‘lost in the noise.’ Hopefully, the IP-ASI or IP-QAM edge device will provide buffering and use ‘high level math’ to smooth out the network lag. MT-40 provides a way to separate the Network Lag from PCR Jitter. Copyright © 2010 Triveni Digital, Inc.

62 Q: What is the key element for synchronizing audio and video?
MPEG 101 Knowledge Check #5 Q: What is the key element for synchronizing audio and video? Copyright © 2010 Triveni Digital, Inc.

63 Video and Audio Buffers & Presentation Time Stamp (PTS)

64 Presentation Time Stamp - PTS
Each Frame is marked with a PTS – “Presentation Time Stamp” – a positive number The value of the PTS is set to the value of the Encoder Clock when the frame is encoded Encoder 27Mhz Clock 1,2,3,4….. MPEG Packets F1 PTS 500 F2 PTS 950 Packetizer Copyright © 2010 Triveni Digital, Inc.

65 Packets Assigned to Decode Buffer
As packets flow into the Decoder, a space in memory is set aside for them, one buffer for each PID. Decoder 27Mhz Clock 1,2,3,4….. MPEG Packets Buffer 1 Pid 0x31 Video Buffer 2 Pid 0x34 Audio Copyright © 2010 Triveni Digital, Inc.

66 Reconstruction of Frames From Buffer
Packets form Video and Audio Frames in the buffer Decoder 27Mhz Clock 1,2,3,4….. MPEG Packets Buffer 1 Pid 0x31 Video F1 PTS 500 F2 PTS 675 F3 PTS 950 Buffer 2 Pid 0x34 Audio F1 PTS 200 F2 PTS 990 Copyright © 2010 Triveni Digital, Inc.

67 Copyright © 2010 Triveni Digital, Inc.
The Magic of Decode When the value of the Decode clock MATCHES the PTS on the frame, that frame is sent to the decode hardware Decoder 27Mhz Clock = 200 Decode Hardware MPEG Packets F1 PTS 200 Buffer 1 Pid 0x31 Video F1 PTS 500 F2 PTS 675 F3 PTS 950 Buffer 2 Pid 0x34 Audio F2 PTS 990 Copyright © 2010 Triveni Digital, Inc.

68 Another Frame Goes to Decode Hardware
Next Frame Decoder 27Mhz Clock = 500 Decode Hardware MPEG Packets F1 PTS 500 Buffer 1 Pid 0x31 Video F2 PTS 675 F3 PTS 950 Buffer 2 Pid 0x34 Audio F2 PTS 990 Copyright © 2010 Triveni Digital, Inc.

69 One More Frame Heads to Decode
And the next frame… Decoder 27Mhz Clock = 675 Decode Hardware MPEG Packets F2 PTS 675 Buffer 1 Pid 0x31 Video F3 PTS 950 Buffer 2 Pid 0x34 Audio F2 PTS 990 Copyright © 2010 Triveni Digital, Inc.

70 Audio and Video Buffers
Receiver must buffer audio and video frame data until presentation time. If data appears too late in the transport stream, buffer underflow results. If data appears too early in the transport stream, buffer overflow results. Either condition results in garbled play or incorrect synchronization. Different set top boxes may respond differently to the same underlying buffer violations Copyright © 2010 Triveni Digital, Inc.

71 Summary: Audio/Video Sync
PCR values help the Encoder Clock and the Decoder Clock to remain in sync PCR jitter can cause synchronization problems for elementary streams Ensure PCR jitter and frequency offsets are within standard limits Elementary stream buffers limits are NOT violated Large PCR jitter values can cause “Lip sync” error Buffer over- or underflow problems may cause “tiling”, “pixelization”/”macroblocking” errors Copyright © 2010 Triveni Digital, Inc.

72 Q: What is one potential result of “video buffer underflow” ?
MPEG 101 Knowledge Check #6 Q: What is one potential result of “video buffer underflow” ? Copyright © 2010 Triveni Digital, Inc.

73 Overall Jitter versus MPEG Jitter
Use ‘Overall’ or ‘MPEG’ jitter settings when measuring from constant bit rate sources like ASI Use ‘MPEG’ jitter setting when measuring jitter on ‘Gig-E’ links to exclude the network associated jitter from the jitter calculation. Use ‘Overall’ jitter setting when measuring jitter on ‘Gig-E’ links if you want to see the total jitter due to network lag AND MPEG issues (requires Gig-E w/PCR option) Copyright © 2010 Triveni Digital, Inc.

74 Overall Jitter versus MPEG Jitter (Contd.)
Gigabyte Ethernet offers specific difficulties when monitoring PCR related issues The network delay on a typical UDP network is usually orders of magnitude greater than the PCR Jitter detected on the network Be sure to use the appropriate setting for ‘MPEG’ or ‘Overall’ jitter when measuring PCR on Gigabyte Ethernet networks (see previous slide) Copyright © 2010 Triveni Digital, Inc.

75 Three Things to Remember
Three main monitoring and troubleshooting lessons: Fix Continuity Problems first Continuity errors create bogus alarms in other areas Until you resolve the continuity problems, it will be very hard to determine if you have other problems in your stream Check for PCR jitter PCR jitter can cause packet over- or underflow problems Lip synch errors may also be result of PCR jitter To Be Discussed Copyright © 2010 Triveni Digital, Inc.

76 MPEG Troubleshooting using an analyzer

77 Why use a Transport Stream Analyzer?
With analog transmission, if audio/video did not have any anomalies on a TV set up in the studio, it would show up intact on the end user’s TV For digital transmission, this assumption is NOT valid as digital signals rely on the decoder’s Firmware implementation Buffer sizes Software decoding capability Copyright © 2010 Triveni Digital, Inc.

78 Why use a Transport Stream Analyzer? (Contd.)
The transition to digital has introduced some specific challenges for broadcast engineers Not all Set top boxes will respond the same way to the same underlying problem Standards violations in digital Transport Streams may show up on a receiver only intermittently The only streams which will consistently decode are those which are compliant The best way to assure compliance is with a Transport stream Analyzer/Monitor Copyright © 2010 Triveni Digital, Inc.

79 MT-40: Collaborative Mode Debugging
Two or more technicians use MT-40 to examine the same input. Customers leverage subject matter experts from many different geographical locations Equipment Room LAN MT-40 MUX Encoder IRD Modulator Head End Tech Operations Center LAN WAN Copyright © 2010 Triveni Digital, Inc.

80 MT-40: Multi- Channel Fleet Monitoring
Local DTV Station or Headend Remote location with MT-40 Chief Engineer’s Office MT-40 Visualization Client viewing all sources, all channels simultaneously Network Equipment Room Remote location with MT-40 MT-40 Monitoring local channel Copyright © 2010 Triveni Digital, Inc.

81 Troubleshooting Example – Audio Outage
Customer calls into station or NOC – audio dropping out on their set In station video monitors & set top boxes do not have any problems How serious is this problem? Are other Customers seeing it? Satellite Dish QPSK Encoders Receivers PSIP Gen Data Gen MUX Network Processing QAM Modulator Television Transmitter Digital to Analog Mod Broadcast Scenario Cable TV Scenario Here’s an example of a problem, and how it might be solved using the methodology from the previous slide. This picture represents a very simple cable head end. Video is received ‘off the bird,’ groomed into a QAM, and then sent to the customer. Copyright © 2010 Triveni Digital, Inc.

82 Troubleshooting Example (Contd.)
Start at the end…..Off-air or combined RF output…. Satellite Dish QPSK Encoders Receivers PSIP Gen Data Gen MUX Network Processing QAM Modulator Television Transmitter Digital to Analog Mod Broadcast Scenario Cable TV Scenario ASI Gigabit-IP, ASI or SMPTE 310 ASI ASI Gigabit-IP ASI Transport Stream Analyzer RF Input (8VSB or QAM) Copyright © 2010 Triveni Digital, Inc.

83 Troubleshooting Example (Contd.)
Check of the MPEG analyzer shows Standards violation has occurred In this case, Audio Buffer Underflow is reported by the Analyzer. This explains why the audio and video elementary streams are out of sync with one another. But where does the problem originate in the system? Copyright © 2010 Triveni Digital, Inc.

84 Troubleshooting Example (Contd.)
Move back in the network toward the beginning.... Input to the QAM modulator OR….. Satellite Dish QPSK Encoders Receivers PSIP Gen Data Gen MUX Network Processing QAM Modulator Television Transmitter Digital to Analog Mod Broadcast Scenario Cable TV Scenario ASI Gigabit-IP, ASI or SMPTE 310 ASI ASI Gigabit-IP ASI Gigabit Ethernet Input Transport Stream Analyzer Copyright © 2010 Triveni Digital, Inc.

85 Troubleshooting Example (Contd.)
Input to the transmitter…. Satellite Dish QPSK Encoders Receivers PSIP Gen Data Gen MUX Network Processing QAM Modulator Television Transmitter Digital to Analog Mod Broadcast Scenario Cable TV Scenario ASI Gigabit-IP, ASI or SMPTE 310 ASI ASI Gigabit-IP ASI ASI or SMPTE 310 Input Transport Stream Analyzer Copyright © 2010 Triveni Digital, Inc.

86 Troubleshooting Example (Contd.)
Standards violation is still present In this case, Audio Buffer Underflow is reported by the Analyzer. This explains why the audio and video elementary streams are out of sync with one another. But where does the problem originate in the system? Copyright © 2010 Triveni Digital, Inc.

87 Troubleshooting Example (Contd.)
Move further back….. Satellite Dish QPSK Encoders Receivers PSIP Gen Data Gen MUX Network Processing QAM Modulator Television Transmitter Digital to Analog Mod Broadcast Scenario Cable TV Scenario ASI Gigabit-IP, ASI or SMPTE 310 ASI ASI Gigabit-IP ASI ASI Input Transport Stream Analyzer Copyright © 2010 Triveni Digital, Inc.

88 Troubleshooting Example (Contd.)
Standards violation is still present In this case, Audio Buffer Underflow is reported by the Analyzer. This explains why the audio and video elementary streams are out of sync with one another. But where does the problem originate in the system? Copyright © 2010 Triveni Digital, Inc.

89 Troubleshooting Example (Contd.)
And further back….. Satellite Dish QPSK Encoders Receivers PSIP Gen Data Gen MUX Network Processing QAM Modulator Television Transmitter Digital to Analog Mod Broadcast Scenario Cable TV Scenario ASI Gigabit-IP, ASI or SMPTE 310 ASI ASI Gigabit-IP ASI ASI Input Transport Stream Analyzer Copyright © 2010 Triveni Digital, Inc.

90 Troubleshooting Example (Contd.)
Go all the way back to signal entry point….. Satellite Dish QPSK Encoders Receivers PSIP Gen Data Gen MUX Network Processing QAM Modulator Television Transmitter Digital to Analog Mod Broadcast Scenario Cable TV Scenario ASI Gigabit-IP, ASI or SMPTE 310 ASI ASI Gigabit-IP ASI QPSKInput Transport Stream Analyzer Copyright © 2010 Triveni Digital, Inc.

91 Troubleshooting Example (Contd.)
Using record capability to collect data….. Satellite Dish QPSK Encoders Receivers PSIP Gen Data Gen MUX Network Processing QAM Modulator Television Transmitter Digital to Analog Mod Broadcast Scenario Cable TV Scenario ASI Gigabit-IP, ASI or SMPTE 310 ASI ASI Gigabit-IP ASI Record at this point Record at this point Transport Stream Analyzer Copyright © 2010 Triveni Digital, Inc.

92 Summary: MPEG Monitoring Over the Long Term
Complete and continous monitoring….. Analyze, Monitor or Record Streams at any of these points Satellite Dish QPSK Encoders Receivers PSIP Gen Data Gen MUX Network Processing QAM Modulator Television Transmitter Digital to Analog Mod Broadcast Scenario Cable TV Scenario ASI Gigabit-IP, ASI or SMPTE 310 ASI ASI Gigabit-IP ASI Error Notification Transport Stream Analyzer or Remote Monitor Error Alerts: SNMP, SMS, , Triggered Recording or Contact Closure RF Input (8VSB or QAM) Copyright © 2010 Triveni Digital, Inc.

93 Three Things to Remember
Three main monitoring and troubleshooting lessons: Fix Continuity Problems first Continuity errors create bogus alarms in other areas Until you resolve the continuity problems, it will be very hard to determine if you have other problems in your stream Check for PCR jitter PCR jitter can cause packet over- or underflow problems Lip synch errors may also be result of PCR jitter Move Backward through your network as you debug Isolate the offending device first, then go for detailed problem solving steps (recording a file, etc.) Copyright © 2010 Triveni Digital, Inc.

94 Summary: MPEG’s 7 Basic Parameters
Per ATSC standards: PAT Interval: ms PMT Interval: ms PCR Interval: ms Max Jitter: ns Max Freq. Offset: +/- 810 Hz Also check: Video Buffer Audio Buffer Copyright © 2010 Triveni Digital, Inc.

95 Copyright © 2010 Triveni Digital, Inc.
References Information Technology -- Generic Coding of Moving Pictures and Associated Audio Information: Systems (MPEG-2 Systems standard), ISO/IEC ATSC Digital Television Standard, ATSC Doc. A/53. Program and System Information Protocol for Terrestrial Broadcast and Cable, ATSC Doc. A/65 (with amendments). ATSC Data Broadcast Standard, ATSC Doc. A/90. ATSC A/78 Recommended Practice on Bitstream Verification. Video Over IP by Wes Simpson Copyright © 2010 Triveni Digital, Inc.

96 Let’s Talk PSIP in Cable
How do you spell PSIP? Copyright © 2010 Triveni Digital, Inc.

97 Copyright © 2010 Triveni Digital, Inc.
PSIP In Cable So What Is PSIP ? Technical answer: PSIP is a type of ‘metadata’ that enhances digital television transport streams. Defines virtual channels Enables tuning Provides an Electronic Program Guide Channel branding V-Chip Copyright © 2010 Triveni Digital, Inc.

98 Copyright © 2010 Triveni Digital, Inc.
PSIP In Cable So What Is PSIP ? Practical answer: PSIP enhances the viewers experience: Increased Ease of Use Channel and Brand Recognition Navigating the Multitude of Services Offered Copyright © 2010 Triveni Digital, Inc.

99 Copyright © 2010 Triveni Digital, Inc.
PSIP in cable “PSIP is Metadata“ Copyright © 2010 Triveni Digital, Inc.

100 Meta Data Mentioned earlier, what is it? PSIP In Cable
Copyright © 2010 Triveni Digital, Inc.

101 What is ‘metadata’? PSI and PSIP are types of ‘metadata’
A form of ‘metadata’. The label tells you what is in the can. Copyright © 2010 Triveni Digital, Inc.

102 Copyright © 2010 Triveni Digital, Inc.
What is ‘Metadata’ ? Data about included data, is metadata Metadata tells the decoder which kinds of information are contained in each PID, and which PID’s go together. For DTV, we’re interested in two kinds of metadata: Program Specific Information (PSI) - Tables in the stream defined in the MPEG standards Program and System Information Protocol (PSIP) -Tables defined in ATSC A/65 Copyright © 2010 Triveni Digital, Inc.

103 PSIP MetaData In the Stream (Program and System Information Protocol)
PSIP In Cable PSIP MetaData In the Stream (Program and System Information Protocol) Copyright © 2010 Triveni Digital, Inc.

104 Copyright © 2010 Triveni Digital, Inc.
PSIP Background Program and System Information Protocol Metadata inserted into broadcast stream Enables: Tuning to virtual channels Displaying channel name (on channel changes) Interactive electronic program guides (EPGs) Automatic language selection for audio track Caption decoding “V-Chip” function (parental content blocking) Accurate receiver time-of-day clock setting Redistribution Control Copyright © 2010 Triveni Digital, Inc.

105 Basic functions of PSIP Tables
Branding – Station call letters and channel number Signaling – V-Chip data, information about audio and Video PID’s, Virtual Channel Table Announcement – Electronic Program Guide (EPG) PSIP stands for Program and System Information Protocol It was developed by the ATSC (American Television Systems Committee) to meet the specific needs of broadcast television. PSIP is made up of a group of tables which provide Branding, Signaling and Announcement services for broadcasters PSIP is also used by Open QAM televisions for tuning. There are special considerations for Grooming of television broadcast streams related to PSIP. Copyright © 2010 Triveni Digital, Inc.

106 Signaling vs. Announcement
Information about what is "on now" Used to assemble program elements into whole Provides linkages Ex: PMT and/or VCT used to link different components of television program (i.e. video and audio) Used to define characteristics of current program (descriptors) Captioning, ratings, redistribution… Announcement Information about what will be available in the future Program Guide information (name, description schedule) Characteristics of future programs (captioning, ratings, redistribution…) Typically does not provide linkages between program elements Copyright © 2010 Triveni Digital, Inc.

107 PSIP Generation Architecture
Traffic/Program System Encoder(s) Time MUX PSIP Generator Remote GUI(s) Automation System F I REWALL Listing Service Staging Server Copyright © 2010 Triveni Digital, Inc.

108 PSIP metadata found in the ‘Payload’
Noteworthy fields: Payload contains PSIP, PAT, PMT metadata Adaptation Field Continuity Counter Sync Byte PID 188 Bytes Header (4 Bytes) PES 1 (Optional) PES x Or other Payload (Pat, PMT, PSIP, etc)……………………………... MPEG-2 Transport Stream PSIP metadata found in the packet ‘Payload’ Copyright © 2010 Triveni Digital, Inc.

109 ATSC (A/65) PSIP Metadata
PSIP In Cable ATSC (A/65) PSIP Metadata North American Standard Copyright © 2010 Triveni Digital, Inc.

110 Copyright © 2010 Triveni Digital, Inc.
DTV PSIP Tables VCT - Virtual Channel Table Transmit Interval: 400ms - Identifies and describes virtual channels. *** Two Different Types of VCT: CVCT and TVCT *** MGT - Master Guide Table Interval: 150ms - Appears in PID 0x1FFB. - Gives PIDs, sizes, and version numbers of other PSIP tables (except STT). A directory of all PSIP tables. STT - System Time Table Interval: 1,000ms (1 sec) - Appears in PID 0x1FFB - Gives current UTC time. Copyright © 2010 Triveni Digital, Inc.

111 DTV PSIP Tables (Contd.)
RRT- Rating Region Table Interval: 60,000ms (1 min) - Describes content advisory system(s) being used to rate events. EIT - Event Information Table Gives titles, start times, durations, content advisory ratings of events (TV programs). ETT - Extended Text Table Interval: Follows it’s EIT - Gives extended textual descriptions of virtual channels and events. EIT has variable intervals: EIT-0: 500ms EIT-1: 3,000ms EIT-2 & up: 60,000ms Copyright © 2010 Triveni Digital, Inc.

112 Details of FCC R&O – PSIP related
"…fully implement PSIP to the extent that ATSC A/65B requires." Required transmission of all mandatory tables and descriptors MGT, TVCT, EIT-03, STT, RRT (except region 1) Required tables and descriptors must be populated with proper and correct information At least 12 hours of populated EITs (EIT-0 thru 3) EITs must contain correct schedule information Each EIT contains 3 hours worth of event information Major channel rules from PSIP (A/65B) adopted Correct Major Channel number must be used Correct TSIDs (Transport Stream ID) must be used Copyright © 2010 Triveni Digital, Inc.

113 VCT -- Virtual Channel Concept (In General)
Breaks the link between RF channel number and user’s notion of channel number Analog broadcast  “channel number” was the same as the RF carrier designation Digital broadcast  “channel number” is defined by Virtual Channel Table (VCT) One digital TS can include multiple channels of programming 8-VSB carrier freq. may have (probably) shifted during transition (June 2009) Copyright © 2010 Triveni Digital, Inc.

114 VCT: Two Part Channel Numbers
1st part: “major channel” (Original analog channel) Example: , 10.2, 10.3 2nd part: “minor channel” 10.1, 10.2, 10.3 Broadcasters retain their brand identity Digital services groupable with analog KXTV has been associated with Channel 10 for years; KXTV-DT can be found on Channel 10-1 They keep their brand in tact: (even though their RF carrier is now on Ch. 61)

115 Virtual Channel Table (VCT)
Has same info as PAT & PMTs, plus more. Allows tuning by virtual major-minor channel number, rather than physical channel number and MPEG-2 “program” number. Allows language track selection. Allows channel name to be displayed on channel changes and in EPG. ATSC receivers are designed to use VCT; may have trouble with PAT and PMTs alone. Copyright © 2010 Triveni Digital, Inc.

116 Copyright © 2010 Triveni Digital, Inc.
Comparing PAT vs. VCT PAT (Program Association Table) Table ID Section Syntax Indicator Section Length Transport Stream ID (TSID) Version Number Current Next Indicator Section Number Last Section Number Program Number Program Map PID VCT (Virtual Channel Table) Table ID Section Syntax Indicator Section Length Transport Stream ID (TSID) Version Number Current Next Indicator Section Number Last Section Number ATSC protocol version Number of Channels in Section Short Name Major Channel Number Minor Channel Number Modulation Mode Channel TSID Program Number Extended Text Message Location Descriptor Length Descriptor ( ) Source ID Service Type Access Controlled Hidden / Hide Guide Copyright © 2010 Triveni Digital, Inc.

117 Copyright © 2010 Triveni Digital, Inc.
PSIP and PSI Link PMT 1 (On PID 0x30) Video PID 0x31 Audio PID 0x34 PCR_PID 0x31 PAT (On PID 0x0) Station TSID PMT 1 -> On PID 0x30 VCT On Pid 0x1FFB 11-1 WXIA Video PID 0x31 Audio PID 0x34 Table Information for a Digital Television Stream PAT and PMT Tables PSIP Tables The second way that PSIP can complicate Grooming occurs when the Groomer attempts to regenerate PSI, and is not aware that PSIP is also in the stream. The picture above shows how PSI and PSIP share some information. The VCT from PSIP carries some of the same information as the PMT in PSI. The Audio and Video PID’s in the PMT are the same ones found in the VCT. No matter which table the set top box or decoder looks at, it will see the same PID assignments, and will pick up the correct PID’s. The next slide shows why this creates problems when we try to groom this stream. Copyright © 2010 Triveni Digital, Inc.

118 PSIP metadata tables: VCT, MGT, STT, EITs & ETTs
PIDs in the Stream PAT points to PMT PAT points to PMT PSIP metadata tables: VCT, MGT, STT, EITs & ETTs

119 ‘SI’ (Service Information) or TR 101 290
PSIP In Cable ‘SI’ (Service Information) or TR aka: Digital Video Broadcast (DVB) International Standard Copyright © 2010 Triveni Digital, Inc.

120 DVB Standard uses different tables,
DVB ‘SI’ Tables DVB Standard uses different tables, different repetition rates than A/65 NIT – Network Information Table SI Repetition – Interval – how often System Info is sent SDT – Service Description Time Table RST – Running Status Table TDT – Time & Date Table No Virtual Channel Table: Uses PAT/PMT & CAT Copyright © 2010 Triveni Digital, Inc.

121 Copyright © 2010 Triveni Digital, Inc.
PSIP In Cable There is even more data in the stream! : Descriptors Copyright © 2010 Triveni Digital, Inc.

122 PSIP In Cable: Service Descriptors
What are ‘Descriptors’ ? Descriptors inform the viewer/receiver that services such as ‘Closed Captioning’ and ‘Alternate Audio’ are available in the stream. Copyright © 2010 Triveni Digital, Inc.

123 Examples of Service Descriptors
PSIP In Cable Examples of Service Descriptors AC-3 audio descriptor 2 channel or Surround Sound ? Which is Primary Audio, which is Secondary Audio? Now includes ISO 639 langauge bit Caption Service descriptor Does stream contain closed captioning data? If so, in what langauge? Has captioning control information for the receiver Content Advisory descriptor Parental control (V-Chip) information ISO 639 Langauge descriptor Send this descriptor for older digital receivers Redistribution Control descriptor Similar to ‘copy right’ protection (could effect TiVO) Copyright © 2010 Triveni Digital, Inc.

124 What is TSID? Transport Stream ID PSIP In Cable
(Uniquely identifies the Multiplex) In terrestrial broadcast, helps distinguish between two stations on the same channel Indicates which PSIP is correct for a given station Used differently in Broadband/Cable More on TSID later Copyright © 2010 Triveni Digital, Inc.

125 So let’s put it all together and see how PSIP creates an
PSIP In Cable So let’s put it all together and see how PSIP creates an Electronic Program Guide (EPG) Copyright © 2010 Triveni Digital, Inc.

126 Information Table (EIT) Information Table (EIT)
Main PSIP Tables System Time Table (STT) Required for Terrestrial Broadcast (first four timeslots) 3-hour time slot 3-hour time slot Master Guide Table (MGT) Event Information Table (EIT) Event Information Table (EIT) ... Virtual Channel Table (VCT) Extended Text Table (ETT) Extended Text Table (ETT) ...

127 Copyright © 2010 Triveni Digital, Inc.
Version "Bubbling" MPEG "rule": Any time the contents of a table changes, its version number must increment Application: Each level in a table hierarchy carries the version number of a referenced, lower level table. Thus: Any change in a table will “bubble” upwards Consequence: Any change in a PSIP table will be reflected by a version change in the MGT! VCT VC 1 VC 2 EIT-0 Event 1 ETT MGT Table Ref 1 Table Ref 2 Table Ref 3 PID Z Event 2 Event 3 Event 4 PID V PID A Hour 0-3 RRT Table Ref 4 Table Ref 5 DCCSCT DCCT Table Re 7 Table Ref 6 Copyright © 2010 Triveni Digital, Inc.

128 Master Guide Table (MGT)
MGT is the top-level “roadmap” Identifies what PSIP tables are in transport stream Gives PIDs so receiver can find them Indicates when any table has been updated MGT (PID 0x1FFB) Table Ref 1 Table Ref 2 Table Ref 3 Table Ref 4 Table Reference Table Type (VCT, EIT-0, etc.) PID where table can be found Referenced Table Version Referenced Table Size <descriptors> (PID 0x1FFB) Copyright © 2010 Triveni Digital, Inc.

129 Virtual Channel Table (VCT)
A view of what is in the VCT using an MPEG analyzer to look at the table ‘SectionArray’ Virtual Channel Short Channel Name Major Channel Number Minor Channel Number Modulation Mode Frequency TS ID (of Virtual Channel) Program Number (in Stream) Extended Text Location Access Controlled ? Hidden ? Hide from Guide? Service Type (A/V/D) Source ID Service Location Descr other descriptors Video Stream Eng Audio Stream (PID 0x1FFB) Fre Audio Stream Copyright © 2010 Triveni Digital, Inc.

130 Event Information Tables (EITs)
A closer look at the EIT Section Array using an MPEG analyzer Describe “events” (TV programs). EIT-0 through EIT-127; each covers 3 hour period EIT-0 thru EIT-3 required. Event Event ID Start Time (GPS) Duration in Seconds Title (multiple languages) Extended Text Location Descriptors Content Advisory Closed Captioning AC-3 Audio Broadcast Flag VCT VC 1 VC 2 Copyright © 2010 Triveni Digital, Inc.

131 Electronic Program Guide (EPG)
The EPG gets filled in using data from EIT’s, VCT and STT Copyright © 2010 Triveni Digital, Inc.

132 EIT Contents Handling the cross-over between EIT-0 and EIT-1
Copyright © 2010 Triveni Digital, Inc.

133 At 3-Hour Boundary What was EIT-1, now becomes EIT-0
More data is plugged into the new EIT-3 (or whatever the last EIT is) Copyright © 2010 Triveni Digital, Inc.

134 Extended Text Tables (ETTs)
Use the ETT to describe the story line, name the actors, when the program was made and other details about an event ETT-0 thru ETT-127, plus a “channel ETT” Text descriptions for channels and events May use Huffman coding to reduce bandwidth May be in multiple languages EIT-n Event 1 VCT VC 1 VC 2 Event 2 Event 3 Event 4 Event 5 Copyright © 2010 Triveni Digital, Inc.

135 Copyright © 2010 Triveni Digital, Inc.
Multilingual Text Everywhere text is used Program titles & descriptions Exception: “short” channel name Context-sensitive Huffman coding (English lang.) Two tables, one optimized for titles, one for descriptions Compression efficiency is approx. 2:1 Uses ISO 639 Language coding May be included with the AC-3 descriptor May have it’s own descriptor Copyright © 2010 Triveni Digital, Inc.

136 PSIP Tables: The Big Picture
Data is constantly being moved. EIT-0 thru EIT-3 are required. More EITs can be used, but will take up more bandwidth ETT VCT VC 1 VC 2 EIT-0 Event 1 MGT Table Ref 1 Table Ref 2 Table Ref 3 PID Z Event 2 Event 3 Event 4 EIT-1 Event 5 Event 6 Event 7 EIT-2 Event 8 EIT-3 Event 9 Event 10 Event 11 PID W PID Y PID X PID V PID A PID B PID C PID D Hour 0-3 Hour 6-9 Hour 9-12 Hour 3-6 RRT Table Ref 4 Table Ref 5 DCCSCT DCCT Table Re 7 Table Ref 6

137 Copyright © 2010 Triveni Digital, Inc.
PSIP Servers Hide the Complexity Getting all the PSIP and EPG data into the right table is made easy with good software Copyright © 2010 Triveni Digital, Inc.

138 VCT EIT ETT STT EIT

139 How is PSIP in Cable different from PSIP in Terrestrial Broadcast?
Copyright © 2010 Triveni Digital, Inc.

140 Cable has several different scenerios to contend with
PSIP In Cable Cable has several different scenerios to contend with Factors that will influence how PSIP plays in a Cable or IPTV environment: Multiple targeted service levels Encrypted programs Clear QAM Digital Set-top Boxes Tru2Way Digital-To-Analog Set-top Boxes Copyright © 2010 Triveni Digital, Inc.

141 Copyright © 2010 Triveni Digital, Inc.
PSIP In Cable FCC PSIP Rule for Cable The FCC requires that PSIP information must be present in the Cable feed: For channels containing PSIP on ingest Channels carried in the clear (Clear QAM) To enable a subscriber viewing experience, similar to Off-Air DTV For those subscribers without STB or Tru2Way Might include those with Digital TVs with QAM tuners Subscribers with older analog TVs needing a DTA To conserve bandwidth, amount of PSIP data can be modified: Only the first 4 EITs need to be carried ETTs can be removed Service Location descriptor (SLD) is not required in the CVCT Copyright © 2010 Triveni Digital, Inc.

142 Cable PSIP vs. Broadcast PSIP
PSIP In Cable Cable PSIP vs. Broadcast PSIP TVCT (Terrestial Virtual Channel Table) Virtual Channel Name Channel Number—Major & Minor MPEG-2 Program Number Service Type Source_ID SLD required CVCT (Cable Virtual Channel Table) Virtual Channel Name Channel Number (1 or 2 parts) MPEG-2 Program Number Service Type Source_ID No SLD required Cable Relies on PMT Descriptors are in the PMT SLD information is in the PMT Broadcast Descriptors are in the EIT TVCT has PID values for all streams Service Location Descriptor Copyright © 2010 Triveni Digital, Inc.

143 Descriptors: Cable vs. Broadcast
PSIP In Cable Descriptors: Cable vs. Broadcast Descriptor Cable-PMT CVCT Broadcast-EIT Broadcast-VCT AC-3 audio X Caption Service Content Advisory ISO 639 Langauge If used X Ext Channel Name Service Location Option Time Shifted Serv Copyright © 2010 Triveni Digital, Inc.

144 TSID: Cable vs. Broadcast
PSIP In Cable TSID: Cable vs. Broadcast The Transport Stream ID (TSID) uniquely identifies the Multiplex In Broadcast: In cases where there are two stations on the same channel, TSID identifies the correct PSIP information for the selected station The FCC assigns a unique TSID to every broadcast station In Cable: TSID simply identifies a given multiplex Can be a random or arbitrary number assigned by the MSO Copyright © 2010 Triveni Digital, Inc.

145 Copyright © 2010 Triveni Digital, Inc.
PSIP In Cable Bottomline: PSIP in Cable is different than PSIP in Broadcast Copyright © 2010 Triveni Digital, Inc.

146 PSIP in Cable Applications
Three scenerios: Support for EPG with ClearQAM and DTAs Support Lower Cost DTAs Digital and HD delivery to Multiple Dwelling Units Copyright © 2010 Triveni Digital, Inc.

147 PSIP In Cable Typical Digital Television Station Generating PSIP metadata HD Encoder PSIP TVCT, MGT, EIT, ETT SD Encoder M U X SD Encoder Limited Signal Processing SD Encoder Digital Television Broadcast Transmitter PSIP Generator Listing Service Various configurations such as redundant and replicated outputs

148 Typical major Cable TV network
PSIP in Cable Typical major Cable TV network Full EPG info on High End Digital Set-top Boxes. Ingested PSIP is groomed. Output is A/65 Compliant. PAT/PMT & CVCT TVCT Off-Airs Digital Set-top Box OR Encoders QAM Modulator Tru2Way Digital TV CherryPicker, BMR, BNP Cable/HFC Network Digital to Analog Mod Satellite Receivers AND Proprietary Out-Of-Band Data Channel Digital-To-Analog Conv Satellite Dish Here’s an example of a problem, and how it might be solved using the methodology from the previous slide. This picture represents a very simple cable head end. Video is received ‘off the bird,’ groomed into a QAM, and then sent to the customer. Only Channel Number & Name, no Guide Info. OR DACS type Set-top Control & Encryption ClearQAM cable ready TV Listing Service ‘EIT & ETT’ like information in a proprietary format Copyright © 2010 Triveni Digital, Inc.

149 CAUTION !!! PSIP In Cable In a Cable TV network, don’t multiplex
off-air broadcast streams without Grooming ! The result would be: Multiple different table versions for: VCT, MGT, STT, SLD Duplicate PID values Collisions of various pointers, such as source_id Copyright © 2010 Triveni Digital, Inc.

150 Any Cable TV network Add PSIP metadata: PSIP in Cable PSIP Metadata
Full EPG info on High End Digital Set-top Boxes. Add PSIP metadata: TVCT Off-Airs Digital Set-top Box PSIP Metadata Generator OR Encoders QAM Modulator Tru2Way Digital TV CherryPicker, BMR, BNP Cable/HFC Network Digital to Analog Mod Satellite Receivers AND Digital-To-Analog Conv Here’s an example of a problem, and how it might be solved using the methodology from the previous slide. This picture represents a very simple cable head end. Video is received ‘off the bird,’ groomed into a QAM, and then sent to the customer. Now Full EPG info on ClearQAM and DTAs OR DACS type Set-top Control & Encryption ClearQAM cable ready TV Listing Service Copyright © 2010 Triveni Digital, Inc.

151 Function of the PSIP generator:
PSIP In Cable Function of the PSIP generator: The PSIP metadata generator will: Handle all PSI and PSIP information Leaves multiplexers responsible for video and audio streams only Extracts PSI and PSIP data packets from incoming streams Decodes extracted tables Information then used to: Create A/65 compliant streams on the output Merges with each transport per operator configuration Information included: Channel numbering, PIDs, EITs also MGT and CVCT Movement of descriptor information from EIT to PMT Copyright © 2010 Triveni Digital, Inc.

152 PSIP in Cable Encryption, DACS & Set-tops: Cost Prohibitive
Add ‘Lower Cost DTAs’: Use ‘SI’ data for PSIP: Now Add PSIP (A/65) metadata: PACE or Evolution type lower cost DTA TVCT Off-Airs SI Metadata Generator Digital-To-Analog Conv Encoders CherryPicker, BMR, BNP QAM Modulator Cable/HFC Network AND/OR Digital to Analog Mod PSIP Metadata Generator Satellite Receivers ClearQAM cable ready TV Here’s an example of a problem, and how it might be solved using the methodology from the previous slide. This picture represents a very simple cable head end. Video is received ‘off the bird,’ groomed into a QAM, and then sent to the customer. Now Full EPG info on ClearQAM TVs and DTAs Listing Service Copyright © 2010 Triveni Digital, Inc.

153 Why is ‘SI’ used for these DTAs ?
PSIP In Cable Why is ‘SI’ used for these DTAs ? Lower cost due to being widely used internationally These DTAs were originally developed for the DVB standard Why is a ‘PSIP’ generator needed for ClearQAM? Digital TVs used in the USA are built to the ATSC-A/65 standard Cannot decode MPEG or SI metadata Copyright © 2010 Triveni Digital, Inc.

154 Digital Channels Delivered to an MDU:
PSIP in Cable Digital Channels Delivered to an MDU: TVCT Off-Airs Dedicated Fiber ClearQAM TV Hotel, Resort or College Dormitory PSIP Metadata Generator Fiber Optic Transmitter Encoders CherryPicker, BMR, BNP QAM Modulator Satellite Receivers Here’s an example of a problem, and how it might be solved using the methodology from the previous slide. This picture represents a very simple cable head end. Video is received ‘off the bird,’ groomed into a QAM, and then sent to the customer. Full EPG info on ClearQAM TVs Listing Service Copyright © 2010 Triveni Digital, Inc.

155 Dedicated service to MDUs
PSIP In Cable Dedicated service to MDUs Allows for: Creation of a custom channel line-up Special purpose channels included All digital video service Copyright © 2010 Triveni Digital, Inc.

156 Copyright © 2010 Triveni Digital, Inc.
Further Information ATSC A/65B – PSIP standard ATSC A/69 – PSIP Implementation Guidelines Additional PSIP information "Channel Branding and Navigation for DTV : Understanding PSIP", NAB Science & Technology Dept "PSIP: Program & System Information Protocol", Mark Eyer “Video Over IP” by Wes Simpson; SCTE Bookstore Copyright © 2010 Triveni Digital, Inc.

157 Copyright © 2010 Triveni Digital, Inc.
PSIP In Cable GuideBuilder ® Industry leading A/65 standard PSIP generator for fixed based and mobile digital television service. GuideBuilder -SI® Industry leading ETR DVB standard PSIP generator for fixed based digital television service. StreamScope® Analysis and stream monitoring tools for MPEG digital video transport. Copyright © 2010 Triveni Digital, Inc.

158 Copyright © 2010 Triveni Digital, Inc.
Thanks Digital TV & MPEG-2 Technology MPEG 101 and PSIP for Cable Copyright © 2010 Triveni Digital, Inc.


Download ppt "Copyright © 2010 Triveni Digital, Inc."

Similar presentations


Ads by Google