Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

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)

1,733 views

Published on

In this session, we show how to seamlessly transition VOD, live, and other advanced media workflows from on-premises deployments to the cloud. Cinépolis will provide an overview of their transcoding solution on AWS and how they have seamlessly expanded the solution increasing their customer reach. We'll show real world examples of the API calls used to configure and control all elements of the workflow including compression and origination. And how standard AWS services can be media-optimized with Elemental Technologies to form a robust live solution.

Published in: Technology

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)

  1. 1. © 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
  2. 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
  3. 3. 3 Introducing Elemental Markets Enterprise Government Broadcasters Content Programmers Pay TV Operators Content Live On Demand S3 Displays Devices AWS acquired Elemental Technologies in October 2015
  4. 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. 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
  6. 6. 6 Real world example of VOD workflow in the cloud
  7. 7. 77
  8. 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. 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. 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. 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. 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
  13. 13. 13 Cinépolis Klic Next steps Simplify workflow 13
  14. 14. 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 Elemental SERVER Elemental DELTA 14
  15. 15. 15 Cinépolis Klic Results 15
  16. 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
  17. 17. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 17 Khawaja Shams, VP of Engineering, AWS Elemental Event Driven VOD Workflows
  18. 18. 18 Video workflows on AWS Transcoding Media File Media Consumers S3 Transfer acceleration SnowballDirect Connect Amazon Glacier EFS 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 RDS DynamoDB EC2 DevOps
  19. 19. 19 Pre & Post Processing in Elemental Server
  20. 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. 21 Cloud Patterns • Decouple components • Independently scale each component • Gain visibility into the entire workflow • Fine-grained access control
  22. 22. Simple Storage Service
  23. 23. Elastic Compute Cloud
  24. 24. Simple Queuing Service
  25. 25. SQS Configuration
  26. 26. SQS Configuration
  27. 27. SQS Configuration
  28. 28. SQS Configuration
  29. 29. SQS Configuration
  30. 30. Job Schema (s3://)([^/]*)/(.*)s(.*.sh)” s3://<bucket>/<path> <script> s3://myBucket/testfile_3.mov myScript.sh
  31. 31. Poll SQS
  32. 32. AWS Identity & Access Management
  33. 33. Elemental Server
  34. 34. EC2 Worker
  35. 35. 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
  36. 36. 56 Moving live to the cloud • Add channels easily and elastically • Deliver advance features across all platforms • Highly available solution to ensure resilience
  37. 37. 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
  38. 38. 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
  39. 39. 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
  40. 40. 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
  41. 41. 61 Content processing DevicesAmazon CloudFront AWS Direct Connect Live Source • Encode content • Repackage content Elemental Cloud Elemental DELTA Video Delivery Platform Elemental LIVE Live Video Processing Amazon S3
  42. 42. 62 • Transport format • ABR configuration • Define encoding settings • Consider device targets Encoding content
  43. 43. 63 Ingest ABR content into re-packager
  44. 44. 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
  45. 45. 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
  46. 46. 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
  47. 47. 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
  48. 48. 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
  49. 49. Thank you! 69
  50. 50. Remember to complete your evaluations! 70

×