Upload
amazon-web-services
View
3.575
Download
5
Tags:
Embed Size (px)
DESCRIPTION
Learn how you can use Amazon CloudFront and JW Player to stream video in the HTTP Live Streaming Format to multiple devices. We will cover the encoding, storage and delivery of the video using AWS and will demonstrate how JW Player can be configured to play the content on your desktop and mobile devices.
Citation preview
© 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.
HLS Streaming Using Amazon CloudFront
and JW Player Nihar Bihani, Senior Product Manager - Amazon CloudFront
Jeroen Wijering, Founder & Head of Product- JW Player
© 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
Amazon CloudFront & JW Player Overview
Media Players in a Streaming Stack
Fragmented Streaming Ecosystem
Demo: HLS Streaming Using AWS and JW Player
Q&A
© 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
Amazon CloudFront & JW Player Overview
Media Players in a Streaming Stack
Fragmented Streaming Ecosystem
Demo: HLS Streaming Using AWS and JW Player
Q&A
© 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) supported protocols (HLS, HDS, Smooth Streaming, MPEG-DASH
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.
Publishing Video with JW Player
Plays Everywhere: HTML5 & Flash, Cloud & download.
Advertising Ready: Full VAST/VPAID support.
Fully Customizable: Skinning, API, Playlists, HD/CC, & more.
JW Player started in 2005 (initial player from YouTube).
JW Player 6 is live on 250k sites, playing 2 billion videos monthly.
© 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
Amazon CloudFront & JW Player Overview
Media Players in a Streaming Stack
Fragmented Streaming Ecosystem
Demo: HLS Streaming Using AWS and JW Player
Q&A
© 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 in a Streaming Stack
Definitive component that interacts with viewers
Has the potential to “make or break” efforts by all other stack components
Can support multiple playback models
• HTTP Based
• RTMP
• DRM-ed 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.
More than Just Playback…
• May be white labelled to promote your brand
• Customizable skins Branding
• Ability to collect real user metrics
• Potential to query network statistics Analytics
• Required for playing DRM-ed content
• Responsible for enforcing specified policies Security
• Dynamically insert ads to monetize your content
• Standards based integration with ad networks Monetization
© 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.
Branding
Uniformity of player design
across browsers.
Opportunity to create positive
association with your brand
Alignment of player and site
design.
Additional functionality in
player (e.g. HD, Sharing)
© 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.
Concurrent Viewers
Re-buffering
Analytics (Real User Monitoring)
© 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.
Security
Pre-DRM DRM On-The-Fly CDN Private Content
Capability needed in player to
obtain license, decrypt content
Player passes
signed URLs /
tokens to CDN
© 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.
Monetization
Monetize through ads:
IAB VAST standard
(desktop & mobile).
Interactive advertising
through IAB VPAID.
Paywalls with login and
short preview.
© 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
Amazon CloudFront & JW Player Overview
Media Players in a Streaming Stack
Fragmented Streaming Ecosystem
Demo: HLS Streaming Using AWS and JW Player
Q&A
© 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.
Why Streaming? Why not Progressive?
Smooth quality switching: think
3G»4G»WiFi for mobile
Long-form streaming: fast
seeking & bandwidth control
Content security: encryption &
DRM
Live streaming (with DVR)
© 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.
Challenge: Many Devices, Codecs &
Streaming Protocols 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.
Content Security Summary by Streaming Type
Authentication Player Verification
Network
Encryption
Content
Encryption DRM
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
Le
ge
nd
Supported
Partial Support
Not Supported
© 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.
HLS Streaming + JW Player A Combo That Covers All Platforms
Desktops: Flash (soon HTML5)
iOS: built-in support across
apps (required!) & web.
Android web: built-in on 4.0+
Android apps: JW Player SDK
Roku, AppleTV, Chromecast …
© 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
Amazon CloudFront & JW Player Overview
Media Players in a Streaming Stack
Fragmented Streaming Ecosystem
Demo: HLS Streaming Using AWS and JW Player
Q&A
© 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.
Demo: Overview of workflow
Setting up buckets
Setting up a pipeline
Creating a transcoder job
Creating preview thumbs
Creating distributions
Adding crossdomain XML
Setting up the player ... Success!
© 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.
Demo: Setting up S3 Buckets
© 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.
Demo: Creating a transcoder job
© 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.
Demo: Creating preview thumbs
© 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.
Demo: Creating distributions
© 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.
Demo: Adding crossdomain XML
© 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.
Demo: Setting up the player
© 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.
Demo: JW Player References
http://www.jwplayer.com/blog/encoding-hls-with-
amazon-elastic-transcoder/
http://www.jwplayer.com/blog/delivering-hls-
amazon-cloudfront/
10% discount using Promo
AWS10http://www.jwplayer.com/pricing/
Offer Expires October 31, 2013
© 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.