1 / 38

Building video applications on Windows 8 with Windows Azure Media Services

Building video applications on Windows 8 with Windows Azure Media Services. mingfeiy. Mingfei Yan Program manager (yanmf@Microsoft.com) Microsoft 3-035. Agenda. Evolution of online video . What is Windows Azure Media Services Architecture and Features SDK and REST API.

kato
Télécharger la présentation

Building video applications on Windows 8 with Windows Azure Media Services

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Building video applications on Windows 8 with Windows Azure Media Services mingfeiy Mingfei Yan Program manager (yanmf@Microsoft.com) Microsoft 3-035

  2. Agenda • Evolution of online video What is Windows Azure Media Services Architecture and Features SDK and REST API • Media player framework for Windows 8 • Features and sample apps

  3. Evolution of online video Victoria’s Secret fashion show 1999 First major online broadcast 28.8 kbps 2009 2008 2012 Future 1999 2004 2007

  4. Evolution of online video <1Gps 2009 2008 2012 Future 1999 2004 2007

  5. Evolution of online video <1Gps 2009 2008 2012 Future 1999 2004 2007

  6. Evolution of online video 2,200 hours of live and 4,400 hours of VOD 150 million viewers for live streaming 237 million views for on-demand <1Gps 2009 2008 2012 Future 1999 2004 2007

  7. Evolution of online video 444Gbps <1Gps 2009 2008 2012 Future 1999 2004 2007

  8. Evolution of online video 444Gbps <1Gps 2009 2008 2012 Future 1999 2004 2007

  9. Evolution of online video >1Tbps 3,500 hours of live coverage 102.6 million videos 15M unique mobile users First live streaming event in the cloud 444Gbps <1Gps 2009 2008 2012 Future 1999 2004 2007

  10. Challenges • Infrastructure costs • Managing costs • Monetizing contents • Digital Rights Management • Security High Quality videos for any device Anywhere and Anytime Multiple formats, multiple bitrates

  11. What Media Services could help? Your Choice of Components for Building Custom Media Workflows in the Cloud Windows Azure Media Services Ingestion Ingestion Pre-encrypt files prior to uploading(AES 256) Secure HTTPS upload Network level peering for fast HTTP into Azure Fast upload using UDP with Aspera Bulk ingest support

  12. What Media Services could help? Your Choice of Components for Building Custom Media Workflows in the Cloud Windows Azure Media Services Encoding & Conversion Encoding & Conversion Ingestion Windows Azure Media Encoder Supports encoding to H.264 or VC-1 video Encodes audio to AAC-LC, HE-AAC, Dolby DD+, WMA Packages to MP4, HLS, Smooth Streaming, HDS, WMV Partner SDK for enabling ‘build-in’ encoders

  13. What Media Services could help? Your Choice of Components for Building Custom Media Workflows in the Cloud Windows Azure Media Services Encoding & Conversion Content Protection Content Protection Ingestion Windows Azure Media Encryptor Sources from Smooth Streaming or Apple HLS Encrypts with PlayReady, Common Encryption, AES

  14. What Media Services could help? Your Choice of Components for Building Custom Media Workflows in the Cloud Windows Azure Media Services Encoding & Conversion Content Protection Ingestion Analytics & Advertising Live Streaming On-Demand Streaming On-Demand Streaming Windows Azure Media Origin Managed streaming service… it just works! Guaranteed bandwidth. Auto recovery/redundancy. High Availability Integrated Azure CDN support Dynamic Remux support for standard MP4 files

  15. Architecture Client Libraries “Build-On” Media Partners and Customers Partner CDNs REST APIs Windows Phone Media Services XBOX 360 Secure Media Ingest On-Demand Origin Encoding Advertising Live Ingest Live Origin HTML 5 iOS Azure CDN Media Job Scheduling Analytics Live Encoding “Build-In” Partner Media Processors ContentProtection Identity Management Silverlight Flash Origin Adaptive Streaming Porting Kits Caching

  16. Demo: Windows Azure Media Services workflow Windows Azure portal for media services

  17. Media Services APIs and SDKs • REST API for all platforms, using OData 3.0 Simple to write your own client libraries using REST API and standard HTTP verbs (GET, POST, PUT, DELETE) Link: http://msdn.microsoft.com/en-us/library/hh973618 • .NET library available now in Preview • Link: http://www.windowsazure.com/en-us/develop/net/how-to-guides/media-services/ • Nuget package: https://nuget.org/packages/windowsazure.mediaservices • Future - JAVA library available in Fall • Open Libraries available with source code (Apache 2 license) on GitHub

  18. Demo: Learn how to connect to Media Services using .NET SDK Using .NET SDK for Media Services

  19. Windows Azure Media Services Value Quick and Easy Media Services enable content companies and solution providers to quickly and easily build end-to-end media workflows Open and Flexible Media Services provide pre-built, ready-to-use, first-and third-party technologies that enable custom solutions to create, manage, and distribute content for all the devices and platforms you care about. Powerful and Cost-Effective Media Services provide a scalable, reliable and cost-effective infrastructure allowing you to focus on your core business and the valuable features that differentiate your products.

  20. Reach Story Media Players Microsoft End Points Non-Microsoft End Points Silverlight (Smooth, DASH) XBOX (Smooth, DASH) Windows Phone (Smooth, DASH) (Smooth, DASH) Porting Kit for Devices (Smooth, DASH) Flash (Smooth, DASH) iOS (Smooth, HLS) Android (HLS & 3rd party)

  21. Smooth Streaming in Windows 8 Primary media delivery platform for Windows 8 Light up support for video element in modern style applications HTML 5 Modern style applications XAML Modern style applications C++ Modern style applications Provide an easy way to Consume Smooth Streaming and other formats in future (e.g., MPEG-DASH) Port existing video apps to windows 8 Monetize apps with in-built Ad support and rich Analytics Get started with VS templates and client frameworks Early developer bits already available Player Applications(Customer’s app) Player Frameworks(HTML5/XAML Player Framework) Client SDK(SS Extension SDK) Media Pipeline(Windows 8 MF) Platform(Windows 8)

  22. Smooth Streaming Extension SDK Application with Smooth Streaming Source url : …/manifest Application with video source url : …/a.mp4 Media Engine in Windows 8 platform Smooth Streaming Extension SDK Media foundation Interface Decrypter (DRM) Renderer Decoder PLAYBACK PIPELINE Native codec support: H.264, WMV, VC-1 and etc.

  23. Player Frameworks • Shipped as Open source at playerframework.codeplex.com • Builds on capabilities of Smooth Streaming Client • Available for multiple platform • Windows 8 Player • HTML/JavaScript Modern style applications • XAML/C# Modern style applications • HTML5 player for browser • Silverlight & Windows Phone player • Well established player framework • Plugin Architecture – import what you need Player Applications(e.g., NBC, Comcast) Player Frameworks(e.g., MMPPF, HTML5 framework) Client SDK / Porting Kits(e.g., SSME, SSPK) Media Pipeline(e.g., Silverlight, GStreamer) Platform(e.g., Windows/ Linux)

  24. Windows 8 Features Trick Play Closed captioning Advertising Player styling Offline Smooth Streaming (VOD and live) Progressive Video DVR controls Logging Multiple Audio MPEG-DASH PlayReady DRM • Analytics

  25. hello world video application • Demo

  26. Advertising Definition Linear Ads: presented before, between or after video content. Linear Ad takes over the full view of video.

  27. Advertising Definition Non-linear Ads: runs parallel to the video content so the user still has the option of viewing the content. It could be text, graphical banner/buttons or video overlays

  28. Advertising Definition Companion Ad: Pairing with Linear Ad or Non-Linear Ad It offers sustained visibility of the sponsor throughout the video content After 5 sec when linear ad is over

  29. Advertising Standards VAST (Video Ad Serving Template) 3.0 / 2.0 • It tells video player what to play • Recommended by IAB • Based on XML • Served by majority of ad servers • Five Ads formats: • Skippable Linear Ads • Ad Pods (a sequenced group of ads) • Linear Ads • Non-linear Ads • Linear Ads with Companions

  30. Advertising Standards VAST (Video Ad Serving Template) 3.0 / 2.0 • <VAST version=“3.0”> • <Ad> • <InLine> • <AdSystem>My Ad Server</AdSystem> • <AdTitle>Car Company</AdTitle> • <Impression>...</Impression> • <Creatives> • <Creative> • <Linear>...</Linear> • </Creative> • <Creative> • <CompanionAds>...</CompanionAds> • </Creative> • </Creatives> • </InLine> • </Ad> • </VAST>

  31. Advertising Standards VAST (Video Ad Serving Template) 3.0 / 2.0 • <Creative id="video" sequence="0" AdID=""> • <Linear> • <Duration>00:00:32</Duration> • <TrackingEvents>...</TrackingEvents> • <VideoClicks>...</VideoClicks> • <MediaFiles> • <MediaFileapiFramework="Windows Media" id="windows_progressive_200"  • maintainAspectRatio="true" scaleable="true" delivery="progressive"  • bitrate=“200” width="400" height="300" type="video/x-ms-wmv"> • <![CDATA[ • http://smf.blob.core.windows.net/samples/ads/media/XBOX_HD.wmv • ]]> • </MediaFile> • </MediaFiles> • </Linear>

  32. What to play - VAST • Demo

  33. Smooth Streaming for Windows 8

  34. I am a Developer: Tell Me How it’s Done Download Microsoft Media Platform Player framework http://playerframework.codeplex.com/releases/view/96091 Install Smooth Streaming client SDK http://visualstudiogallery.msdn.microsoft.com/04423d13-3b3e-4741-a01c-1ae29e84fea6?SRC=Home Install Microsoft PlayReady Client SDK http://visualstudiogallery.msdn.microsoft.com/e02ccac7-f3eb-4b53-b11a-c657d5631483 Where to get started: Download MMPPF sample app and learn from sample code http://playerframework.codeplex.com/releases/view/92745 Getting to know about Windows Azure Media Services https://www.windowsazure.com/en-us/home/features/media-services/ All the sessions materials are available at : http://mingfeiy.com/

  35. Q&A

  36. Resources • Follow us on Twitter @WindowsAzure • Get Started: www.windowsazure.com/build Please submit session evals on the Build Windows 8 App or at http://aka.ms/BuildSessions

More Related