aws re:invent 2016: accelerating the transition to broadcast and ott infrastructure in the cloud:...

70
© 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 Cloud Spotlight on Building Media Services on AWS and Elemental

Upload: amazon-web-services

Post on 13-Jan-2017

516 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: 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)

© 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

Page 2: 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)

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

Page 3: 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)

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

Page 4: 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)

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

Page 5: 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)

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

Page 6: 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)

6

Real world example of VOD workflow in the cloud

Page 7: 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)

77

Page 8: 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)

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

Page 9: 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)

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

Page 10: 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)

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

Page 11: 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)

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

Page 12: 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)

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

Page 13: 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)

13

12

Cinépolis Klic Next steps

Simplify

workflow

13

Page 14: 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)

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

Page 15: 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)

15

Cinépolis Klic Results

15

Page 16: 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)

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

Page 17: 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)

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

Khawaja Shams, VP of Engineering, AWS Elemental

Event Driven VOD Workflows

Page 18: 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)

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

Page 19: 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)

19

Pre & Post Processing in Elemental Server

Page 20: 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

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

Page 21: 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)

21

Cloud Patterns

• Decouple components

• Independently scale each component

• Gain visibility into the entire workflow

• Fine-grained access control

Page 22: 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)

Simple Storage Service

Page 23: 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)

Elastic Compute Cloud

Page 24: 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)

Simple Queuing Service

Page 25: 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)

SQS Configuration

Page 26: 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)

SQS Configuration

Page 27: 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)

SQS Configuration

Page 28: 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)

SQS Configuration

Page 29: 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)

SQS Configuration

Page 30: 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)

Job Schema

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

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

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

Page 31: 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)
Page 32: 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)
Page 33: 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)

Poll SQS

Page 34: 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)
Page 35: 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)
Page 36: 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)
Page 37: 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)
Page 38: 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)
Page 39: 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)
Page 40: 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)
Page 41: 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)
Page 42: 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)
Page 43: 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)
Page 44: 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)
Page 45: 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)
Page 46: 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)
Page 47: 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)
Page 48: 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)
Page 49: 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)

AWS Identity & Access Management

Page 50: 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)
Page 51: 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)

Elemental Server

Page 52: 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)
Page 53: 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)

EC2 Worker

Page 54: 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)
Page 55: 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)

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

Page 56: 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)

56

Moving live to the cloud

• Add channels easily and elastically

• Deliver advance features across all platforms

• Highly available solution to ensure resilience

Page 57: 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)

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

Page 58: 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)

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

Page 59: 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)

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

Page 60: 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)

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

Page 61: 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)

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

Page 62: 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)

62

• Transport format

• ABR configuration

• Define encoding settings

• Consider device targets

Encoding content

Page 63: 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)

63

Ingest ABR content into re-packager

Page 64: 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)

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

Page 65: 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)

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

Page 66: 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)

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

Page 67: 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)

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

Page 68: 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)

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

Page 69: 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)

Thank you!

69

Page 70: 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)

Remember to complete

your evaluations!

70