Professional Documents
Culture Documents
Service Architecture
Здравко от Cisco
znikolov@cisco.com
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 1
Agenda
Introduction
Video Coding and Transport
Scrambling - Encryption
IPTV Standards & Protocols
IPTV Building Blocks
Set top box
Content delivery services
IP Transport Network
Quality of Experience
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 2
Introduction
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 3
Introduction
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 5
Broadcaster Contribution Network
Production
Production
Post - Production
Venue
News Studio
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 6
Broadcaster Distribution Networks
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 7
From broadcasting to IPTV
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 8
Video coding
and transport
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 9
Why compress video?
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 10
How Compression is Achieved
Limitations of human perception are used to determine what
information can be discarded from the signal without a
significant reduction in perceived signal quality
Visual Limitations
Limited resolution
Higher luminance resolution than color resolution
Higher sensitivity for coarse picture details than fine details
Psychoacoustic Limitations
Limited frequency response
Non-linear frequency response
Limited volume range
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 11
Compression Process: Overview
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 12
Temporal Redundancy: Highlight
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 13
Compression Methods: Temporal
9/3 Group Of Pictures (GOP) Frame Timing Sequence
Rec 601 Video Frames Presentation Sequence
0 1 2 3 4 5 6 7 8 9
Frame Frame Frame Frame Frame Frame Frame Frame Frame Frame
I B B P B B P B B I
Elementary
Stream
I P B B P B B I B B
0 3 1 2 6 4 5 9 7 8
Decode Sequence
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 14
MPEG-2 Video
Video Hierarchy Sequence
...SEQUENCE...
... II BB PP BB II BB PP BB ...
Picture B
Slice 1 MB MB MB MB MB MB MB
Slice 3
Macroblock k
Y1 Y2
Y3 Y4
Cb Cr
Block n
8 x 8 pixels
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 15
H.264/AVC/MPEG-4 part 10
Video Hierarchy Sequence
...SEQUENCE...
... II BB PP BB II BB PP BB ...
VOP #2 MB MB MB MB *Variable
MB and Block
Slice a MB MB MB MB MB MB MB
Slice c MB
Macroblock k
Y1 Y2
Y3 Y4
Cb Cr
Block n
8 x 8 pixels
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 16
Encoder Compression Process
1. Process Composite and SDI Input signals.
2. Use Chroma sub-sampling Compression.
3. Use Temporal Compression methods
4. Use Spatial Compression methods to further compress data.
5. Use Mathematical Compression to further compress data.
6. Multiplex Video and Audio data to produce a Single Program
Transport Stream.
1
COMP
In Y
Cr
Process
signals
ENCODER
SDI In Cb
2 3 4 5 6 TS
Use Temporal
Multiplex
Use Compression Use
Use Spatial signals to
Subsampling methods to Mathematical
Compression Transport
Compression further Compression
Stream
compress
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 17
MPEG-2 Single Program Transport
Stream
Transport Stream defined by ISO/IEC 13818-1 or ITU-T H.222.0
Timing Information
27 MHz clock
MPEG-1 or MPEG-2 PCRs
SDTV or HDTV Video Video
Video Video Elementary Stream PES
Input Encoder Packetizer MPEG-2 MPEG-2
MPEG-1 Level 2 (Musicam) SPTS to
or Dolby AC-3 5.1 Surround Audio Transport network
Audio Audio PES Stream
Inputs
Audio Elementary Stream Packetizer or
Encoder Mux storage
Audio
PES
Alternate audio tracks
Optional application data
PAT (PID=0) & PMT
Contains a single video
program with associated
audio, data, etc.
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 18
MPEG-2 Transport Stream Details
8 bits 1 1 1 13 2 2 4 bits
Packet Sync Transport Payload Transport
Header byte Transport Adaptation Continuity
error unit start
Priority PID Scrambling
Field Control Counter
0x47 Indicator Indicator Control
4 bytes
188 bytes
... eam packet MPEG-2 Transport Stream packet MPEG-2 Tra ...
8 bits 1 bit 1 bit 1 bit 5
Adaptation Random Elementary Optional Stuffing Packet Payload
Discontinuity
field access Stream Flags Adaptation bytes (PES or PSI data)
Indicator
length Indicator Priority Fields 0xFF Start code 0x000001yy
Each 188 byte Transport Stream packet contains data from one elementary
stream or PSI/SI data as defined by the 13 bit PID value
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 19
Encapsulation of MPEG-2 TS over IP
PCR clock
frequency PCR clock PCR:
encoder PCR clock
generator phase
stamps PCR: recovered
generator Display
departure arrival
time of time of
Video packet packet Video
Encoder Decoder
Audio Audio
Encoder Decoder
variable delay = e(n) constant trans delay = Ctrans variable delay = d(n)
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 21
H.264 vs. MPEG-2 video
Bit rate savings of up to 50% or more
Requires roughly 2-3 times the calculation power and memory
Motion compensation
Variable block sizes as small as 4x4 vs. 16x16
Motion vector estimation: down to a ¼ of a pixel vs. ½ of a pixel
Interpolative pictures: up to 5 frames for motion estimation vs. 2 frames
Spatial redundancy reduction
Integer transform vs. DCT. Reducing the influence of rounding errors
Reduces the “Mosquito Noise” effect
Exact reconstruction by all decoders (eg: STBs)
Higher number of quantization levels: 52 vs. 31
Improved entropic coding using Context Adaptive Binary Arithmetic
Coding (CABAC) vs. static Variable Length Code (VLC)
In-loop adaptive filter in the encoder and decoder with the aim of
reducing the blockiness.
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 22
AVC Encoding
H.264 Encoder Video Quality Improvements
Bit rate Std Def
2.1 Mbps Original bit rate is 2.1 Mbps
1.8 Mbps
1.6 Mbps
1.5 Mbps
Time
1.30 Mbps Q4/ 06 Q4/ 07
January 06 June 06 IBC 06
Bit rate
Hi Def
8.5
Mbps Original bit rate is 8.5 Mbps
7.5 Mbps
Target bit rate in Q4/07 is 5 Mbps ! (> 40% reduction)
7 Mbps
6.5 Mbps
6 Mbps
Time
5 Mbps
April 06 June’ 06 IBC’ 06 Q4/ 06 Q1/ 07 Q4/ 07
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 23
Scrambling -
Encryption
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 24
Scrambling vs. DRM
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 25
Conditional Access
Service/Operator Layer
Entitlement Control Message (ECM)
Management Layer
Entitlement Management Message (EMM)
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 26
Encryption: Access Criteria & Rights
Mechanism to ensure only authorized users can decrypt
Access Criteria: Access Criteria that has to be valid to give the
subscriber access to the service - Service related (service layer)
Î Ex. AC of Service A: Theme = Comics
Transported in ECM (Entitlement Control Message)
Access Right: Rights to a particular (group of) service(s) -
subscriber related (management layer)
Î Ex. AR of John = {Can watch theme Comics and Docu, IPPV}
Transported in EMM (Entitlement Management Message)
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 27
MPEG-2 Conditional Access Architecture
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 28
IPTV Building
Blocks
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 29
Wireline IPTV/Video Overview
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 30
Systems Interoperability Requirements
Encoder X X X
IP-STB X X X X
Middleware X X X
VOD X X X X
CAS X X X X
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 31
IPTV Headend: Functionalities
Management
QPSK
OFDM
Descrambling
IP Streaming
Acquisition
Transrating
Scrambling
QAM
E3/DS3
Re-Multiplexing
ATM
Encode
A/V
ASI
Trans
code
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 32
IPTV Headend
Content Management:
IRD Video router Encoding Scrambling & Streaming
QPSK SDI SDI
SDI
SDI
SDI
DCM
IP cloud HE or
SDI network
SDI
Backup Unit
Atlas Decoders SDI
Indus
OFDM ASI SDI SDI
ASI
HD
SDI
BU
Conditional Access
Management System System(s)
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 33
IPTV Headend
Integrated Receiver Decoder
D9054
D9054 Single Slice
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 36
IPTV Headend
Digital Content Manager (DCM)
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 37
Set top box
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 38
IP Set top box features
RF DVB-T in
Remodulation RF in
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 39
STB data flow
Private
data
STB
To CPU Video Decode Buffer
Video data
Transport Demux
De-jitter Video
CBR/VBR
Packets Re-order
FEC/re-xmit
STB
Audio data Audio Decode Buffer audio
TV
Standard Definition
IPN330SD
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 41
Content Delivery
Services
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 42
What is VOD?
VOD = Video-On-Demand
Service Provider
Leverages
Digital Cable or IP
Set Top Boxes (STBs)
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 43
Content management
http://www.cablelabs.com/projects/metadata/specifications/specifications20.html
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 44
Content Access Distribution Patterns
Popular titles are accessed the most
but actual use depends on many things:
MOD vs. SVOD vs. FreeVOD (service type)
Promotion of service and titles (advertising)
Timeliness of content (content window)
Churn or replacement rate (new content)
Type of content (Hollywood movies, documentaries, library)
Size of content library (i.e. number of titles)
Time of the day, day of the week
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 45
Content Delivery System architecture
Catcher is the content acquisition
point into the system Catcher
Distributed architecture
Hierarchical network storage
Streaming at the network edge
Multi level cache Vault Array
Vaults:
Ingest & reliable storage for a
metro, region or nation Streamer
Arrays
Streamers:
“Personalized” video
streaming
Pulls content from Vault on
demand and caches at
network edge
Many TV Streamer Arrays
served by single Vault Set Top Box & EPG Set Top Box & EPG
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 46
Middleware
Acts as the interface between the STB and the
different service platforms in an IPTV architecture
Service Discovery (EPG) and Selection
Interface to Subscriber Management and Billing
platforms
Interface to Session Resource Manager
Interface to VOD servers
Limited standardised framework, each vendor has
his own solution, APIs and system components
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 47
Electronic Program Guide (EPG)
http://webapp.etsi.org/action/PU/20060523/en_300468v010701p.pdf
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 48
Service Information: PSI / SI
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 49
TV-Anytime
http://portal.etsi.org/radio/TVAnytime/TVanytime.asp
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 50
DVB Service Discovery and Selection
The SD&S specification covers:
Service (and Provider) discovery
Service selection
Transport of the Discovery information (push and pull modes)
Service discovery results in:
List of available providers and services, with sufficient
information to make a choice/select (user) and to enable access
(system)
Two types of Live Media Broadcast
TS full SI: DVB-SI embedded in the transport stream
TS optional SI: Only PSI must be embedded in the transport
stream
Service discovery information represented with and carried as XML
records
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 51
Service Selection
Live Media Broadcast services:
Data sent to a multicast group is only forwarded to receivers
which explicitly joined the multicast group using IGMP
DVB-IP supports IGMPv3
introduces source specific multicast (SSM) to optimise IP
multicast network load
enables routers to filter on specific source addresses of
senders of multicast groups.
Optionally RTSP may be used
Content on Demand services:
Delivered over IP unicast
Accessed via RTSP, DVB-IP profile specified (to guarantee
interoperability and reduce testing effort)
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 52
DVB Broadband Content Guide
Defined in ETSI TS 102 539 v1.1.1 (2006-11)
Broadband Content Guide (BCG) refers to a Content Guide deliver
over IP
However, it can be used to describe content that is delivered over
any network (e.g. IP, DVB-S, DVB-T…)
BCG data model:
Based on TV-Anytime XML Schema (ETSI TS 102 822)
BiM-encoded (Binary format for Multimedia description streams)
BCG encapsulation:
All BCG data is segmented and carried inside Data Delivery Units
BCG transport:
Uses existing DVB-IP transport for SD&S
Optional query mechanism for metadata acquisition: SOAP over HTTP
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 53
IP Transport
Network
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 54
IPTV over BB Solution
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 55
Redundancy models
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 56
Advantages of SSM
Simpler
Sources are known in advance
No Rendez-Vous Point (RP)
Single (Shortest Path or SPT) tree
More secure
Only one source can send to SSM channel
Prevents DoS by malicious attacks or misconfigurations
More scalable
Better use of address space
Receiver needs to use IGMPv3 for source specific join
Alternative is to do SSM Mapping at the PIM router
Map IGMPv2 (*,G) join to a source specific PIM join
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 57
Anycast-Source with RIPv2 Poison
Reverse
redistribute
s/32, m=1 s/32, metric 5 s/32, m=16
1 s 1 s
ENC ADP X
ENC ADP
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 58
Next Generation Broadband Services Have
Different Transport and Operational Needs
Service Type Transport Service Application Service
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 59
Next Generation Broadband Architecture
Portal Subscriber Address Policy
Monitoring Billing Identity
Database Mgmt Definition
Residential
STB Aggregation
Business
Si
Distribution
BRAS
Business Aggregation Network Si
L3VPN PE
Aggregation Content Network
STB
VoD TV SIP
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 60
Quality of
Experience
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 61
QoE from the user’s perspective
User Interface
Design, navigation, ergonomics, color palette
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 62
IPTV QoE in the architecture STB
Highlights of the main areas Fast Channel
A/V decode buffers,
Lip sync,
Change, Output interfaces
A/V RSVP CAC
Encoding IRT/RTE
Central/End Home
Offices gateway
A/V VoD Servers
Encoding Super Home
FEC Head gateway
End District
Offices
Live Home
Broadcast Metro gateway
IP/MPLS
& VoD
Core
Aggregation
Asset Network
Home
gateway
Distribution
MW Servers Home
gateway
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 64
Impact of Packet Loss
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 65
Packet Loss example
0% Packet
Loss
0.5 % Packet
Loss
5 % Packet
Loss
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 66
On-Path CAC Benefits and Applicability
Since RSVP message follow exact same path as flow, RSVP CAC :
Is Accurate in any arbitrary topology (ring, mesh, star, hub, chain,…)
Dynamically adjusts to reroute, failures, capacity increase
eg from Nx1GE to (N+1)x1GE, from Nx1GE to 10 GE
Is Completely independent of VoD Content Distribution
RSVP CAC can cover all links in Aggregation
RSVP CAC also covers DSLAM uplinks
RSVP CAC brings a lot of value as soon as aggregation topology is
non-trivial:
•Carry higher VoD load for given <links bandwidth, QoE>
•Increase QoE for given <VoD load, links bandwidth>
•Decrease required links bandwidth for given <VoD load, QoE>
Requires VoD Transport over native IP or over LDP/Global
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 67
RSVP-based VoD CAC
CAC
Residential
CAC
CAC Ethernet/IP/MPLS Aggregation BRAS
L3 IP/MPLS
Core
IPoE
IPoE
RSVP Resv
Business IPoE
Corporate 802.1Q
CAC CAC
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 68
Oversubscription on DSLAM link
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 69
Per Interface Mroute State Limit
IGMP State Limit Feature:
•Limit the number of receivers allowed
to join a source per interface
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 70
BW Based Hierarchical Per Interface Mroute
State Limit
BW Based Limit Feature:
•Configure BW costs for group ranges E Basic (100 channels)
•Configure BW limits per interface Content 1G Premium (100 channels)
Provider 1 Gold (100 channels)
based on costs
E E
2. Each CP will have TV programs G
w/ different BW: 10
Content MPEG2 SDTV
DSLAM
- MPEG2 SDTV: 4 Mbps Provider 3 MPEG2 HDTV
MPEG4 SDTV
- MPEG2 HDTV: 18 Mbps MPEG4 SDTV
- MPEG4 SDTV: 1.6 Mbps
- MPEG4 HDTV: 6 Mbps ! Global
3. Service Provider (SP) would like to ip multicast limit cost MPeg2-SD-channels 4000 ! Cost or BW per group
ip multicast limit cost MPeg2-HD-channels 18000
provision fair sharing of !
bandwidth between these three ip access-list standard MPeg2-HD-channels
content providers to its permit 232.100.1.0 0.0.0.255
consumers across 1Gbps links. …
interface Gig0/0
4. Each CP should be able to use up description --- Interface towards DSLAM ---
to 250Mbps & leave the remaining ! CAC
ip multicast limit out provider1-channels 25000
250 Mbps for Voice/Internet/VoD. ip multicast limit out provider2-channels 25000
!
ip access-list standard provider1-channels
permit 232.100.0.0 0.0.255.255
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 71
Summary
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 72
IPTV is about
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 73
IPTV is not
IPTV is NOT about transmission
It is IPTV, not VPLS-TV
Efficient transmission is always desirable and provides for fast
convergence but does not cure packet loss
One single packet loss (5 msec impairment) may result in a visible
effect lasting for more than 500 msec
Good L3 queuing and FEC techniques prevent and recover from
packet losses
The transmission layer does not provide intelligent services to TV.
Those are provided at the IP layer and above
Packet FEC, packet retransmission, block transmission may actually
recover from packet losses
IPTV Service SLAs are packet based (drop, jitter, delay)
Analysis and Monitoring of those packets is required
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 74
Q and A
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 75
Further information
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 76
Further information
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 77
BRKBBA-3010 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 78