Page 1

Media Streaming On Demand and Live Streaming Amazon Web Services

Arpit Ahuja, Principal Consultant arpit.ahuja@progressive.in


Why to host your website on AWS

Media Streaming on AWS Scalable Flexible

Low Cost

Stable


About Amazon Web Services

• World’s leading Cloud Computing Platform • Collection of Remote Computing Services (Web Services) • Powered by Amazon.com – World’s leading Ecommerce Portal • Currently have Data Centers in 10 Geographic locations • Multiple Availability Zones in each region • Edge locations for content distribution in many other geographies

• Have done 42 Price Reductions in the last 8 years (Launched in 2006)


Challenges in Media Streaming

• Many Devices • Many Codecs • Many Protocols

iOS Android

• Supports only HLS • Devices are vendor specific

Windows Phone • Supports only smooth streaming


Multiple Transcodes

Multiple Codecs

MP3, MPEG, MPEG-4, VOB, MOV, FLV, THEORA, MP4, WMV

Asset Library

Screen Sizes

Laptops, Tablets, Mobiles


Players and Security Models

Native Media players

VS

DRM-ed Content

VS

3rd Party Media Players

Tokenized Security


Actions to be taken

Monitor

• Viewer Experience • Operational Excellence • Business Impact

Identify

• Devices that needs optimization • Best Delivery Networks • Viewer Trends

Reduce

• Suboptimal Viewer Experience • Turnaround Times • Operational Costs


Encode for similarity 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

H.264

AAC

SD(low), SD(high), HD

Smooth Streaming

Desktop

H.264

AAC

SD(low), SD(high), HD

HLS/Smooth Streaming


Best Practices

• Avoid Storage Duplication – Keep a central location with backup • Pick the right Content Delivery Network • Global Reach • High Performance • Streaming Context Aware • Access logs for customer insight

• Security of Assets • Measure viewer experience


Why use AWS

Ecosystem Cost Effective Media Specific

• Native Services (S3, Elastic Transcoder, Cloudfront, EC2) • Partner solutions in AWS Marketplace

• Pay as You GO • Capacity when you need it • Global Footprint

• MPAA Security Best Practices


AWS Media Streaming Case Study


AWS Webcast Case Study


Amazon Elastic Transcoder

• Amazon Elastic Transcoder is media transcoding in the cloud that converts (or “transcode”) media files from their source format into versions that will playback on devices like smartphones, tablets and PCs. • Easy to use • Eastically Scalable • Cost Effective • Managed • Secure • Seamless Delivery • Complete Integration


AWS Storage - S3 and Glacier

• S3 • Object Storage available through a URL • 99.999999999% availability • Stores objects like Images, Videos, Files, Binaries, Snapshots

• Glacier • Archival Storage for Backup • Much cheaper than regular object storage • 4-6 hours retrieval time


Streaming Architecture


Cost Examples

Component

Unit

Cost (varies with region)

S3

1 GB / Month

$ 0.03 / GB per Month

Media Streaming

1 GB

$ 0.25 / GB

EC2 (Virtual Server)

Linux with 15 GB RAM

$ 286.95 / Month


Capabilities

• AWS is a flexible cloud computing solution. You can use whatever platform you like. AWS even provides SDKs for many popular platforms like Java, Ruby, PHP, Node.js, .Net, and more.


Use Your Favorite Tools

• Your content management system (CMS) may be the core of your website. No matter which system you choose; it can run on AWS


Many of the world’s biggest sites uses AWS

Media streaming on aws  

World's leading Cloud Computing platform, collection of remote computing services (Web Services) and it is powered byAmazon.com - world's le...

Read more
Read more
Similar to
Popular now
Just for you