AWS Webcast - Using JW Player and Amazon CloudFront to Stream HLS Video

5,524 views
5,290 views

Published on

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.

Published in: Technology, Business
2 Comments
6 Likes
Statistics
Notes
  • why there is a buffering and switching problem in hls streaming with jwplayer....
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • We did exactly this last week for a 5-day live event in LA using a single origin c1.xlarge for transcoding and CloudFront for distribution. Our viewers in the US west of Texas, London, and Paris experienced horrendous latency and buffering, while those in Madagascar could never load the stream on a 7Mbps connection (though the website assets came through just fine). Others in Asia were just fine. We were incredibly dissatisfied with cloudfront's spotty performance. Our throughput globally shouldn't have exceeded the 1Gbps limit, especially not for as long as our users claim they were having issues. Have you heard of such persistent problems like this?
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
5,524
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
129
Comments
2
Likes
6
Embeds 0
No embeds

No notes for slide

AWS Webcast - Using JW Player and Amazon CloudFront to Stream HLS Video

  1. 1. 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.
  2. 2. 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.
  3. 3. 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.
  4. 4. 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.
  5. 5. 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.
  6. 6. 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.
  7. 7. 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.
  8. 8. More than Just Playback… Branding • May be white labelled to promote your brand • Customizable skins Analytics • Ability to collect real user metrics • Potential to query network statistics Security Monetization • Required for playing DRM-ed content • Responsible for enforcing specified policies • Dynamically insert ads to monetize your content • Standards based integration with ad networks © 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. 9. 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.
  10. 10. Analytics (Real User Monitoring) Concurrent Viewers Re-buffering © 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. 11. Security Pre-DRM DRM On-The-Fly Capability needed in player to obtain license, decrypt content CDN Private 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.
  12. 12. 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.
  13. 13. 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.
  14. 14. 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.
  15. 15. 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.
  16. 16. 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.
  17. 17. 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.
  18. 18. 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.
  19. 19. 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.
  20. 20. 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.
  21. 21. 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.
  22. 22. 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.
  23. 23. 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.
  24. 24. 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.
  25. 25. 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.
  26. 26. Demo: JW Player References http://www.jwplayer.com/blog/encoding-hls-withamazon-elastic-transcoder/ http://www.jwplayer.com/blog/delivering-hlsamazon-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.
  27. 27. © 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.

×