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 Media Symposium 2019] AWS Media Services Innovation - Christer Whitehorn, AWS Media Services 리드 솔루션즈 아키텍트

496 views

Published on

AWS는 미디어 워크로드를 지원하기 위해서 AWS Elemental Media Service를 제공드리고 있습니다. 이 세션에서는 AWS Elemental Media 서비스와 새롭게 출시된 다양한 기능들을 소개해드리고자 합니다.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

[AWS Media Symposium 2019] AWS Media Services Innovation - Christer Whitehorn, AWS Media Services 리드 솔루션즈 아키텍트

  1. 1. S U M M I T S E O U L © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  2. 2. AWS Media Service Innovation Christer Whitehorn Lead Solutions Architect, AWS Media Services, APAC AWS
  3. 3. Agenda Techniques for minimizing bitrates • AV1 • QVBR • Per-title transcoding Cloud-native enabled workflows • MediaConnect Updates inc. entitlements • MediaLive Playout • Statistical Multiplexing • MediaConvert Accelerated Transcode Other Media Service Updates • MediaPackage • Low Latency
  4. 4. AV1 Overview AV1 (AOMedia Video One) is an open video coding format designed for internet delivery Developed by the Alliance for Open Media (AOMedia), of which Amazon is a founding member AV1 aims to be more efficient that AVC and HEVC
  5. 5. AV1 benefits and status Reduce video distribution bitrates to lower data egress, CDN, and storage costs Deliver higher quality over congested or low-bandwidth networks AWS Elemental is working on AV1 encoding for both live and VOD • Tell us about your use cases AWS Elemental continues to improve VQ for all codecs
  6. 6. AWS Elemental Next Gen AV1 Demos Live AV1 with QVBR ABR streaming • 720p ABR stack showing good quality at ultra low bitrates VOD AV1 with QVBR playback comparison to AVC • Media encoded at ultra low bitrates using accelerated transcoding for AV1 and AVC • AV1 shows good HD video experience, AVC has visible artifacts • Chrome or Firefox browsers required for AV1 playback
  7. 7. What Is QVBR? A rate control that automatically adjusts to different kinds of content • Single Pass • Maximum Bitrate ( Network constraints ) • Quality Level ( Desired quality level ) Automatically saves bits when Desired Quality is reached • No density/performance loss • No additional latency Support for AVC, HEVC and AV1 (when available) Allow same bitrate configuration for all content!
  8. 8. 0 5 10 15 20 25 Time 1 2 3 4 5 6 7 8 9 Bitrate Video Complexity Max Bitrate (Network Bandwidth) QVBR No Wasted Bits – Bit Savings! What Is QVBR?
  9. 9. Quality Level QVBR Quality Level is from 1 - 10 • Level 8 – 9: Large-screen TV viewing • Level 7: PC or Tablet viewing • Level 6: Smart Phone viewing Encoder automatically adjusts actual quantization • Equalize distortion amongst different content signal • Take advantage of human perceptual masking No density, performance, or latency loss • Built upon statistics developed for perceptual AQ, MD, RC Up to 20-50% Bit Reduction for Average or High VQ Max Bitrates
  10. 10. AWS Elemental Per-Title Encoding QVBR saves on storage and bandwidth, but does not optimize the bitrate ladder of an ABR output Goals of per-title encoding is to illuminate unrequired renditions, saving even more storage and bandwidth
  11. 11. Example: Timbers – Football Match Input ladder – 12 renditions Width Height QVBR Quality Setting Max Bitrate (Kbps) Frame Rate 640 360 5 365,000 15 640 360 7 600,000 15 768 432 6 900,000 30 768 432 7 1,500,000 30 960 540 7 1,500,000 30 960 540 7 2,500,000 30 1280 720 7 3,000,000 30 1280 720 8 3,500,000 30 1280 720 9 5,000,000 30 1920 1080 8 6,000,000 30 1920 1080 8 6,500,000 30 1920 1080 9 7,800,000 30
  12. 12. Per-Title encoding result Final bitrate ladder – 7 renditions Width Height QVBR Quality Setting Max Bitrate (Kbps) Frame Rate 640 360 5 365,000 15 640 360 7 600,000 15 768 432 6 900,000 30 768 432 7 1,500,000 30 960 540 7 1,500,000 30 960 540 7 2,500,000 30 1280 720 7 3,000,000 30 1280 720 8 3,500,000 30 1280 720 9 5,000,000 30 1920 1080 8 6,000,000 30 1920 1080 8 6,500,000 30 1920 1080 9 7,800,000 30
  13. 13. AWS Elemental MediaConnect Update Live Video Workflow Video On-Demand Workflow AWS Elemental MediaLive Live Video Processing AWS Elemental MediaPackage Origination and JIT Packaging Live Channel Source AWS Elemental MediaStore Media-Optimized Storage and Origin AWS Elemental MediaTailor Personalization and Monetization AWS Elemental MediaConvert File-Based Video Processing Devices AWS Elemental Live On-Premises Encoding Amazon CloudFront CDN Amazon CloudFront CDN Amazon S3 Storage Amazon S3 VOD Origin AWS Step Functions WorkflowMedia Source Files AWS Elemental MediaConnect Live Video Transport AWS Elemental MediaConnect is a high- quality transport service for live video.
  14. 14. Cloud Contribution Using MediaConnect AWS RegionOn-Premises TransportContribution Encoding Packaging and Delivery Client Live Source AWS Elemental Live AWS Elemental MediaConnect AWS Elemental MediaLive AWS Elemental MediaPackage Amazon CloudFront
  15. 15. B2B Distribution Using MediaConnect On-PremisesAWS Region 1On-Premises TransportContribution Live Source AWS Elemental Live AWS Elemental MediaConnect AWS Region 2 Transport AWS Elemental MediaConnect Distribution
  16. 16. AWS MediaConnect Entitlements • Entitlements allow you to give other AWS account holders the right to subscribe to your live content • Decouple the subscription from the entitlement • Clearly define what resources belong to you and the subscriber • Secure content with SPEKE enabled conditional access
  17. 17. Subscriber Shares Cost of Entitlements • Content owners can specify the percentage of data transfer costs assigned to themselves and to their subscribers • Share the cost of syndication, to reduce expenses and simplify billing • Content owner elects a 0-100% allocation of data transfer fees to the subscriber
  18. 18. MediaConnect Entitlement Workflow On-Premises On-PremisesAWS Region 1 Transport AWS Elemental MediaConnect AWS Region 2 Transport AWS Elemental MediaConnect Destination AWS Elemental MediaConnect Transport ORIGINATORS ACCOUNT SUBSCRIBERS ACCOUNT Source
  19. 19. MediaConnect Entitlement Workflow On-Premises AWS Region 1 Transport AWS Elemental MediaConnect AWS Region 2 Transport Destination On-Premises Transport ORIGINATORS ACCOUNT AWS Elemental MediaConnect AWS Elemental MediaConnect SUBSCRIBERS ACCOUNT Source AWS Elemental MediaConnect AWS Elemental MediaConnect SUBSCRIBER 2’s ACCOUNT On-Premises AWS Elemental MediaConnect AWS Elemental MediaConnect SUBSCRIBER 3’s ACCOUNT On-Premises
  20. 20. Extensions to Support Simple Cloud-Based Playout Scheduler flexibility • Update all or part of schedule in real time • Event start must be at least 15 seconds from “now.” Dynamic inputs • Limit of 20 inputs as previously • Up to 2 Live; remainder file • Input file names may be updated in real time from schedule Input clipping • Start and duration; 0-based or timecode-based Take now: switch to specified input ASAP
  21. 21. Actions Available • Input Switch • Ad Signaling (SCTE-35 splice insert & time signal) • Ad Trigger Return • Static Image Overlay enable / disable • Pause / Resume Output • Insert HLS Timed Metadata
  22. 22. What Is It? Add statistical multiplexing to AWS Elemental MediaLive • Rate control system for a pool of encoders sharing a common transmission pipe • Multiplexer and controller integrated into same service for better user experience Managed service statistical multiplexing solution • Automatic 1:1 redundancy • Cross availability zones • “Native Cloud Statistical Multiplexing”
  23. 23. MediaLive Statistical Multiplexing Features Initial support for SD and HD AVC • HEVC including 4K release on the roadmap • AVC and HEVC can be combined into one pool • MPEG-2 is under consideration First release focuses on the needs of Content Providers • Meet their reliability, functional, and operational requirements for primary distribution
  24. 24. Ease Of Use CA CA GW A B GW A B CAS Encoder Encoder Multiplex AWS MX AWS MX AWS MX PlayOut PlayOut PlayOut PlayOut AWS MX AWS MX AWS MX Encoder Encoder Multiplex AZ1 AZ2
  25. 25. Reliability Full 1:1 active/active backup • For encoder and multiplexer • Fast redundancy switching 3-5s backup time AWS automatically replaces a failed node (encoder) • Typical in ~80s and less than 120s • Full redundancy automatically restored. • Remember: Availability = MTBF/(MTBF+MTTR) Error protection and redundancy on links • ZIXI, RIST, FEC on all external links • RIST, FEC on all internal links
  26. 26. MediaConvert Accelerated Transcode Accelerated Transcoding job: 1. Divide video file into pieces 2. Process in parallel 3. Combine when done
  27. 27. MediaConvert Accelerated Transcode Enable per job using a single setting in AWS Elemental MediaConvert • MediaConvert determines if job can be accelerated or not • MediaConvert chooses optimal number of split tasks and starts processing • Each accelerated transcoding job uses a single slot in an on demand queue • Up to 25x improvement in performance • Available in on demand pricing, professional tier, at no extra charge • Single click configuration
  28. 28. MediaPackage Live-to-VOD • Create VOD assets from live streams based on specified start and end times • Segment-accurate • Available in UI and API
  29. 29. MediaPackage VOD • Ingest support: • HLS/TS muxed or unmuxed (live or VOD profile), Multiple MP4s with SMIL manifest • Packaging: HLS/DASH/CMAF-HLS/MSS • DASH support: Single Period $Number$ with SegmentTimeline • DRM via SPEKE (as per live) • SCTE passthrough: HLS only
  30. 30. MediaPackage VOD Workflow Amazon CloudFront Content Delivery Network Third-Party CDN AWS Elemental MediaPackage Origination and JIT Packaging Amazon S3 Third-Party Transcoder AWS Elemental MediaConvert AWS Elemental Server Video Transcoder ABR stored in Amazon S3 is ingested into an AWS Elemental VOD packaging group
  31. 31. 45+ seconds 30 seconds 20 seconds 10 seconds 8 seconds 6 seconds 4 seconds 2 seconds 1 seconds 200 ms BUSINESSUSECASES DISTRIBUTION TECHNOLOGY TYPICALL BROADCAST LATENCY LIVE SPORTS GAMBLING, BETTING LIVE AUCTIONS VOICE 10s Segments 6s Segments 2s Segments 1s Segments Chunked mp4 WebRTC SUB-SECONDULTRA-LOW LATENCYLOW LATENCYLEGACY LATENCY RANGE
  32. 32. Contributors to HTTP Streaming Latency Capture 8%Encoding 29% Ingest 5% Delivery 3% Last Mile 5% Player 50%
  33. 33. Intrinsic Latency Capture 8%Encoding 29% Latency caused during the production of the streams • Contribution from location or studio • Graphics • Commentary • Encoding
  34. 34. Reducing Intrinsic Latency Capture 8%Encoding 29% • Use uncompressed feeds • Use low latency mezzanine codecs • Consider GOP lengths • Reduce processing steps • Encode early
  35. 35. Network Latency Ingest 5% Delivery 3% Last Mile 5% • Protocols (TCP, HTTP, HLS / DASH) • Round trip times • Bandwidth available • CDN Caching behaviors
  36. 36. Reducing Network Latency Ingest 5% Delivery 3% Last Mile 5% • Reduce hops • Use performance origin • Locate origin in region closest to viewers
  37. 37. Forward Buffer Latency Player 50% • Good for QoS • Prevents rebuffering • The buffer the player chooses to start with
  38. 38. Reducing Forward Buffer Latency Player 50% • Shorter segments • Make fragments available while encoding
  39. 39. Encoder Origin & CDN Player M O O F MDAT M O O F MDAT M O O F MDAT M O O F MDAT M O O F MDAT Chunked Encoding & Chunked Transfer
  40. 40. 2 sec2 sec 2 sec 2 sec 2 sec 2 sec SEGMENT 1 SEGMENT 2 SEGMENT 3 SEGMENT 4 SEGMENT 4 3s latency NO CHUNKS MP4 CHUNKS SEGMENT 1 SEGMENT 2 SEGMENT 3 SEGMENT 4 SEGMENT 5 SEGMENT 5 SEGMENT 5 1s latency Delayed Stream Start
  41. 41. AWS Elemental MediaStore Performance AWS Elemental MediaStore ~175ms, flat and predictable Amazon S3 ~350ms, occasional spikes to 1s
  42. 42. Low Latency Video Workflow Amazon CloudFront Content Delivery Network Third-Party CDN AWS Elemental Live Third-Party Encoder / Transcoder AWS Elemental MediaStore Object storageEncoder
  43. 43. 감사합니다

×