AWS re:Invent 2016: Accelerating the Transition to Broadcast and OTT Infrastructure in the Cloud: Spotlight on Building Media Services on AWS and Elemental (MAE301)
This document summarizes a presentation on accelerating the transition to broadcast and over-the-top (OTT) infrastructure in the cloud. The presentation discusses benefits of cloud-based video on demand workflows, scripting VOD workflows on AWS, and considerations for setting up live streaming workflows in the cloud. It provides an example of a VOD workflow used by Cinépolis and discusses options for moving live streams and processing to the cloud. The presentation concludes that moving broadcast workflows to the cloud can provide agility, scaling, and highly available services.
Ähnlich wie AWS re:Invent 2016: Accelerating the Transition to Broadcast and OTT Infrastructure in the Cloud: Spotlight on Building Media Services on AWS and Elemental (MAE301)
Ähnlich wie AWS re:Invent 2016: Accelerating the Transition to Broadcast and OTT Infrastructure in the Cloud: Spotlight on Building Media Services on AWS and Elemental (MAE301) (20)
How to Troubleshoot Apps for the Modern Connected Worker
AWS re:Invent 2016: Accelerating the Transition to Broadcast and OTT Infrastructure in the Cloud: Spotlight on Building Media Services on AWS and Elemental (MAE301)
2. What to Expect from the Session
2
• Benefits of a cloud-based, file-to-file workflow for video
on-demand platforms with an example from Cinépolis
• How to script VOD workflows on AWS
• What to consider and how to set up a live streaming
workflow in the cloud
4. 4
What the cloud can do for video
Live On Demand
• More channels
• High availability
• Advanced
features
• Live to VOD
catch-up
• More content
• Higher quality
• Global
distribution
• Better quality of
experience
5. 5
VOD OTT in the Cloud
Elemental
CLOUD
Elastic Video Processing Devices
All OTT devices
Amazon S3 Amazon S3 Amazon
CloudFront
• Unlimited content
• Scale for peaks and bulk of workloads
• On-demand test environment
• Fast and easy to change and update
8. 8
Cinépolis Klic
• TVOD movie service
• Over 1500 premium, theatrical content
• App available on more than 500 devices
• Major brands such as Samsung,
Sony, LG, Roku, Hisense, PlayStation,
IOS, Android and Web
• Full integration with Cinépolis Loyalty program
• 8x growth 2015 vs 2016
• 7x growth projected in 2016
8
9. 9
Ingestion flow 1 (MSS & Progressive Download)
Klic
Back EndIngestion team
Master
bucket
Encrypted
mezz
Mpeg.ts
10 mbps
MSS HD
5 mbps
MSS SD
1.7 mbps
Progressive
HD 5 mbps
Progressive
SD 1.7 mbps
DRM PR &
WV
Outgoing
VOD
platform download
distribution
streaming
distribution
Staging
Elemental
SERVER
Elemental Cloud
Elemental
SERVER
9
10. 10
7
Need to deliver our content to:
• HTML5
• Android App
• New SDK
• Connected TV
• More DRMS
Cinépolis Klic (Dash migration)
Challenge
• 1500 movies to be
transcoded, encrypted
and re-publish
• No downtime
10
11. 11
Solution
• Duplicate the workflow
• Change output group in
elemental server
• Increase number of nodes
• Transcoded entire catalog
in 2 weeks
• Scarce resource was
human hands
11
12. 12
Ingestion flow 2 (DASH)
Klic
Back EndIngestion team
Master
bucket
Encrypted
mezz
Mpeg.ts
10 mbps
DASH HD
5 mbps
DASH SD
1.7 mbps
DRM PR
WV
Fairplay
Outgoing
VOD
platform
download
distribution
Staging
Elemental Cloud
Elemental
SERVER
12
16. 16
VOD OTT in the Cloud
Elemental Cloud
Elemental
DELTA
Video Delivery Platform
Elemental
SERVER
File-Based Video Processing
DevicesAmazon S3 Amazon
CloudFront
• Simplified workflow
• Lower storage cost
• Easy to add new devices
• Ability to monetize
20. 20
Event Driven VoD Processing on AWS
Transcoding
Media File
Media
Consumers
S3
Transfer
acceleration
SnowballDirect
Connect
Ingest
Downstream Processing
EC2
Post Processing Fleet
SQS
DevOps
EC2 EC2
S3
Transcode OutputElemental
SERVER
Elemental
SERVER
Elemental
SERVER
21. 21
Cloud Patterns
• Decouple components
• Independently scale each component
• Gain visibility into the entire workflow
• Fine-grained access control
55. 55
Event Driven VoD Processing on AWS
Transcoding
Media File
Media
Consumers
S3
Transfer
acceleration
SnowballDirect
Connect
Ingest
Downstream Processing
EC2
Post Processing Fleet
SQS
DevOps
EC2 EC2
S3
Transcode OutputElemental
SERVER
Elemental
SERVER
Elemental
SERVER
56. 56
Moving live to the cloud
• Add channels easily and elastically
• Deliver advance features across all platforms
• Highly available solution to ensure resilience
57. 57
Best practices for live multiscreen streaming
Elemental Cloud
Elemental
DELTA
Video Delivery Platform
Elemental
LIVE
Live Video Processing
DevicesAmazon
CloudFront
Amazon S3
AWS Direct
Connect
• What content to send to the cloud
• How to send the content
• Processing the content
• Delivering the content
Live
Source
58. 58
What to send to the cloud
Live
Source
• Single stream
• Adaptive bitrate stream set
Single Bitrate Streaming Adaptive Bitrate Streaming
PC/TV
Tablet
MobileHigh bitrate mezzanine feed
or
Highest bitrate available from location
Multiple synchronized streams
59. 59
Getting real-time content to the cloud
Elemental Cloud
Elemental
DELTA
Video Delivery Platform
Elemental
LIVE
Live Video Processing
DevicesAmazon
CloudFront
AWS Direct
Connect
Live
Source
Amazon S3
• RTMP – based on TCP protocol
• HLS – HTTP protocol based on TCP
• RTP – UDP protocol
• RTP w/FEC
60. 60
RTMP HLS RTP RTP w/FEC
Latency
Reliability
Capabilities Captions
Ad support
Audio support
Bitrate Risk of
buffering
Risk of
buffering
Risk of data
loss
More frequent
error correction
When to use different formats
64. 64
• Add output filters
• Each can include a
subset of bit-rates
• Optimize experience
for audience
• Efficient use of
distribution bandwidth
• Reduce storage costs
Adjust packager settings
65. 65
Delivering a great consumer experience
DevicesAmazon
CloudFront
AWS Direct
Connect
Live
Source
• Deliver to thousands of viewers
Elemental Cloud
Elemental
DELTA
Video Delivery Platform
Elemental
LIVE
Live Video Processing
Amazon S3
66. 66
Delivering a great consumer experience
Devices
Amazon
CloudFront
AWS Direct
Connect
Live
Source
• Deliver to thousands of viewers
• Highly available
Amazon S3
Elemental Cloud
Elemental
DELTA
Video Delivery Platform
Elemental
LIVE
Live Video Processing
Optional
Descript
ion
CDN
CDN
Multiple
CDNs
CDN
67. 67
Delivering a great consumer experience
Devices
Amazon
CloudFront
AWS Direct
Connect
Live
Source
• Deliver to thousands of viewers
• Highly available
• Pause and re-start live
• Live to VOD
Amazon S3
Elemental Cloud
Elemental
DELTA
Video Delivery Platform
Elemental
LIVE
Live Video Processing
Optional
Descript
ion
CDN
CDN
Multiple
CDNs
CDN
68. 68
Preparing for the future of broadcast and OTT
Moving broadcast workflows to the cloud makes sense
• Agility to adapt fast and add advanced features
• Scale for peaks and bulk workloads and add extra channels
• Build robust solution that deliver highly available services
• Related sessions
• CTD201: 24/7 live streaming
• CTD202: Live channel play-out and Server Side Ad insertion
• CTD203: On-demand transcoding options on AWS