Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

28

description

You just cannot imagine the Web without audio and video services. Up until now, if you want to include streaming media content in your websites or applications, you need to rely on third party services or massive computing capacity for media transcoding, and streaming to a range of client devices. With the release of Windows Azure Media Services and the Media Services SDK, these capabilities are becoming easily available for you to incorporate in your websites and applications. In this session we'll give an overview of Windows Azure Media Services, and you'll learn from a series of demos how you can take advantage of the platform to add media content to your development. We'll also see what the competition has in store and what's missing.

Transcript of Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Page 1: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session
Page 2: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session
Page 3: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Mike MartinArchitect – Windows Azure MVP

Lights, Camera, Action - Media Services on the Loose

Page 4: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Mike MartinWho Am I

View more tips on my bloghttp://techmike2kx.wordpress.com

Crosspoint SolutionsWhere I Work

Architect, Windows Azure MVP, MEET, Insider

What I Do

@[email protected]

Where To Find Me

A little more about me

Page 5: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Roll Camera : Media ServicesWhat’s on the menu today Defining Hollywood : what’s inside the box /

Media Services Feeding the beast : uploading capabilities One ring to rule them all : Encoding your assets They order, you deliver : Delivering streaming Open for Business : Consuming the goods Director’s Cut

Page 6: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Defining HollywoodWhat’s inside the box / Media Services

Page 7: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

• It’s an eco system build upon what we know• Scalability• Building Blocks • Open

I will talk and Hollywood will listen …

Page 8: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Architecture

REST APIs

“Build-On” 3rd party

Azu

re C

DN

Media Services

Adaptive StreamingPorting Kits

3rd p

arty

CD

Ns

Origin

Caching

Secure Media Ingest

Media Job Scheduling

Encoding

ContentProtection

On-DemandOrigin

Live Origin

Analytics Identity Management

“Build-In”Partner Media Processors

Live Ingest

Live Encoding

Silverlight

HTML 5Advertising

Flash

XBOX 360

WindowsPhone

iOS

Page 9: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

• Pre-encryption possible• Secure through HTTPS• Allows Bulk uploads

CharacteristicsUploading

Page 10: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

• Support industry standards for video (H.264- VC-1)

• Audio encoding to AAC-LE, HE-AAC, Dolby DD+, WMA

CharacteristicsEncoding

Page 11: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

• Managed Streaming Service• High bandwidth• Auto recovery/redundancy• High Availability

• Integrated Windows Azure CDN Support• Store one set, re-deliver multi-format

CharacteristicsOn-demand Streaming

Page 12: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

• Click ‘n play- the portal way• Do I hear SDK – aye aye• REST Away If I may

How to use

Page 13: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Feeding the beastuploading capabilities - ingestion

Page 14: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Using the SDK to create Uploadingvar context = new CloudMediaContext(“name", “key");

var uploadAsset = context.Assets.Create(assetname, AssetCreationOptions.None );

var assetFile = uploadAsset.AssetFiles.Create(phyiscalfile);

assetFile.Upload(physicalfile);

Page 15: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

One ring to rule them all : Encoding your assets - encoding

Page 16: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Using the SDK to create Encoding Jobsvar job = context.Jobs.Create(“Job Name");

var task = job.Tasks.AddNew(“TaskName", GetMediaProcessor("Windows Azure Media Encoder", context), “Formatname", TaskOptions.None);

task.InputAssets.Add(asset);

task.OutputAssets.AddNew(“",AssetCreationOptions.None);

job.Submit();

Page 17: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

They order, you deliver : Delivering streaming - Delivery

Page 18: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Using the SDK to create Encoding Jobsvar locator = context.Locators.CreateLocator(

LocatorType.OnDemandOrigin, streamingAsset, accessPolicy);

Page 19: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Open for Business : Consuming the goods

Page 20: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Reach Story

Media Players

Microsoft End Points

Non-Microsoft

End Points

Flash (Smooth,

DASH)

iOS (Smooth,

HLS)

(Smooth,DASH)

XBOX (Smooth,

DASH)

Silverlight(Smooth,

DASH)

Windows Phone

(Smooth, DASH)

Android (HLS & 3rd

party)

Porting Kit for

Devices (Smooth,

DASH)

Page 21: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Smooth Streaming in Windows 8.xPlayer Applications

(Customer’s app)

Player Frameworks(HTML5/XAML Player Framework)

Client SDK(SS Extension SDK)

Media Pipeline(Windows 8.x MF)

Platform(Windows 8.x)

Primary media delivery platform for Windows 8.x

Light up support for video element in modern style applicationsHTML 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.x

Monetize apps with in-built Ad support and rich Analytics

Get started with VS templates and client frameworks

Page 22: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Smooth Streaming Extension SDK

Decoder Renderer Decrypter(DRM)

Media foundationInterface

Media Engine in Windows 8.x platform

PLAYBACK PIPELINE

Native codec support: H.264, WMV, VC-1 and etc.

Application with Smooth Streaming Sourceurl : …/manifest

Smooth StreamingExtension SDK

Application with video sourceurl : …/a.mp4

Page 23: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Player FrameworksShipped as Open source at playerframework.codeplex.comBuilds on capabilities of Smooth Streaming ClientAvailable for multiple platform

Windows 8.x Player• HTML/JavaScript Modern style applications• XAML/C# Modern style applications

HTML5 player for browserSilverlight & Windows Phone player

Well established player frameworkPlugin 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)

Page 24: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Director’s Cut

Page 25: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Additional features

Content Protection Closed Caption Support Advertising Support

Page 26: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

ResourcesDownload Microsoft Media Platform Player framework

http://playerframework.codeplex.com

Install Smooth Streaming client SDKhttp://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

Getting to know about Windows Azure Media Services

https://www.windowsazure.com/en-us/home/features/media-services/

Page 27: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

Aaaand ….

CUT!

Thanks everyone, it’s a wrap!

Page 28: Lights, Camera, Action - Windows Azure Media Services on the Loose - the Azug Session

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.