AWS re:Invent 2016: Accelerating the Transition to Broadcast and OTT Infrastructure in the Cloud:...

Post on 13-Jan-2017

515 views 1 download

Transcript of AWS re:Invent 2016: Accelerating the Transition to Broadcast and OTT Infrastructure in the Cloud:...

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1

Dustin Encelewski, Director or Product Management, AWS Elemental

Khawaja Shams, VP of Engineering, AWS Elemental

Marcial Rivas, IT Manager, Cinépolis

November 28, 2016

MAE301

Accelerating the Transition to Broadcast

and OTT Infrastructure in the CloudSpotlight on Building Media Services on AWS and Elemental

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

3

Introducing ElementalMarkets

Enterprise Government

Broadcasters

Content Programmers

Pay TV Operators

Content

Live

On Demand

S3

Displays

Devices

AWS acquired Elemental Technologies in October 2015

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

VOD OTT in the Cloud

ElementalCLOUD

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

6

Real world example of VOD workflow in the cloud

77

8

3

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

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

ElementalSERVER

Elemental Cloud

ElementalSERVER

9

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

9

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

Ingestion flow 2 (DASH)

Klic

Back EndIngestion team

Master

bucket

Encrypted

mezz

Mpeg.ts

10 mbpsDASH HD

5 mbps

DASH SD

1.7 mbps

DRM PR

WV

Fairplay

Outgoing

VOD

platform

download

distribution

Staging

Elemental Cloud

ElementalSERVER

12

13

12

Cinépolis Klic Next steps

Simplify

workflow

13

14

Ingestion flow 3 (MSS, HLS, DASH)

Klic

Back EndIngestion team

Master

bucket

VOD

platform

download

distribution

MSS, DASH, HLS

Playready, Widevine

HD, SD

Elemental Cloud

ElementalSERVER

ElementalDELTA

14

15

Cinépolis Klic Results

15

16

VOD OTT in the Cloud

Elemental Cloud

ElementalDELTA

Video Delivery Platform

ElementalSERVER

File-Based Video Processing

DevicesAmazon S3 AmazonCloudFront

• Simplified workflow

• Lower storage cost

• Easy to add new devices

• Ability to monetize

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 17

Khawaja Shams, VP of Engineering, AWS Elemental

Event Driven VOD Workflows

18

Video workflows on AWS

Transcoding

Media File

Media

Consumers

S3

Transfer

acceleration

SnowballDirect

Connect

Amazon

GlacierEFS

Amazon Partner Solutions

Amazon Elastic Transcoder

EC2

Lambda

Ingest

Storage

Elemental SERVER

Elemental LIVE

Downstream processing

CloudFrontS3

Elemental DELTA

Origination and Distribution

SNS LambdaSWF SQS RDSDynamoDB

EC2

DevOps

19

Pre & Post Processing in Elemental Server

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

Cloud Patterns

• Decouple components

• Independently scale each component

• Gain visibility into the entire workflow

• Fine-grained access control

Simple Storage Service

Elastic Compute Cloud

Simple Queuing Service

SQS Configuration

SQS Configuration

SQS Configuration

SQS Configuration

SQS Configuration

Job Schema

(s3://)([^/]*)/(.*)\\s(.*\\.sh)”

s3://<bucket>/<path> <script>

s3://myBucket/testfile_3.mov myScript.sh

Poll SQS

AWS Identity & Access Management

Elemental Server

EC2 Worker

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

Moving live to the cloud

• Add channels easily and elastically

• Deliver advance features across all platforms

• Highly available solution to ensure resilience

57

Best practices for live multiscreen streaming

Elemental Cloud

ElementalDELTA

Video Delivery Platform

ElementalLIVE

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

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

Getting real-time content to the cloud

Elemental Cloud

ElementalDELTA

Video Delivery Platform

ElementalLIVE

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

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

61

Content processing

DevicesAmazon CloudFront

AWS Direct Connect

Live Source

• Encode content

• Repackage content

Elemental Cloud

ElementalDELTA

Video Delivery Platform

ElementalLIVE

Live Video Processing

Amazon S3

62

• Transport format

• ABR configuration

• Define encoding settings

• Consider device targets

Encoding content

63

Ingest ABR content into re-packager

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

Delivering a great consumer experience

DevicesAmazon CloudFront

AWS Direct Connect

Live Source

• Deliver to thousands of viewers

Elemental Cloud

ElementalDELTA

Video Delivery Platform

ElementalLIVE

Live Video Processing

Amazon S3

66

Delivering a great consumer experience

Devices

Amazon CloudFront

AWS Direct Connect

Live Source

• Deliver to thousands of viewers

• Highly availableAmazon S3

Elemental Cloud

ElementalDELTA

Video Delivery Platform

ElementalLIVE

Live Video Processing

Optional Descript

ion

CDNCDN

Multiple CDNs

CDN

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

ElementalDELTA

Video Delivery Platform

ElementalLIVE

Live Video Processing

Optional Descript

ion

CDNCDN

Multiple CDNs

CDN

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

Thank you!

69

Remember to complete

your evaluations!

70