Ancillary Data Monitoring

44
Broadcast Data Analysis

Transcript of Ancillary Data Monitoring

  • Broadcast Data Analysis

  • Understanding ANC Data

    ANC Data Inspector

    Aspect Ratio & AFD

    Closed Caption Monitoring

    Agenda

    Advanced Ancillary Data Analysis 2

  • SMPTE Standards

    SMPTE 291M - Ancillary Data Packet and Space Formatting

    Defines format of ANC Data Packet

    Defines location and spacing of ANC Data

    SMPTE RP291 - Assigned Ancillary Identification Codes

    Defines DID and SDID for various ANC Data Packets

    Advanced Ancillary Data Analysis 3

  • Ancillary Data Space

    Advanced Ancillary Data Analysis 4

    H

    AN

    C

    VANC

  • Ancillary Data Format

    ADF Ancillary Data Flag 000h,3FFh,3FFh

    DID Data Identification Word

    DBN Data Block Number - for Type I

    SDID Secondary Data Identification - for Type 2

    DC Data Count

    User Data Words up to a maximum of 255 words

    CS Checksum

    Advanced Ancillary Data Analysis 5

    (000h)

    (3F

    Fh)

    (3F

    Fh)

    DID

    SD

    ID

    CS

    DC

    DB

    N

    User Data

    Words

    (max 255)

  • Advanced Ancillary Data Analysis 6

    Ancillary Data Format - DataList

  • SMPTE RP 291 Examples

    Defines a variety of standard DID and SDID used in Standards Today

    Advanced Ancillary Data Analysis 7

    Standard Description DID DBN / SDID DC

    SMPTE 291M Undefined Data 00 h (200 h) xxx / 00 h (200 h)

    SMPTE 291M 8 Bit Application 04 h (104 h) 10 h (110h) xxx

    SMPTE 291M Packet Marked for

    Deletion

    80 h (180 h) xxx / 00 h (200 h) xxx

    SMPTE 291M Start packet 88 h (288 h) xxx / 00 h (200 h)

    SMPTE 291M End Packet 84 h (284 h) 00 h (200 h) 00 h (200 h)

    SMPTE 291M User Defined C0 h (2C0 h) xxx xxx

    SMPTE 291M Metadata Packet F0h (2F0h) xxx xxx

    SMPTE 291M LTC Timecode F5h (2F5h) 00 h (200 h) 08 h (108h)

    SMPTE 352M Payload

    Identification

    41h (141h) 01h (101h) 04h (x04h)

    RP188 VANC Timecode (ATC) 60h (260h) 60h (260h) 10h (110h)

    RP196 HANC Timecode (LTC) 64h(164h) 64h (164h) 8h (108h)

    RP196 HANC Timecode (VITC) 64h (164h) 7Fh (17Fh) 9h (209h)

    RP165 EDH (Error

    Detection

    Handling)

    F4h (1F4h) 00h (200h) 10h (110h)

  • DID and SDID for HD and SD Embedded Audio

    Standard Definition SMPTE 272M

    Audio

    Channels

    Audio Data

    Packet

    Extended

    Data Packet

    Audio

    Control

    Packet

    Group 1 1-4 2FFh 1FEh 1EFh

    Group 2 5-8 1FDh 2FCh 2EEh

    Group 3 9-12 1FBh 2FAh 2EDh

    Group 4 13-16 2F9h 1F8h 1ECh

    High Definition SMPTE 299M

    Audio

    Channels

    Audio Data

    Packet

    Audio

    Control

    Packet

    Group 1 1-4 2E7h 1E3h

    Group 2 5-8 1E6h 2E2h

    Group 3 9-12 1E5h 2E1h

    Group 4 13-16 2E4h 1E0h

    8 Advanced Ancillary Data Analysis

  • Advanced Ancillary Data Analysis 9

    Ancillary Data Inspector

    Watch List

    Easily identifies all ANC

    Data present within the

    signal

    Provides Error Checking

    Press MAG

    Displays ANC data

    packet information

    Supports All ANC Data

    types

  • Advanced Ancillary Data Analysis 10

    Ancillary Data Inspector - CaptureVu

    CaptureVu

    Captures 1 Frame of

    Data

    Allows review of each ANC

    Data Packet for all present

    ANC Data

  • CaptureVu Utility

    Simple DOS based conversion utility

    Available on Tektronix website

    Converts *.CAP files to the following 0 Converts the *.CAP file to a *.TXT file for use other applications

    1 Converts the *.CAP file to a *.CSV file for use in Excel spreadsheet

    2 Converts the *.CAP file to a *.PIC file for download to the TG700

    Advanced Ancillary Data Analysis 11

  • Understanding ANC Data Types SMPTE 352M Video Payload ID

  • Understanding ANC Data Example

    SMPTE 352M Video Payload Identification

    ADF 000h, 3FFh, 3FFh

    DID 241h (41)

    SDID 101h (01)

    DC 104h ( (04)

    User Data 4 Words

    Checksum

    4 Data Words carry following information

    Advanced Ancillary Data Analysis 13

    (000h)

    (3F

    Fh)

    (3F

    Fh)

    DID

    SD

    ID

    CS

    DC

    4 User Data

    Words

    (max 255)

    Bits Byte 1 Byte 2 Byte 3 Byte 4

    Bit 7 1 Interlaced (0) or

    Progressive (1) transport Reserved Reserved

    Bit 6 0 Interlaced (0) or

    Progressive (1) picture

    Horizontal Y/Y sampling 1920 (0) or 2048 (1)

    Reserved

    Bit 5 0 Reserved Reserved Reserved

    Bit 4 0 Reserved Reserved Dynamic range 100% (0h),

    200% (1h), 400% (2h),

    Reserved (3h) Bit 3 1

    Picture Rate

    (see SMPTE 352M table 2)

    Sampling structure

    (see SMPTE 352M table 3

    and NOTE 1)

    Bit 2 0 Reserved

    Bit 1 0 Bit depth

    8-bit (0h), 10-bit (1h), 12-bit

    (2h), Reserved (3h) Bit 0 1

  • SMPTE 352M - Table 2 & 3

    Value Frame Rate Value Frame Rate Value Frame Rate Value Frame Rate

    0h No defined

    value 1h Reserved 2h 24/1.001 3h 24

    4h 48/1.001 5h 25 6h 30/1.001 7h 30

    8h 48 9h 50 Ah 60/1.001 Bh 60

    Ch Reserved Dh Reserved Eh Reserved Fh Reserved

    Advanced Ancillary Data Analysis 14

    Value Sampling Value Sampling Value Sampling Value Sampling

    0h 4:2:2

    [default]

    (Y/Cb/Cr)

    1h 4:4:4

    (Y/Cb/Cr) 2h

    4:4:4

    (G/B/R) 3h 4:2:0

    4h 4:2:2:4

    (Y/Cb/Cr/A) 5h

    4:4:4:4

    (Y/Cb/Cr/A) 6h

    4:4:4:4

    (G/B/R/A) 7h Reserved

    8h 4:2:2:4

    (Y/Cb/Cr/D) 9h

    4:4:4:4

    (Y/Cb/Cr/D) Ah

    4:4:4:4

    (G/B/R/D) Bh Reserved

    Ch Reserved Dh Reserved Eh 4:4:4

    (XYZ) Fh Reserved

    Table 2 Byte 2 Frame Rate

    Table 3 Byte 3 Sampling Structure

  • Advanced Ancillary Data Analysis 15

    SMPTE 352M packet

    quickly identified in the

    stream

    Indicates line locations of

    ANC Data packets

    MAG shows data bytes

    Ancillary Data Inspector SMPTE 352M

  • Advanced Ancillary Data Analysis 16

    89h

    1080-line video payloads on a

    Level A 2.97 Gb/s (nominal)

    serial digital interface

    CAh Ch Progressive Transport &

    Picture

    Ah 60/1.001

    00h 0h 1920

    0h 4:2:2 [default] (Y/Cb/Cr)

    01h Dynamic range 100% (0h)

    Bit Depth 10-bit (1h)

    Video Session Display Interprets SMPTE 352M

  • Understanding ANC Data Types SMPTE 2016 AFD Active Format Description - Aspect Ratio

  • SMPTE 2016-1 Format for Active Format Description and Bar Data

    SMPTE 2016-2 Format for Pan-Scan Information

    SMPTE 2016-3 Vertical Ancillary Data Mapping of Active Format Description and Bar Data

    SMPTE 2016-4 Vertical Ancillary Data Mapping of Pan-Scan Information

    SMPTE 2016-5 KLV Coding for Active Format Description, Bar Data, and Pan-Scan Information

    ATSC A/53 AFD Carriage in MPEG2

    CEA-CEB16 Digital Receiver Guidelines

    Standards Documents

    18 18 Advanced Ancillary Data Analysis

  • Understanding ANC Data Example

    It is to be used by Broadcasters, CATV, and Satellite providers to dynamically control how down-conversion equipment formats

    widescreen 16:9 pictures for 4:3 displays.

    In-house Down convert from HD to SD

    Set-Top-Box down convert and Display of HD as SD

    SMPTE 2016-3 AFD

    ADF 000h, 3FFh, 3FFh

    DID 241h (41)

    SDID 205h (05)

    DC 108h (08)

    User Data 8 Words

    Checksum

    Advanced Ancillary Data Analysis 19

    (000

    h)

    (3F

    Fh)

    (3F

    Fh)

    DID

    SD

    ID

    CS

    DC

    4 User Data

    Words

    (max 255)

  • Understanding ANC Data Example

    SMPTE 2016-3 AFD

    8 Data Words carry following information

    b6-b3 AFD code data bits: a3, a2, a1, a0

    b2 Aspect ratio (AR) of the coded frame: '1' = 16:9, '0' = 4:3

    Advanced Ancillary Data Analysis 20

    UDW Function b9 b8 b7 b6 b5 b4 b3 b2 b1 b0

    1 AFD B8 P 0 a3 a2 a1 a0 AR 0 0

    2 Reserved B8 P 0 0 0 0 0 0 0 0

    3 Reserved B8 P 0 0 0 0 0 0 0 0

    4 Bar Data Flags B8 P Top Bot Left Right 0 0 0 0

    5 Bar Data Value 1 B8 P f15 f14 f13 f12 f11 f10 f9 f8

    6 Bar Data Value 1 B8 P f7 f6 f5 f4 f3 f2 f1 f1

    7 Bar Data Value 2 B8 P s15 s14 s13 s12 s11 s10 s9 S8

    8 Bar Data Value 2 B8 p s7 s6 s5 s4 s3 s2 s1 s0

  • AFD representations for images in a 4:3 coded frame

    21 21 Advanced Ancillary Data Analysis

  • Advanced Ancillary Data Analysis 22

    Aux Status display

    provides summary

    Picture Display shows

    presence & graticule

    ANC Data Inspector shows

    location of ANC packet

    Ancillary Data Monitoring SMPTE 2016

  • Advanced Ancillary Data Analysis 23

    ANC Data Inspectors

    quickly identifies presence

    of SMPTE 2016 packet

    Detailed view shows Line &

    Field location

    AFD shall be located in the

    active line portion of VANC

    In this case wrong line is

    used

    Allows user to verify how

    many packets are present

    Ancillary Data Inspector SMPTE 2016

  • Understanding ANC Data Types Closed Caption EIA708/608 & SMPTE 334

  • Closed Caption

    Advanced Ancillary Data Analysis 25

    Closed Captions can be enabled by viewer within the program material.

  • Closed Caption Standards

    Closed Caption is defined by the following standards CEA 608 for standard definition analog NTSC

    CEA 708 for Digital Television (DTV)

    SMPTE 334-1 Vertical Ancillary Data Mapping of Caption Data and Other Related Data

    SMPTE 334-2 Caption Distribution Packet (CDP) Definition

    SMPTE EG 43 System Implementation of CEA 708 and CEA 608 Closed Captioning

    Standard available from www.ce.org and www.smpte.org

    Advanced Ancillary Data Analysis 26

  • Analog NTSC Closed Caption

    CEA 608 defines analog Closed Captioning

    Data added to Line 21 of Field 1 and Field 2

    Signal contains clock and two data bytes

    Data rate of 120 Bytes per second or 960 bits per second

    CEA 608 can carry services CC1-4 and TXT 1-4

    In SD-SDI analog signal can be digitized as part of the active

    video or carried as ANC Data

    Packet.

    Advanced Ancillary Data Analysis 27

  • Digital Television Closed Caption

    CEA 708 defines Digital Television Closed Captions

    Advanced Ancillary Data Analysis 28

    DTV

    Bitstream

    Audio

    Video

    MPEG

    Control

    User

    Data

    Bits

    DTVCC

    Transport

    Channel

    PMT

    EIT

    NTSC Caption CEA 608

    DTVCC Caption Channel Caption Service 1

    Caption Service n

    DTVCC Service Directory

    DTVCC Service Directory

    Supports backward compatibility with CEA 608

    Maximum data rate of 9600bps

  • Configuring Closed Caption Decoding

  • How to Configure Closed Caption Decoding

    Advanced Ancillary Data Analysis 30

    Select one of the

    tiles and press

    PICT button

    Push and Hold

    PICT button to

    access menu

    Navigate to CC/

    Teletext format

    Select CEA 708

    Repeat process

    for another tile and

    select CEA 608

  • Understanding Auxiliary Data Status Display

    Advanced Ancillary Data Analysis 31

    Select one of the

    tiles and press

    Status button

    Push and Hold

    Status button to

    access menu

    Navigate to

    Display Type and

    select Aux Data

    Status

  • Configuring CEA

    608 selections

    Press CONFIG

    button

    Navigate to Aux

    Data Settings

    Select CEA 608

    Settings

    Select CEA 608

    Transport

    Auto

    Line 21,

    S334(RAW)

    S334(CDP)

    How to Configure Closed Caption Decoding

    Advanced Ancillary Data Analysis 32

  • Configure one Tile

    to decode CEA 708

    Configure another

    tile for to decode

    CEA 608

    Multiple Language

    Captions

    Select one Tile for

    CC1 or Service 1

    Select another Tile

    for CC3 or Service 2

    Simultaneous Closed Caption Display

    Advanced Ancillary Data Analysis 33

    CEA 708 CEA 608

  • Troubleshooting Closed Caption Problems

  • Closed Caption Problems

    Picture Display not decoding Closed Captions

    Verify that CC is enabled and the correct service is selected

    Check Aux Data Status for presence of Closed Captions

    Is V-Chip rating present and set correctly?

    Does the frame rate of closed caption match video frame rate

    Mismatches in frame rate can cause encoder problems

    May need to delve into the ANC data packet

    Advanced Ancillary Data Analysis 35

  • In-Picture closed

    caption decode

    Check V-Chip rating

    Aux Data Status

    Shows presence

    Shows Number of

    services

    ANC Data Inspector

    Shows presence of

    ANC data packets

    Tools to use for Troubleshooting Closed Caption

    Advanced Ancillary Data Analysis 36

  • Select one of the tiles

    and press MEASURE

    button

    Push and Hold

    MEASURE button to

    access menu

    Navigate to Display

    Type and select ANC

    Data Display

    Press Full to display

    ANC Data Display

    Navigate to Closed

    Caption data and

    press MAG

    ANC Data Inspector and Closed Caption Data

    Advanced Ancillary Data Analysis 37

  • Understand Closed Caption ANC Data

  • Closed Caption ANC Data

    CEA 608 ANC Data

    DID 161h (0x61h)

    SDID 102h (0x02h)

    Active line portion of VANC at least 2 lines after switching point

    Relatively Simple contains a Line ID and the 2 bytes of data per field

    CEA 708 ANC Data

    DID 161h (0x61h)

    SDID 101h (0x01h)

    Active line portion of VANC at least 2 lines after switching point

    Line 9 of Field 1 or 2.

    Multiple types of data can be present within data stream

    Advanced Ancillary Data Analysis 39

  • Closed Caption Data Stream

    SMPTE 334 CDP 708 stream can contain the following data types

    CDP Header (required) 0x9669 (296h, 269h)

    Timecode (optional) 0x71 (271h)

    CDP CC Service Information (optional) 0x73 (173h)

    CDP Footer Section (required) 0x74 (274h)

    CDP CC Data Section (optional) 0x72 (272h)

    Closed Caption data types

    CEA 608 field 1 0xFC (2FCh)

    CEA 608 field 2 0xFD (1FDh)

    CEA 708 DTVCC Packet Data 0xFE (1FEh) CC 1 Valid

    CEA 708 DTVCC Packet Start 0xFF (2FFh) CC 1 Valid

    CEA 708 DTVCC Packet Data 0xFA (2FAh) Invalid 0

    Advanced Ancillary Data Analysis 40

  • Interpreting Closed Caption Data Stream

    Advanced Ancillary Data Analysis 41

  • Interpreting Closed Caption Data Stream

    Advanced Ancillary Data Analysis 42

    Data Sync 296 269 (0x9669h)

    CC Data Section 272 (0x72h)

    CEA 608 CC1 2FC (0FCh)

    CEA 608 CC2 1FD (0xFDh)

    CEA 708 DTVCC Start Header 2FF (0xFFh)

    CEA 708 DTVCC Header 1FE (0xFEh)

    CEA 708 DTVCC Inactive 2FA (0xFAh)

    Services Information Section 173 (0x73h)

    CC Footer Section 274 (0x74h)

    Timecode 171 (0x71h)

  • Ancillary Data is becoming more prevalent within SDI for a variety of functions.

    Embedded Audio, Video Payload ID

    Ancillary Data Inspector simplifies ANC Data monitoring Easily shows what ANC data is present within the SDI signal

    43 Advanced Ancillary Data Analysis

    Interpreting Closed Caption Data Stream

  • Advanced Ancillary Data Analysis 44

    MOC.KET.WWW More Information