SlideShare una empresa de Scribd logo
1 de 38
Scalable Streaming of On-Demand Video
Using Amazon Web Services
Mark W Ramberg – Global Digital Business Media
Nihar Bihani, Senior Product Manager - Amazon CloudFront

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Agenda
Components of a Media Streaming Stack
Challenges of Media Streaming Beyond the Desktop
Traditional Media Streaming Solution
Media Streaming Best Practices
Using AWS to Implement Best Practices

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Agenda
Components of a Media Streaming Stack
Challenges of Media Streaming Beyond the Desktop
Traditional Media Streaming Solution
Media Streaming Best Practices
Using AWS to Implement Best Practices

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Ingest Media into the Cloud
Media companies traditionally
have on-premise storage
Tiered storage
Content owners cannot keep
up with scale – being forced to
look to outside storage
solutions
Need fast, inexpensive ways
to move content into the cloud
4
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Storage & Archival
Scalability for content
expansion
Durability and media critical
performance
Policy based archival
solution
Compatibility with media
solutions
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Media Ingest & Storage Architecture

6
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Transcoding / Transmuxing
Convert input files to multiple
formats
• Multiple bit rates
• Multiple screen sizes
• Various Codecs

Prepare transcoded files for
HTTP delivery (aka
transmuxing)
• File level segmenting
• Virtual segmenting

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Audio and Video Codecs
Codec = “COmpressor”+”DECompressor”
Saves storage space and transmission bandwidth - Tradeoff is additional compute required
Lossy vs. lossless: depends on the task
Video

•

PCM (raw)

•
•
•
•
•
•
•
•
•
•

MJPEG
MPEG-2
AVCHD/AVC-Intra
HDCAM HD
Raw Data recording
Apple ProRes 422 and Apple ProRes 422 (HQ),
Avid DNxHD
Sony’s DVCAM and XDCAM
DVCPro
RED .r3d camera files

•

AAC, HE-AAC (a.k.a. MPEG2 Part 3, MPEG4 Part 3, ISO/IEC
13818-3, ISO/IEC 14496-3)
MP3 (a.k.a. MPEG1 Layer 3 Audio, MPEG1)
•
Older but still extremely widely used audio codec.
Supported everywhere and by most every device in
existence
Vorbis (open source)

•

H.264 (the current distribution format standard)
•
Blu-ray, Internet VOD, HD live video broadcasting, etc.
WMV (Windows Media Video)
Flash Video (Sorenson H.263 for Flash)
VP8 (On2)

Distribution

Capture/
Editing

Audio

•

•

•
•
•

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Media File Containers
MP4
•
•
•

MPEG4 system container, used by Quicktime and Adobe Flash. This container is quite versatile and has excellent support almost
everywhere (from phones to computers).
Extensions: mp4, mov, m4v, m4a, m4b, m4p, f4v, 3gp, 3g2
Synonyms: MPEG4 Part 14, ISO/IEC 14496-14

WebM / Matroska
•
•

A versatile container similar in concept to the MPEG4 system container. WebM uses a subset of Matroska to create a container
optimized for web media and HTML5. Adobe has also recently announced plans to support WebM in the Flash player.
Extensions: webm, mkv

ASF
•
•

Microsoft’s Advanced Streaming Format
Extensions: asf, wmv, wma

AVI
•
•

Microsoft's generic container format. This can generally store anything and everything. It has excellent support on most computers.
Extensions: avi

FLV
•
•

Adobe Flash media container which is useful for storing legacy Flash content and for low-latency live streaming. Adobe's newer
format is F4V, a subset of the MPEG4 system container.
Extensions: flv

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Media Delivery Protocols
Progressive Download (YouTube)
Traditional streaming formats (RTSP, RTMP, etc.)
“Pseudo-streaming“
•
•

HTTP based, requires player logic and server suport
Typically uses byte-range requests and/or query strings

Radio Streaming (Shoutcast, Icecast, etc.)
•

Don’t work well with CDNs – require a persistent connection

Adaptive Bit Rate (ABR) - HTTP Streaming
•

Microsoft Smooth Steaming - Xbox, Windows Phone, Silverlight, etc.

•

Apple HTTP Live Streaming (HLS) – iOS devices

•

Adobe HTTP Dynamic Streaming (HDS) - Flash

•
•

•

•

Microsoft maintained/supported AMI available
Segmenters for live and VOD only run on iOS

Adobe maintained/supported AMI available

MPEG DASH
•

Future industry standard

Good article: http://www.longtailvideo.com/blog/19578/what-is-video-streaming

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Stream Generation
Pre-encoded files directly from storage medium
• Suitable for popular content
• Less moving parts

Streaming servers for real-time transcoding/ transmuxing
•
•
•
•

Turnkey solution
Transcode / transmux only as needed
Fewer files to manage
Vendor specific value added services

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Global Delivery
Use Content Delivery
Networks to
•
•
•
•

Increase performance
Handle popularity surges
Increase availability
Reduce costs

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Media Players and Devices – “Clients”
Desktop/Laptop

Smartphone/Tablet

Living Room

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Legend

Content Security Summary by Streaming Type

Supported
Partial Support
Not Supported

Network
Encryption

Content
Encryption

DRM

Authentication

Player Verification

RTMP
Streaming

Token

SWF Verification

RTMPE,
RTMPS,
RTMPTE

see DRM

Adobe Access

HTTP Dynamic
Streaming

Token

SWF Verification

SSL

see DRM

Adobe Access &
PHDS

HTTP Live
Streaming

none

none

SSL

AES-128

Multiple
available

Smooth
Streaming

Token

unknown

SSL

see DRM

PlayReady, etc.

RTSP/RTP

Token

unknown

SRTP

unknown

unknown

MPEG2-TS

Over RTP only

unknown

Conditional
Access

AES-128

unknown

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Agenda
Components of a Media Streaming Stack
Challenges of Media Streaming Beyond the Desktop
Traditional Media Streaming Solution
Media Streaming Best Practices
Using AWS to Implement Best Practices

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
A Fragmented Ecosystem…
Many Devices, Codecs and Protocols…

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Plethora of Devices
Supports Only HLS
Devices are Vendor Specific
Software-only Baseline
Supports Only Smooth
Streaming
New Devices Entering the
Market

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Multiple Transcodes
Codecs

Asset Library
Management

Screens

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Players and Security Models
Native Media
Players

vs

Third-Party Media
Players

DRM-ed Content

vs

Tokenized Security

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Monitor

• Viewer Experience
• Operational Excellence
• Business Impact

Identify

• Devices that Need Optimization
• Best Delivery Networks
• Viewer Trends

Reduce

• Sub-optimal Viewer Experience
• Turnaround Times
• Operational Costs

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Agenda
Components of a Media Streaming Stack
Challenges of Media Streaming Beyond the Desktop
Traditional Media Streaming Solution
Media Streaming Best Practices
Using AWS to Implement Best Practices

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Agenda
Components of a Media Streaming Stack
Challenges of Media Streaming Beyond the Desktop
Traditional Media Streaming Solution
Media Streaming Best Practices
Using AWS to Implement Best Practices

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Encode To Take Advantage of Commonality
Among Devices
Device

Video Compression

Audio Compression

Quality Level

Delivery Protocol

iOS

H.264

AAC

SD (low), SD (high), HD

HLS

Android

H.264

AAC

SD (low), SD (high), HD

HLS *

Windows Phone
8 / Xbox

H.264

AAC

SD (low), SD (high), HD

Smooth Streaming

Roku

H.264

AAC

SD (low), SD (high), HD

HLS

PlayStation 3

H.264

AAC

SD (low), SD (high), HD

HLS

Desktop

H.264

AAC

SD (low), SD (high), HD

HLS / Smooth Streaming

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Avoid Storage Duplication
Same Content in Multiple Places?

Central Location with Archival Backup

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Pick The Right Content Delivery Network
Global Reach

High Performance Delivery

Streaming Context Aware

Access Logs for Customer Insights

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Players – Native, Third-Party, or Both?
Feature

Native Player

Third-Party Player

Consistency

No

Yes

Customizability

No

Yes

Turn-Key

Yes

No

Debugging Support

No

Yes

Data Collection

No

Yes

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Securing Your Assets
Pre-DRM

DRM On-The-Fly

CDN Private Content

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Measure Viewer Experience
CDN Server Logs
# of concurrent sessions (expected)

Real User Metrics
% of re-buffered sessions

# of concurrent sessions (actual)

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Agenda
Components of a Media Streaming Stack
Challenges of Media Streaming Beyond the Desktop
Traditional Media Streaming Solution
Media Streaming Best Practices
Using AWS to Implement Best Practices

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Using AWS to Implement Media Streaming
Well Formed
Ecosystem

• Native Infrastructure services (Amazon S3, Amazon Elastic
Transcoder, Amazon CloudFront, Amazon EC2)
• Partner solutions in AWS Marketplace

Cost Effective
Scaling

• Pay-as-you-go pricing model
• Capacity when you need it
• Global footprint

Media Specific
Capabilities

• MPAA Security Best Practices

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Encode To Take Advantage of Commonality
Among Devices
•
•
•

Lowest number of encodes that
span maximum number of devices
H.264 video, AAC audio
Low quality, high quality and 720p
HD compression
•
•
•

Mezzanine File

Amazon S3

Faster onboarding of content
Reduced storage costs
Less content management
overhead

Amazon Elastic Transcoder

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Storing and Managing Your Media Assets on AWS
Amazon S3

Amazon Glacier

AWS Storage Gateway

Internet scale storage
via API

Storage for archiving and
backup

Integrates on-premises IT and
AWS storage

S3, Glacier

Images
Videos
Files
Binaries
Snapshots

Images
Videos
Files
Binaries
Snapshots

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Video Streaming through AWS

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Delivering Video Using Amazon CloudFront
All HTTP-based streaming protocols (HLS, HDS, Smooth
Streaming, MPEG-DASH) supported

Video streaming-specific caching optimizations
Scalable to handle popular content
Global reach (43 edge locations)
Native streaming support for HLS

Joint solutions with streaming media ISVs
Granular customer access logs

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Delivering Secured Content

Restrict Access to
Content

• Private content features of Amazon CloudFront

• Vary based on platform you are reaching

Encrypt Content Using • Partner solutions available in AWS Marketplace
Policies
• Enabled by AWS CloudHSM solution

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Monitor and Measure Customer Experience
Amazon CloudFront Access Logs

Real User Metrics
Telemetry Data

Video
Client

Monitoring
Aggregator

Process Using Amazon Elastic MapReduce

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.

Más contenido relacionado

Destacado

Cloud Adoption in the Enterprise: Industry Perspective IP Expo 2013
Cloud Adoption in the Enterprise: Industry Perspective IP Expo 2013Cloud Adoption in the Enterprise: Industry Perspective IP Expo 2013
Cloud Adoption in the Enterprise: Industry Perspective IP Expo 2013Amazon Web Services
 
AWS Summit Tel Aviv - Enterprise Track - Data Warehouse
AWS Summit Tel Aviv - Enterprise Track - Data WarehouseAWS Summit Tel Aviv - Enterprise Track - Data Warehouse
AWS Summit Tel Aviv - Enterprise Track - Data WarehouseAmazon Web Services
 
AWS Summit Tel Aviv - Enterprise Track - Enterprise Apps & Hybrid
AWS Summit Tel Aviv - Enterprise Track - Enterprise Apps & HybridAWS Summit Tel Aviv - Enterprise Track - Enterprise Apps & Hybrid
AWS Summit Tel Aviv - Enterprise Track - Enterprise Apps & HybridAmazon Web Services
 
Impact of FEC Overhead on Scalable Video Streaming
Impact of FEC Overhead on Scalable Video StreamingImpact of FEC Overhead on Scalable Video Streaming
Impact of FEC Overhead on Scalable Video StreamingVideoguy
 
AWS Webcast - Implementing Windows and SQL Server with High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server with High Availability on AWSAWS Webcast - Implementing Windows and SQL Server with High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server with High Availability on AWSAmazon Web Services
 
Mobile App Performance: Getting the Most from APIs (MBL203) | AWS re:Invent ...
Mobile App Performance:  Getting the Most from APIs (MBL203) | AWS re:Invent ...Mobile App Performance:  Getting the Most from APIs (MBL203) | AWS re:Invent ...
Mobile App Performance: Getting the Most from APIs (MBL203) | AWS re:Invent ...Amazon Web Services
 
The Science of Choosing EC2 Reserved Instances (ENT221) | AWS re:Invent 2013
The Science of Choosing EC2 Reserved Instances (ENT221) | AWS re:Invent 2013The Science of Choosing EC2 Reserved Instances (ENT221) | AWS re:Invent 2013
The Science of Choosing EC2 Reserved Instances (ENT221) | AWS re:Invent 2013Amazon Web Services
 
Cloud computing case studies with ProfitBricks IaaS
Cloud computing case studies with ProfitBricks IaaSCloud computing case studies with ProfitBricks IaaS
Cloud computing case studies with ProfitBricks IaaSProfitBricks
 
(SPOT209) Raising the Bar on Video Streaming Quality Using AWS
(SPOT209) Raising the Bar on Video Streaming Quality Using AWS(SPOT209) Raising the Bar on Video Streaming Quality Using AWS
(SPOT209) Raising the Bar on Video Streaming Quality Using AWSAmazon Web Services
 
HTML5 video & Amazon elastic transcoder - FCIP August 2014
HTML5 video & Amazon elastic transcoder - FCIP August 2014HTML5 video & Amazon elastic transcoder - FCIP August 2014
HTML5 video & Amazon elastic transcoder - FCIP August 2014RZasadzinski
 
TechDays 2016 - Case Study: Azure + IOT + LoRa = ”Leven is Water”
TechDays 2016 - Case Study: Azure + IOT + LoRa = ”Leven is Water”TechDays 2016 - Case Study: Azure + IOT + LoRa = ”Leven is Water”
TechDays 2016 - Case Study: Azure + IOT + LoRa = ”Leven is Water”Rick van den Bosch
 
Digital Media Ingest and Storage Options on AWS
Digital Media Ingest and Storage Options on AWSDigital Media Ingest and Storage Options on AWS
Digital Media Ingest and Storage Options on AWSAmazon Web Services
 
SUN TV NETWORK LIMITED
SUN TV NETWORK LIMITEDSUN TV NETWORK LIMITED
SUN TV NETWORK LIMITEDARVIND D
 
ximena araneda - The Next Generation MAM Systems
ximena araneda - The Next Generation MAM Systemsximena araneda - The Next Generation MAM Systems
ximena araneda - The Next Generation MAM SystemsFIAT/IFTA
 
GlobalDots - How Video Streaming Works
GlobalDots - How Video Streaming WorksGlobalDots - How Video Streaming Works
GlobalDots - How Video Streaming WorksGlobalDots
 

Destacado (16)

Cloud Adoption in the Enterprise: Industry Perspective IP Expo 2013
Cloud Adoption in the Enterprise: Industry Perspective IP Expo 2013Cloud Adoption in the Enterprise: Industry Perspective IP Expo 2013
Cloud Adoption in the Enterprise: Industry Perspective IP Expo 2013
 
AWS Summit Tel Aviv - Enterprise Track - Data Warehouse
AWS Summit Tel Aviv - Enterprise Track - Data WarehouseAWS Summit Tel Aviv - Enterprise Track - Data Warehouse
AWS Summit Tel Aviv - Enterprise Track - Data Warehouse
 
AWS Summit Tel Aviv - Enterprise Track - Enterprise Apps & Hybrid
AWS Summit Tel Aviv - Enterprise Track - Enterprise Apps & HybridAWS Summit Tel Aviv - Enterprise Track - Enterprise Apps & Hybrid
AWS Summit Tel Aviv - Enterprise Track - Enterprise Apps & Hybrid
 
Impact of FEC Overhead on Scalable Video Streaming
Impact of FEC Overhead on Scalable Video StreamingImpact of FEC Overhead on Scalable Video Streaming
Impact of FEC Overhead on Scalable Video Streaming
 
AWS Webcast - Implementing Windows and SQL Server with High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server with High Availability on AWSAWS Webcast - Implementing Windows and SQL Server with High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server with High Availability on AWS
 
Mobile App Performance: Getting the Most from APIs (MBL203) | AWS re:Invent ...
Mobile App Performance:  Getting the Most from APIs (MBL203) | AWS re:Invent ...Mobile App Performance:  Getting the Most from APIs (MBL203) | AWS re:Invent ...
Mobile App Performance: Getting the Most from APIs (MBL203) | AWS re:Invent ...
 
The Science of Choosing EC2 Reserved Instances (ENT221) | AWS re:Invent 2013
The Science of Choosing EC2 Reserved Instances (ENT221) | AWS re:Invent 2013The Science of Choosing EC2 Reserved Instances (ENT221) | AWS re:Invent 2013
The Science of Choosing EC2 Reserved Instances (ENT221) | AWS re:Invent 2013
 
Cloud computing case studies with ProfitBricks IaaS
Cloud computing case studies with ProfitBricks IaaSCloud computing case studies with ProfitBricks IaaS
Cloud computing case studies with ProfitBricks IaaS
 
Slide1
Slide1Slide1
Slide1
 
(SPOT209) Raising the Bar on Video Streaming Quality Using AWS
(SPOT209) Raising the Bar on Video Streaming Quality Using AWS(SPOT209) Raising the Bar on Video Streaming Quality Using AWS
(SPOT209) Raising the Bar on Video Streaming Quality Using AWS
 
HTML5 video & Amazon elastic transcoder - FCIP August 2014
HTML5 video & Amazon elastic transcoder - FCIP August 2014HTML5 video & Amazon elastic transcoder - FCIP August 2014
HTML5 video & Amazon elastic transcoder - FCIP August 2014
 
TechDays 2016 - Case Study: Azure + IOT + LoRa = ”Leven is Water”
TechDays 2016 - Case Study: Azure + IOT + LoRa = ”Leven is Water”TechDays 2016 - Case Study: Azure + IOT + LoRa = ”Leven is Water”
TechDays 2016 - Case Study: Azure + IOT + LoRa = ”Leven is Water”
 
Digital Media Ingest and Storage Options on AWS
Digital Media Ingest and Storage Options on AWSDigital Media Ingest and Storage Options on AWS
Digital Media Ingest and Storage Options on AWS
 
SUN TV NETWORK LIMITED
SUN TV NETWORK LIMITEDSUN TV NETWORK LIMITED
SUN TV NETWORK LIMITED
 
ximena araneda - The Next Generation MAM Systems
ximena araneda - The Next Generation MAM Systemsximena araneda - The Next Generation MAM Systems
ximena araneda - The Next Generation MAM Systems
 
GlobalDots - How Video Streaming Works
GlobalDots - How Video Streaming WorksGlobalDots - How Video Streaming Works
GlobalDots - How Video Streaming Works
 

Más de Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

Más de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Último

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 

Último (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

AWS Webcast - Scalable Streaming of Video using Amazon Web Services

  • 1. Scalable Streaming of On-Demand Video Using Amazon Web Services Mark W Ramberg – Global Digital Business Media Nihar Bihani, Senior Product Manager - Amazon CloudFront © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 2. Agenda Components of a Media Streaming Stack Challenges of Media Streaming Beyond the Desktop Traditional Media Streaming Solution Media Streaming Best Practices Using AWS to Implement Best Practices © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 3. Agenda Components of a Media Streaming Stack Challenges of Media Streaming Beyond the Desktop Traditional Media Streaming Solution Media Streaming Best Practices Using AWS to Implement Best Practices © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 4. Ingest Media into the Cloud Media companies traditionally have on-premise storage Tiered storage Content owners cannot keep up with scale – being forced to look to outside storage solutions Need fast, inexpensive ways to move content into the cloud 4 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 5. Storage & Archival Scalability for content expansion Durability and media critical performance Policy based archival solution Compatibility with media solutions © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 6. Media Ingest & Storage Architecture 6 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 7. Transcoding / Transmuxing Convert input files to multiple formats • Multiple bit rates • Multiple screen sizes • Various Codecs Prepare transcoded files for HTTP delivery (aka transmuxing) • File level segmenting • Virtual segmenting © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 8. Audio and Video Codecs Codec = “COmpressor”+”DECompressor” Saves storage space and transmission bandwidth - Tradeoff is additional compute required Lossy vs. lossless: depends on the task Video • PCM (raw) • • • • • • • • • • MJPEG MPEG-2 AVCHD/AVC-Intra HDCAM HD Raw Data recording Apple ProRes 422 and Apple ProRes 422 (HQ), Avid DNxHD Sony’s DVCAM and XDCAM DVCPro RED .r3d camera files • AAC, HE-AAC (a.k.a. MPEG2 Part 3, MPEG4 Part 3, ISO/IEC 13818-3, ISO/IEC 14496-3) MP3 (a.k.a. MPEG1 Layer 3 Audio, MPEG1) • Older but still extremely widely used audio codec. Supported everywhere and by most every device in existence Vorbis (open source) • H.264 (the current distribution format standard) • Blu-ray, Internet VOD, HD live video broadcasting, etc. WMV (Windows Media Video) Flash Video (Sorenson H.263 for Flash) VP8 (On2) Distribution Capture/ Editing Audio • • • • • © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 9. Media File Containers MP4 • • • MPEG4 system container, used by Quicktime and Adobe Flash. This container is quite versatile and has excellent support almost everywhere (from phones to computers). Extensions: mp4, mov, m4v, m4a, m4b, m4p, f4v, 3gp, 3g2 Synonyms: MPEG4 Part 14, ISO/IEC 14496-14 WebM / Matroska • • A versatile container similar in concept to the MPEG4 system container. WebM uses a subset of Matroska to create a container optimized for web media and HTML5. Adobe has also recently announced plans to support WebM in the Flash player. Extensions: webm, mkv ASF • • Microsoft’s Advanced Streaming Format Extensions: asf, wmv, wma AVI • • Microsoft's generic container format. This can generally store anything and everything. It has excellent support on most computers. Extensions: avi FLV • • Adobe Flash media container which is useful for storing legacy Flash content and for low-latency live streaming. Adobe's newer format is F4V, a subset of the MPEG4 system container. Extensions: flv © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 10. Media Delivery Protocols Progressive Download (YouTube) Traditional streaming formats (RTSP, RTMP, etc.) “Pseudo-streaming“ • • HTTP based, requires player logic and server suport Typically uses byte-range requests and/or query strings Radio Streaming (Shoutcast, Icecast, etc.) • Don’t work well with CDNs – require a persistent connection Adaptive Bit Rate (ABR) - HTTP Streaming • Microsoft Smooth Steaming - Xbox, Windows Phone, Silverlight, etc. • Apple HTTP Live Streaming (HLS) – iOS devices • Adobe HTTP Dynamic Streaming (HDS) - Flash • • • • Microsoft maintained/supported AMI available Segmenters for live and VOD only run on iOS Adobe maintained/supported AMI available MPEG DASH • Future industry standard Good article: http://www.longtailvideo.com/blog/19578/what-is-video-streaming © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 11. Stream Generation Pre-encoded files directly from storage medium • Suitable for popular content • Less moving parts Streaming servers for real-time transcoding/ transmuxing • • • • Turnkey solution Transcode / transmux only as needed Fewer files to manage Vendor specific value added services © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 12. Global Delivery Use Content Delivery Networks to • • • • Increase performance Handle popularity surges Increase availability Reduce costs © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 13. Media Players and Devices – “Clients” Desktop/Laptop Smartphone/Tablet Living Room © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 14. Legend Content Security Summary by Streaming Type Supported Partial Support Not Supported Network Encryption Content Encryption DRM Authentication Player Verification RTMP Streaming Token SWF Verification RTMPE, RTMPS, RTMPTE see DRM Adobe Access HTTP Dynamic Streaming Token SWF Verification SSL see DRM Adobe Access & PHDS HTTP Live Streaming none none SSL AES-128 Multiple available Smooth Streaming Token unknown SSL see DRM PlayReady, etc. RTSP/RTP Token unknown SRTP unknown unknown MPEG2-TS Over RTP only unknown Conditional Access AES-128 unknown © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 15. Agenda Components of a Media Streaming Stack Challenges of Media Streaming Beyond the Desktop Traditional Media Streaming Solution Media Streaming Best Practices Using AWS to Implement Best Practices © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 16. A Fragmented Ecosystem… Many Devices, Codecs and Protocols… © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 17. Plethora of Devices Supports Only HLS Devices are Vendor Specific Software-only Baseline Supports Only Smooth Streaming New Devices Entering the Market © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 18. Multiple Transcodes Codecs Asset Library Management Screens © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 19. Players and Security Models Native Media Players vs Third-Party Media Players DRM-ed Content vs Tokenized Security © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 20. Monitor • Viewer Experience • Operational Excellence • Business Impact Identify • Devices that Need Optimization • Best Delivery Networks • Viewer Trends Reduce • Sub-optimal Viewer Experience • Turnaround Times • Operational Costs © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 21. Agenda Components of a Media Streaming Stack Challenges of Media Streaming Beyond the Desktop Traditional Media Streaming Solution Media Streaming Best Practices Using AWS to Implement Best Practices © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 22. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 23. Agenda Components of a Media Streaming Stack Challenges of Media Streaming Beyond the Desktop Traditional Media Streaming Solution Media Streaming Best Practices Using AWS to Implement Best Practices © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 24. Encode To Take Advantage of Commonality Among Devices Device Video Compression Audio Compression Quality Level Delivery Protocol iOS H.264 AAC SD (low), SD (high), HD HLS Android H.264 AAC SD (low), SD (high), HD HLS * Windows Phone 8 / Xbox H.264 AAC SD (low), SD (high), HD Smooth Streaming Roku H.264 AAC SD (low), SD (high), HD HLS PlayStation 3 H.264 AAC SD (low), SD (high), HD HLS Desktop H.264 AAC SD (low), SD (high), HD HLS / Smooth Streaming © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 25. Avoid Storage Duplication Same Content in Multiple Places? Central Location with Archival Backup © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 26. Pick The Right Content Delivery Network Global Reach High Performance Delivery Streaming Context Aware Access Logs for Customer Insights © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 27. Players – Native, Third-Party, or Both? Feature Native Player Third-Party Player Consistency No Yes Customizability No Yes Turn-Key Yes No Debugging Support No Yes Data Collection No Yes © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 28. Securing Your Assets Pre-DRM DRM On-The-Fly CDN Private Content © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 29. Measure Viewer Experience CDN Server Logs # of concurrent sessions (expected) Real User Metrics % of re-buffered sessions # of concurrent sessions (actual) © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 30. Agenda Components of a Media Streaming Stack Challenges of Media Streaming Beyond the Desktop Traditional Media Streaming Solution Media Streaming Best Practices Using AWS to Implement Best Practices © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 31. Using AWS to Implement Media Streaming Well Formed Ecosystem • Native Infrastructure services (Amazon S3, Amazon Elastic Transcoder, Amazon CloudFront, Amazon EC2) • Partner solutions in AWS Marketplace Cost Effective Scaling • Pay-as-you-go pricing model • Capacity when you need it • Global footprint Media Specific Capabilities • MPAA Security Best Practices © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 32. Encode To Take Advantage of Commonality Among Devices • • • Lowest number of encodes that span maximum number of devices H.264 video, AAC audio Low quality, high quality and 720p HD compression • • • Mezzanine File Amazon S3 Faster onboarding of content Reduced storage costs Less content management overhead Amazon Elastic Transcoder © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 33. Storing and Managing Your Media Assets on AWS Amazon S3 Amazon Glacier AWS Storage Gateway Internet scale storage via API Storage for archiving and backup Integrates on-premises IT and AWS storage S3, Glacier Images Videos Files Binaries Snapshots Images Videos Files Binaries Snapshots © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 34. Video Streaming through AWS © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 35. Delivering Video Using Amazon CloudFront All HTTP-based streaming protocols (HLS, HDS, Smooth Streaming, MPEG-DASH) supported Video streaming-specific caching optimizations Scalable to handle popular content Global reach (43 edge locations) Native streaming support for HLS Joint solutions with streaming media ISVs Granular customer access logs © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 36. Delivering Secured Content Restrict Access to Content • Private content features of Amazon CloudFront • Vary based on platform you are reaching Encrypt Content Using • Partner solutions available in AWS Marketplace Policies • Enabled by AWS CloudHSM solution © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 37. Monitor and Measure Customer Experience Amazon CloudFront Access Logs Real User Metrics Telemetry Data Video Client Monitoring Aggregator Process Using Amazon Elastic MapReduce © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 38. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.

Notas del editor

  1. I will start off this presentation by going over the major components of a streaming media stack to set the context for the rest of the slidesThen we will see how the rapid increase in viewership using various devices has posed a new set of challenges for the media publisherWe will then touch on how many publishers are handling this complexity and why that carries some in-efficiencies with itBased on working with our customers over the years and learning about their use cases and solutions, we have gathered a list of best practices that can help you stay competitiveNext is going a bit more deep into seeing how various AWS services can be used, within it selves and in conjunction with third parties, to implement these best practices
  2. Here we describe what the current setup for storage is:Media companies traditionally have on-premise storagePrimarily for security reasonsSpeed of transfer for processing (edit bays, etc.)Tiered storageCurrent library (source and output formats) on site, back catalog archived on tape offsite, etc.Now we say why this need to be moved to the cloud and one of the biggest hurdles to that, moving vast libraries upstreamContent owners cannot keep up with scale – being forced to look to outside storage solutionsMore content, higher resolution=larger files, more output formats, etc.Need fast, inexpensive ways to move content into the cloud
  3. When it comes to storage, scalability of the medium is paramount since video libraries, especially if its user generated content, expands fast (even exponentially), couple that with the fact that you will need multiple encodes of the same video (more on that in upcoming slides)You want a medium that won’t lose your video files, always demand high SLAs when it comes to durability, even more than performance and other metricsReplicating what a tape drive used to do back in the days, you need a super cheap archival solution that can keep your files in “cold storage”. Even better is one where you can setup policies in advance on when content should be moved to archivals (e.g. after 6-months, move the mezzanine copy these files to archival). In this way you don’t need to get involved and you won’t forget to do itFinally, this storage solution should be part of an ecosystem which has a rich set of media solutions in it. The reason for this is that you shouldn’t have to move all your video to yet another storage service just because capability xyz is not present in your current ecosystem
  4. Two parts to the processing you do for filesConvert them to work with as many devices as you expect your viewers to use (aka, the “land-grab model”)Counting on a unified setup is not practical, at least for a few years outNext is to make these files deliverable through the popular HTTP video delivery protocols out there (HLS, HDS, Smooth, MPEG-DASH)<Give a 30-sec overview of how chunked delivery works>Traditionally this required streaming servers, but now more and more solutions are out there which will let you chunk the files in advance which can save on expensive compute costs, especially for popular content (vs. longtail). Virtual segmenting is even better since it removes the management complexity associated with millions of little chunksFor both these, keep in mind that due to the sheer number of permutations in transcoding/transmuxing needed, you need to have an automated transcoding solution that can scale fast and is not cost prohibitive
  5. MP4 is still the most popular although WebM is catching up fastFLV still remains popular due to some platforms still sticking with RTMP (mostly due to legacy reasons)
  6. In general, CloudFront only supports HTTP based delivery, meaning that client player requests going through CloudFront back to the streaming/origin server must use the HTTP protocol. The exception to this is a special case scenario where CloudFront can deliver RTMP streams. This is done by AWS running Adobe’s Flash Media Server 3.5 at the CloudFront edge locations worldwide. CloudFront will pull media files stored in S3 to CloudFront edge locations via HTTP, then use Adobe Flash Media Server running at the edge to convert the media file into an RTMP stream.Progressive download is easiest to implement and most widely supported, but can lead to wasted bandwidth. Also no quality switching mid-stream.RTSP/RTMP require a specialized streaming server and have issues with corporate firewalls.Pseudo-streaming is supported in CloudFront for HTML 5 delivery, but not for flash delivery since flash delivery typically requires querystring based segmentation. With HTML 5, players can make byte range requests which we support. ABR streaming takes advantage of CDNs by delivering HTTP cacheable objects. Each ABR format uses a similar method of segmentation where you have video “chunks” and a manifest file that describes the chunks
  7. Challenge: Huge variety of devices, form factors, bandwidths, and streaming protocols.In terms of reaching your audience, your goal is to reach as many of them as possible.
  8. Give an overview of why this is confusing (e.g. its not just what audio-video codecs are supported, but also what delivery protocols are supported). Don’t spend too much time here, paint the complexity picture and leave it hanging (to be solved in later slides)
  9. Lets for example take the cross-section of smartphonesLarge and disparate collection of devicesiOS is HLS onlyAndroid has non-deterministic hardware support with a software-only baselineNewer devices coming to market frequently
  10. Due to the licensing deals made by various companies / publishers, this complexity is to remain at least for the next few yearsMultiple transcoded outputs needed to match various device profilesCodecsScreen dimensionsAsset library management becomes a challenge at this point with the large number of encodes you now have
  11. No true unified playerNative players offer an out of the box experienceThird-party players can add value added features (e.g. customization skins, analytics etc)No single way to secure contentDRM support differs by player/device (e.g. playready works best with smooth whereas adobe access works best with HDS)DRM can do more: it can specify policies that a player needs to adhere to (e.g. delete the chunks from hard-disk once its played)
  12. Monitor Buffering, Player erros, server erros Internal SLAs etc Revenue, drop-off rate etcIdentify Re-encode for, e.g. iOS8 Best CDNs for the regionWhats popular in your library and give the feedback to your biz devReduce costs in this fragmented ecosystem Iteratively work on lowering buffering Be able to onboard new deviceIdentify and rectify duplication in storage, processing and delivery
  13. Build a separate stack for each deviceIncreased complexityIncreased costInability to pivot fast for new user experiencesPick only one or two platforms to supportLoss of business by not reaching customers on other platformsSubject to risk of chosen platform(s) losing users
  14. Faster on-boarding of contentLess content management overheadReduce processing & storage costsiOSEncode in multiple profiles to target different iPhones, iPads and Apple TVsUse H.264 & AAC codecsDeliver using HLSAndroidEncode in three different profiles; SD (low quality), SD (high quality) and HD 720pUse H.264 and AAC wherever possibleHLS delivery for v3.0+, progressive download fallbackWindows Phone 8 / XboxEncode using H.264 and AACDeliver using Smooth StreamingRokuEncode using H.264 and AACDeliver using HLSPlayStation 3Encode using H.264 and AACDeliver using HLSDesktop (Windows & OS X)Encode using H.264 and AACDeliver using HLS (or using Smooth Streaming for Windows)http://blog.zencoder.com/2012/01/24/encoding-settings-for-perfect-ipadiphone-video/http://developer.android.com/guide/appendix/media-formats.htmlhttp://msdn.microsoft.com/en-us/library/windowsphone/develop/ff462087(v=vs.105).aspxhttp://support.xbox.com/en-US/xbox-360/audio-video-setup-and-use/audio-video-playbackhttp://sdkdocs.roku.com/display/sdkdoc/Encoding+Guide#EncodingGuide-30MPEG-4part14mp4andMPEG-4part10H264http://mashable.com/2011/12/09/apple-mobile-video/
  15. Single origin location for various CDNsScalable at a low cost
  16. Talk about how we updated our software for Roku streaming for streaming context aware. We saw that Roku had some performance issues and worked jointly with them to zero-in on a specific way in which certain Roku requests are made. Given the impact it can cause our customers, we handled that special case leading to very good Roku performance on CloudFront
  17. Third party player (e.g. JWPlayer) / Custom playerProvides consistent user experienceAbility to customize (e.g. branding, skins)Data collection from the deviceNative playersNo need to install softwareHard to debug and react to customer issues DesktopUse third-party / custom player
  18. Pre-DRM content while encodingNo packaging server neededNeeds encoder support. Your encoder, in addition to transcoding and packaging for delivery, will also encrypt the chunks before storing it back. Now your player needs to know how to get a decryption key from a license server and decrypt the chunksDRM on the flyPay DRM license fee only when needed. If it’s a long tail content, you can do it only when neededCDN specific private content featuresSignature based authenticationDelivery over SSLTypically requires third party / custom player for both DRM and CDN private content since the player needs to know how to acquire a license and decrypt and in the case of DRM implement policies (e.g. delete the data after its played)
  19. CDN provided logsCache efficiency, content popularity, origin facing eventsHighly granular for generating custom reportsReal User Metrics (RUM)Requires instrumenting playersCaptures true experience of viewers (playback buffering, DRM errors, observed throughput)Consolidating the above two will show the end-to-end picture of your video delivery
  20. Amazon Elastic TranscoderHLS output to S3Define presets to output encodes for device groups3rd party encoders on AWSSaaS SolutionsAWS Marketplace solutionsMinimize encoding time by having presets that span maximum number of devicesH.264, AAC, HLS combination works across most devicesSpecializations needed to target non-standard screen-sizes and operating systems
  21. CloudFrontSigned URLsSSL deliveryDRMPlayReady, Adobe Access, Widevine, Merlin are the common ones with the first two seeing the most tractionWowza on Marketplace has a DRM add-on that can protect your assets while its being streamedhttp://www.wowza.com/addons/DRM-server Wowza DRM AddOn for Wowza Media Server provides integration with multiple DRM key management systems, enabling on-the-fly DRM encryption for a variety of playback devices. The integration offers best-of-breed solutions to Wowza customers who need studio-approved security for delivery of premium content. Wowza DRM AddOn provides simultaneous secure key exchange with multiple DRM platforms. Individual live or on-demand content is encrypted on-the-fly with Microsoft® PlayReady® or Verimatrix® VCAS™ for delivery via Apple® HTTP Live Streaming (HLS) and Microsoft Smooth Streaming to viewers on a wide range of endpoints, including PCs and Macs, set-top boxes (STBs), smart TVs, game consoles, smartphones, and tablets. Wowza DRM AddOn can help you up-sell content for OTT premium services and cross-sell content for multi-device distribution.- See more at: http://www.wowza.com/addons/DRM-server#sthash.vtcTAa3t.dpufAWS CloudHSM can be used to key storage using dedicated hardware that is compliant to regulationsService HighlightsSecure Key Storage — As part of the service, you have dedicated access to HSM capabilities in the cloud. AWS CloudHSM protects your cryptographic keys with tamper-resistant HSM appliances that are designed to comply with international (Common Criteria EAL4+) and U.S. Government (NIST FIPS 140-2) regulatory standards for cryptographic modules. You retain full control of your keys and cryptographic operations on the HSM, while Amazon manages and maintains the hardware without having access to your keys.Contractual and Regulatory Compliance — By protecting your keys in hardware and preventing them from being accessed by third parties, AWS CloudHSM can help you comply with the most stringent regulatory and contractual requirements for key protection.Reliable and Durable Key Storage — AWS CloudHSM is available in multiple AZs and Regions to help you build highly available applications that require strong key protection. You can also use AWS CloudHSM with your compatible on-premise HSMs to securely store keys in your datacenter. This increases key durability and gives you the flexibility to securely migrate keys in and out of AWS.Simple and Secure Connectivity — CloudHSMs are in your VPC, so it is easy to use them with your Amazon EC2 applications. You use standard Amazon VPC security mechanisms to control access to your CloudHSMs. Improve Application Performance — By placing CloudHSMs in your VPC near your EC2 instances, you can reduce network latency and increase the performance of your AWS applications that use HSMs.