SlideShare a Scribd company logo
1 of 38
Microsoft Azure Media Services
and Content Protection
Mingfei Yan (@mingfeiy)
Senior Program Manager - Azure Media Services – yanmf@microsoft.com
Microsoft Azure
Agenda
• Overview of Microsoft Azure and Azure media services
• Typical media workflow
• Encoding
• Dynamic packaging
• Indexer
• Content Protection
• Hosted AES and PlayReady License delivery
• Dynamic encryption
• Live streaming
16 Regional Data Centers
29 CDN Super POPs
Azure is an open and flexible cloud platform that
enables you to quickly build, deploy and manage
applications across a global network of Microsoft-
managed datacenters. You can build applications
using any language, tool or framework. And you
can integrate your public cloud applications with
your existing IT environment.
Microsoft Azure
What is Azure?
Azure enables you to easily scale applications to
any size. It is a fully automated self-service
platform that allows you to provision resources
within minutes- Elastically grow or shrink your
resource usage based on your needs. You only pay
for the resources your application uses. Azure is a
available in multiple datacenters around the world,
enabling you to deploy your applications close to
your costumers.
Unlimited servers.
Unlimited storage.Azure delivers a 99.95% compute SLA and enables
you to build and run highly available applications
without focusing on the infrastructure. It provides
automatic OS and service patching, built in network
load balancing and resiliency to hardware failure. It
supports a deployment model that enables you to
upgrade your application without downtime.
Always up. Always on.
Digital media landscape is always changing:
The Challenge & The Opportunity
Huge capital investment requiredVideo is the new currency
H.264
HLS
DASH
Azure Media Services
Microsoft’s cloud platform now enables on
demand and live streaming video solutions
for consumer and enterprise scenarios.
Introducing
Azure Media Services
Plus a growing
ecosystem of value-add
third party partner
components
Live &
On Demand
Streaming
Content
Protection
Encoding,
Packaging,
and Indexing
Cloud Upload
& Storage
Scalable components for
building custom media
workflows in the cloud
What do we mean
by Azure Media Services?
Player
Clients
Integrated
CDN
7
What you can do with Media Services
Enterprise video
management
Distribute and manage
corporate communications, IT,
HR content and training.
Web video for digital
marketing platforms
Services and tools for video
preparation, management and
publishing.
Live and Premium on-
demand streaming
Reach hundreds of millions of
device endpoints.
Wide Adoption
Premium video
on-demand
content,
broadcasts & live
event streaming,
online video
platforms for web
and mobile,
enterprise video
management….
And more!
Subscription Video Service
"With Microsoft
Azure, we instantly
have a scalable
video encoding
platform. We can
spin up hundreds
of encoding servers
when needed and
let them go when
the job is done."
-Jon Robinson
Group Head of IT,
blinkbox
Live to Video-on-Demand
“The functionality
and power behind
Microsoft Azure really
helped us develop,
implement, scale and
launch a video-
capable website in
near record time.”
-Chris Witmayer, Director
of Broadcast, Production
and New Media Tech,
NASCAR Production
NBC Sports streams Super Bowl XLIX live on Azure
Plus a growing
ecosystem of value-add
third party partner
components
Live &
On Demand
Streaming
Content
Protection
Encoding,
Packaging,
and Indexing
Cloud Upload
& Storage
Scalable components for
building custom media
workflows in the cloud
What do we mean
by Azure Media Services?
Player
Clients
Integrated
CDN
• Elastically scale to support lots of parallel jobs
• Pay only for what you use, charged per Output GB
• Manage via Azure Portal, API, or Azure Explorer Desktop Tool
Azure Media Encoding Features
• Broadcast/Studio quality video and audio formats
• Video - H.264, MXF, DVCPro, MPEG2 TS, WMV, De-interlacing
• Audio - AC3/Dolby Digital+, AAC,-LC, Multi Language Tracks
• SD, HD, or 4K AVC content
• Closed Captioning Support
Access to the capacity and
performance that you need for
bursting to the cloud.
Basic Standard Premium
ENCODER PERFORMANCE
Demo
Azure management portal
Dynamic packaging
Allows you to re-use your encoded content and bring it to various streaming formats without repackaging the
content.
Video sources Multi-bitrates Mp4
Origin Server
HLS
Smooth
Streaming
Encode
Video sources Multi-bitrates Mp4
Or Smooth Asset Origin Server
HLS
v3, v4
Smooth
Streaming
Encode
Dynamic
Packaging
Traditional Encode and Package
Dynamic Packaging
MPEG
DASH
HDS
Formats
http{media services account name}.origin.mediaservices.net/{locator
ID}/{filename}.ism/Manifest(format=mpd-time-csf)
Streaming Locator
Format Syntax
Smooth Streaming
MPEG DASH (format=mpd-time-csf)
Apple HTTP Live Streaming (HLS) V4 (format=m3u8-aapl)
Apple HTTP Live Streaming (HLS) V3 (format=m3u8-aapl-v3)
HDS (for Adobe PrimeTime/Access licensees only) (format=f4m-f4f)
bit.ly/playerdemo
Azure Media Player
Cross platform
JavaScript based player, detecting platform,
provides best experience
Defaults to open standards where
possible
Will switch to different packaging
depending on platform
Knows how to request streams from
Azure Media Services
“just works” experience
Aka.ms/azuremediaplayer
Media Services APIs and SDKs
REST API for all platforms
Reference: http://msdn.microsoft.com/en-us/library/windowsazure/hh973617.aspx
.NET library
Nuget package: https://nuget.org/packages/windowsazure.mediaservices
GitHub: https://github.com/Azure/azure-sdk-for-media-services
Extensions for .NET SDK: https://github.com/sazure/azure-sdk-for-media-services-extensions
PHP Library
GitHub: https://github.com/windowsazure/azure-sdk-for-php
Open Tech blog with demo: http://msopentech.com/blog/2014/01/23/ms-open-technologies-enhances-open-source-php-sdk-windows-azure/
JAVA library
http://www.windowsazure.com/en-us/develop/java/java-home Windows / Mac / Linux
GitHub: https://github.com/windowsazure/azure-sdk-for-java/
PowerShell cmdlets
How to use: http://www.gtrifonov.com/2013/08/24/how-to-use-windows-azure-powershell-for-media-services/
Node.js library
GitHub: https://github.com/fritzy/node-azure-media
Introducing Azure Media Indexer
Natural Language Processing technology
Catalogue vast content libraries
Generate transcripts from multimedia
Will support OCR, multiple languages, Search, Deep linking
Used by The Washington Post, NASA/JPL, and many others
Media Intelligence and Content Enhancements
Demo
Azure Media Services Indexer (link)
Azure Media Content Protection
Encrypt Smooth Streaming content with PlayReady
protection via common encryption scheme (CENC),
and the option of packaging it into HLS or DASH.
PlayReady technology allows you to define restrictive
licensing agreement to manage user access rights to
your media.
Source: IDC Successful Cloud Partners 2013
Microsoft PlayReady®
Who should use this feature:
Premium studio content or high business impact content: Key
is encrypted and decryption happens in a secure DRM decoder
environment
How to choose the best content protection method
Encrypt on-the-wire communication using the
widely-known symmetric AES encryption algorithm.
An authentication service for key is provided.
Source: IDC Successful Cloud Partners 2013
AES Clear Key encryption
Who should use this feature:
Trusted audience or time-valued content: Key is stored in
clear format so it can only be used with trusted users or
content that has time value associated with it. Used to prevent
“man-in-the-middle” attacks
Dynamic Packaging and Dynamic Encryption
Video sources
Smooth Streaming
Origin Server
Smooth
Streaming
+ PlayReady
Encode
Dynamic
Packaging
Static encryption
DASH
+ CENC
PlayReady
Smooth Streaming
+ PlayReady
Encryption
Video sources Multi-bitrates Mp4
Or Smooth Asset
Origin Server
HLS
+ AES or PlayReady
Smooth
Streaming
+ AES or PlayReady
Encode
Dynamic
Packaging and
Encryption
Dynamic Encryption
DASH
+ CENC
Storage
• MP4
Define:
Streaming
Endpoint
PlayReady/ AES Key Services
Token
verification
PlayReady License/
AES Key
Customer’s
Auth system
Content Key
Authorization policy
(Token/IP/Open, license template)
asset
Asset Delivery policy
(HLS with AES) or
(Smooth Streaming with PlayReady)
Client SDK
Customers
Architecture – Dynamic Encryption with AES/PlayReady
JWT Token Acquisition
When and for how long is it valid?
(Unix time, secs since 1st Jan 1970)
Who is it intended for?Who issued the token?
JWT Tokens can be generated by anyone and require at minimum:
Issuer Audience Expiration
HMAC SHA-256 (symmetric key) or RSA SHA-256 (asymmetric key, x509 certificate)
{ "aud":"https://contoso.com/relyingparty",
"iss":"https://contoso.accesscontrol.windows.net/",
"nbf":1336067338,"exp":1336070938,"nameid":"frankm",
"identityprovider":"contoso.com",“role”: [ “admin”, “user” ]}
• Header.Claim[.Claim].Signature
• Signed with symmetric or assymetric
key
Not Before
{"typ":"JWT","alg":"HS256"}
_3dZQ6cmmFgrZ_-VmOLrr7CHne3Xdko_WtE6-Je5Ihw
Player Your Backend
Authenticate User
Give back signed JWT token
Symmetric/Asymetric key, used
to configure
key auth policy with
JWT Token
Configure
Player to use Token
AMS Key Service
Check token from Auth
header/parameters
Player
plays media &
decrypts with key
Token Workflow
Demo
Dynamic encryption for on-demand
Playback with Smooth and DASH
A No-Code Easy UI way
to use Media Services
Release
http://aka.ms/amse
Source code
https://github.com/Azure/Azure-Media-Services-
Explorer
Blog post
http://azure.microsoft.com/blog/2014/10/08/managi
ng-media-workflows-with-the-new-azure-media-
services-explorer-tool
Features
Assets
Upload from local, watch folder, batch, drag & drop
Import from Azure, http (S3)
Download and export to Azure
Information & report, asset files management
Processing
Encode with AME, AME Advanced, Zenium
Call Content Indexer, or any processor
Job template, priority, information & report
Publish
Dynamic encryption
License & key delivery setup
SAS and Origin locators
Playback the content
Live
Create/Manage/Delete live channels and programs
Channel
Azure Load Balancer
Blob Storage
Preview URL
Program URL
Ingest:
Ingest endpoint to accept Live streams with
different bitrates (RTMP/smooth streaming)
through load balancer
Convert ingest data to fMP4
(e.g. RTMP fMP4)
Forwards the stream to all preview end-points
Preview:
Receives stream from Ingest
Forwards to Program
Exposes Preview URL (for monitoring)
Program:
Writes it to Blob Storage for Archive/DVR
Dynamic package into HLS, Smooth and DASH
Dynamic Encryption with AES or Playready
Storage
FMP4
Streaming
Endpoint
Client SDK
Players
Architecture: Live Streaming with dynamic encryption
Channel
Program
Multi-bitrate
RTMP/Smooth
Preview- monitoring
PlayReady license/ AES Key Services
Token
Authentication
PlayReady
License/ AES Key
Customer’s
Auth system
Azure
Azure Storage Streaming EndpointChannel
Ingest
URL
Preview
URL
Wirecast
RTMP
Smooth,
DASH or
HLS
Live Streaming Demo
Playback
AMS Explorer
Demo
Live streaming with content protection
Content Protection – Hybrid modes
35
Dynamic Encryption PlayReady license delivery
Cloud with Azure Media Services
Hybrid with your own server with Azure Media Services
Hybrid with Azure Media Services with your own server
Key Takeaways
• Media Services are easy, flexible, and powerful
• Customers can reach any device using any protocol
• Partner ecosystem: easily build-in or build-on
• Content protection across all clients
• Pay for what you use, easy to understand billing
• Any media, on any device, delivered from the cloud
Resources
www.azure.com/media
Receive $200 Azure Credit when you sign up
Content Protection documentation
http://msdn.microsoft.com/en-us/library/azure/dn282272.aspx
Sample code
https://github.com/AzureMediaServicesSamples
Mingfei’s blog
http://mingfeiy.com/
Email me at yanmf@Microsoft.com
Azure Media Services Content Protection service

More Related Content

Viewers also liked

AWS Webcast - Using JW Player and Amazon CloudFront to Stream HLS Video
AWS Webcast - Using JW Player and Amazon CloudFront to Stream HLS VideoAWS Webcast - Using JW Player and Amazon CloudFront to Stream HLS Video
AWS Webcast - Using JW Player and Amazon CloudFront to Stream HLS VideoAmazon Web Services
 
AWS를 활용한 미디어 고객사 서비스 혁신 사례 - 양승도 :: AWS 미디어 커스토머 데이
AWS를 활용한 미디어 고객사 서비스 혁신 사례 - 양승도 :: AWS 미디어 커스토머 데이AWS를 활용한 미디어 고객사 서비스 혁신 사례 - 양승도 :: AWS 미디어 커스토머 데이
AWS를 활용한 미디어 고객사 서비스 혁신 사례 - 양승도 :: AWS 미디어 커스토머 데이Amazon Web Services Korea
 
Media 서비스의 새로운 플랫폼, AWS :: 김기완 솔루션즈 아키텍트 :: AWS Media Day 2016
Media 서비스의 새로운 플랫폼, AWS :: 김기완 솔루션즈 아키텍트 :: AWS Media Day 2016Media 서비스의 새로운 플랫폼, AWS :: 김기완 솔루션즈 아키텍트 :: AWS Media Day 2016
Media 서비스의 새로운 플랫폼, AWS :: 김기완 솔루션즈 아키텍트 :: AWS Media Day 2016Amazon Web Services Korea
 
On-demand & Live Streaming with Amazon CloudFront in the Post-PC World (MED30...
On-demand & Live Streaming with Amazon CloudFront in the Post-PC World (MED30...On-demand & Live Streaming with Amazon CloudFront in the Post-PC World (MED30...
On-demand & Live Streaming with Amazon CloudFront in the Post-PC World (MED30...Amazon Web Services
 
Media Service on a Cloud :: 콘텐츠연합플랫폼 :: AWS Media Day 2016
Media Service on a Cloud :: 콘텐츠연합플랫폼 :: AWS Media Day 2016Media Service on a Cloud :: 콘텐츠연합플랫폼 :: AWS Media Day 2016
Media Service on a Cloud :: 콘텐츠연합플랫폼 :: AWS Media Day 2016Amazon Web Services Korea
 
Getting Started with Amazon Kinesis
Getting Started with Amazon KinesisGetting Started with Amazon Kinesis
Getting Started with Amazon KinesisAmazon Web Services
 

Viewers also liked (6)

AWS Webcast - Using JW Player and Amazon CloudFront to Stream HLS Video
AWS Webcast - Using JW Player and Amazon CloudFront to Stream HLS VideoAWS Webcast - Using JW Player and Amazon CloudFront to Stream HLS Video
AWS Webcast - Using JW Player and Amazon CloudFront to Stream HLS Video
 
AWS를 활용한 미디어 고객사 서비스 혁신 사례 - 양승도 :: AWS 미디어 커스토머 데이
AWS를 활용한 미디어 고객사 서비스 혁신 사례 - 양승도 :: AWS 미디어 커스토머 데이AWS를 활용한 미디어 고객사 서비스 혁신 사례 - 양승도 :: AWS 미디어 커스토머 데이
AWS를 활용한 미디어 고객사 서비스 혁신 사례 - 양승도 :: AWS 미디어 커스토머 데이
 
Media 서비스의 새로운 플랫폼, AWS :: 김기완 솔루션즈 아키텍트 :: AWS Media Day 2016
Media 서비스의 새로운 플랫폼, AWS :: 김기완 솔루션즈 아키텍트 :: AWS Media Day 2016Media 서비스의 새로운 플랫폼, AWS :: 김기완 솔루션즈 아키텍트 :: AWS Media Day 2016
Media 서비스의 새로운 플랫폼, AWS :: 김기완 솔루션즈 아키텍트 :: AWS Media Day 2016
 
On-demand & Live Streaming with Amazon CloudFront in the Post-PC World (MED30...
On-demand & Live Streaming with Amazon CloudFront in the Post-PC World (MED30...On-demand & Live Streaming with Amazon CloudFront in the Post-PC World (MED30...
On-demand & Live Streaming with Amazon CloudFront in the Post-PC World (MED30...
 
Media Service on a Cloud :: 콘텐츠연합플랫폼 :: AWS Media Day 2016
Media Service on a Cloud :: 콘텐츠연합플랫폼 :: AWS Media Day 2016Media Service on a Cloud :: 콘텐츠연합플랫폼 :: AWS Media Day 2016
Media Service on a Cloud :: 콘텐츠연합플랫폼 :: AWS Media Day 2016
 
Getting Started with Amazon Kinesis
Getting Started with Amazon KinesisGetting Started with Amazon Kinesis
Getting Started with Amazon Kinesis
 

Recently uploaded

Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 

Recently uploaded (20)

Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 

Azure Media Services Content Protection service

  • 1. Microsoft Azure Media Services and Content Protection Mingfei Yan (@mingfeiy) Senior Program Manager - Azure Media Services – yanmf@microsoft.com Microsoft Azure
  • 2. Agenda • Overview of Microsoft Azure and Azure media services • Typical media workflow • Encoding • Dynamic packaging • Indexer • Content Protection • Hosted AES and PlayReady License delivery • Dynamic encryption • Live streaming
  • 3. 16 Regional Data Centers 29 CDN Super POPs Azure is an open and flexible cloud platform that enables you to quickly build, deploy and manage applications across a global network of Microsoft- managed datacenters. You can build applications using any language, tool or framework. And you can integrate your public cloud applications with your existing IT environment. Microsoft Azure What is Azure? Azure enables you to easily scale applications to any size. It is a fully automated self-service platform that allows you to provision resources within minutes- Elastically grow or shrink your resource usage based on your needs. You only pay for the resources your application uses. Azure is a available in multiple datacenters around the world, enabling you to deploy your applications close to your costumers. Unlimited servers. Unlimited storage.Azure delivers a 99.95% compute SLA and enables you to build and run highly available applications without focusing on the infrastructure. It provides automatic OS and service patching, built in network load balancing and resiliency to hardware failure. It supports a deployment model that enables you to upgrade your application without downtime. Always up. Always on.
  • 4. Digital media landscape is always changing: The Challenge & The Opportunity Huge capital investment requiredVideo is the new currency
  • 5. H.264 HLS DASH Azure Media Services Microsoft’s cloud platform now enables on demand and live streaming video solutions for consumer and enterprise scenarios. Introducing Azure Media Services
  • 6. Plus a growing ecosystem of value-add third party partner components Live & On Demand Streaming Content Protection Encoding, Packaging, and Indexing Cloud Upload & Storage Scalable components for building custom media workflows in the cloud What do we mean by Azure Media Services? Player Clients Integrated CDN
  • 7. 7 What you can do with Media Services Enterprise video management Distribute and manage corporate communications, IT, HR content and training. Web video for digital marketing platforms Services and tools for video preparation, management and publishing. Live and Premium on- demand streaming Reach hundreds of millions of device endpoints.
  • 8. Wide Adoption Premium video on-demand content, broadcasts & live event streaming, online video platforms for web and mobile, enterprise video management…. And more!
  • 9. Subscription Video Service "With Microsoft Azure, we instantly have a scalable video encoding platform. We can spin up hundreds of encoding servers when needed and let them go when the job is done." -Jon Robinson Group Head of IT, blinkbox
  • 10. Live to Video-on-Demand “The functionality and power behind Microsoft Azure really helped us develop, implement, scale and launch a video- capable website in near record time.” -Chris Witmayer, Director of Broadcast, Production and New Media Tech, NASCAR Production
  • 11. NBC Sports streams Super Bowl XLIX live on Azure
  • 12. Plus a growing ecosystem of value-add third party partner components Live & On Demand Streaming Content Protection Encoding, Packaging, and Indexing Cloud Upload & Storage Scalable components for building custom media workflows in the cloud What do we mean by Azure Media Services? Player Clients Integrated CDN
  • 13. • Elastically scale to support lots of parallel jobs • Pay only for what you use, charged per Output GB • Manage via Azure Portal, API, or Azure Explorer Desktop Tool Azure Media Encoding Features • Broadcast/Studio quality video and audio formats • Video - H.264, MXF, DVCPro, MPEG2 TS, WMV, De-interlacing • Audio - AC3/Dolby Digital+, AAC,-LC, Multi Language Tracks • SD, HD, or 4K AVC content • Closed Captioning Support
  • 14. Access to the capacity and performance that you need for bursting to the cloud. Basic Standard Premium ENCODER PERFORMANCE
  • 16. Dynamic packaging Allows you to re-use your encoded content and bring it to various streaming formats without repackaging the content. Video sources Multi-bitrates Mp4 Origin Server HLS Smooth Streaming Encode Video sources Multi-bitrates Mp4 Or Smooth Asset Origin Server HLS v3, v4 Smooth Streaming Encode Dynamic Packaging Traditional Encode and Package Dynamic Packaging MPEG DASH HDS
  • 17. Formats http{media services account name}.origin.mediaservices.net/{locator ID}/{filename}.ism/Manifest(format=mpd-time-csf) Streaming Locator Format Syntax Smooth Streaming MPEG DASH (format=mpd-time-csf) Apple HTTP Live Streaming (HLS) V4 (format=m3u8-aapl) Apple HTTP Live Streaming (HLS) V3 (format=m3u8-aapl-v3) HDS (for Adobe PrimeTime/Access licensees only) (format=f4m-f4f) bit.ly/playerdemo
  • 18. Azure Media Player Cross platform JavaScript based player, detecting platform, provides best experience Defaults to open standards where possible Will switch to different packaging depending on platform Knows how to request streams from Azure Media Services “just works” experience Aka.ms/azuremediaplayer
  • 19. Media Services APIs and SDKs REST API for all platforms Reference: http://msdn.microsoft.com/en-us/library/windowsazure/hh973617.aspx .NET library Nuget package: https://nuget.org/packages/windowsazure.mediaservices GitHub: https://github.com/Azure/azure-sdk-for-media-services Extensions for .NET SDK: https://github.com/sazure/azure-sdk-for-media-services-extensions PHP Library GitHub: https://github.com/windowsazure/azure-sdk-for-php Open Tech blog with demo: http://msopentech.com/blog/2014/01/23/ms-open-technologies-enhances-open-source-php-sdk-windows-azure/ JAVA library http://www.windowsazure.com/en-us/develop/java/java-home Windows / Mac / Linux GitHub: https://github.com/windowsazure/azure-sdk-for-java/ PowerShell cmdlets How to use: http://www.gtrifonov.com/2013/08/24/how-to-use-windows-azure-powershell-for-media-services/ Node.js library GitHub: https://github.com/fritzy/node-azure-media
  • 20. Introducing Azure Media Indexer Natural Language Processing technology Catalogue vast content libraries Generate transcripts from multimedia Will support OCR, multiple languages, Search, Deep linking Used by The Washington Post, NASA/JPL, and many others Media Intelligence and Content Enhancements
  • 21. Demo Azure Media Services Indexer (link)
  • 22. Azure Media Content Protection
  • 23. Encrypt Smooth Streaming content with PlayReady protection via common encryption scheme (CENC), and the option of packaging it into HLS or DASH. PlayReady technology allows you to define restrictive licensing agreement to manage user access rights to your media. Source: IDC Successful Cloud Partners 2013 Microsoft PlayReady® Who should use this feature: Premium studio content or high business impact content: Key is encrypted and decryption happens in a secure DRM decoder environment How to choose the best content protection method Encrypt on-the-wire communication using the widely-known symmetric AES encryption algorithm. An authentication service for key is provided. Source: IDC Successful Cloud Partners 2013 AES Clear Key encryption Who should use this feature: Trusted audience or time-valued content: Key is stored in clear format so it can only be used with trusted users or content that has time value associated with it. Used to prevent “man-in-the-middle” attacks
  • 24. Dynamic Packaging and Dynamic Encryption Video sources Smooth Streaming Origin Server Smooth Streaming + PlayReady Encode Dynamic Packaging Static encryption DASH + CENC PlayReady Smooth Streaming + PlayReady Encryption Video sources Multi-bitrates Mp4 Or Smooth Asset Origin Server HLS + AES or PlayReady Smooth Streaming + AES or PlayReady Encode Dynamic Packaging and Encryption Dynamic Encryption DASH + CENC
  • 25. Storage • MP4 Define: Streaming Endpoint PlayReady/ AES Key Services Token verification PlayReady License/ AES Key Customer’s Auth system Content Key Authorization policy (Token/IP/Open, license template) asset Asset Delivery policy (HLS with AES) or (Smooth Streaming with PlayReady) Client SDK Customers Architecture – Dynamic Encryption with AES/PlayReady
  • 26. JWT Token Acquisition When and for how long is it valid? (Unix time, secs since 1st Jan 1970) Who is it intended for?Who issued the token? JWT Tokens can be generated by anyone and require at minimum: Issuer Audience Expiration HMAC SHA-256 (symmetric key) or RSA SHA-256 (asymmetric key, x509 certificate) { "aud":"https://contoso.com/relyingparty", "iss":"https://contoso.accesscontrol.windows.net/", "nbf":1336067338,"exp":1336070938,"nameid":"frankm", "identityprovider":"contoso.com",“role”: [ “admin”, “user” ]} • Header.Claim[.Claim].Signature • Signed with symmetric or assymetric key Not Before {"typ":"JWT","alg":"HS256"} _3dZQ6cmmFgrZ_-VmOLrr7CHne3Xdko_WtE6-Je5Ihw
  • 27. Player Your Backend Authenticate User Give back signed JWT token Symmetric/Asymetric key, used to configure key auth policy with JWT Token Configure Player to use Token AMS Key Service Check token from Auth header/parameters Player plays media & decrypts with key Token Workflow
  • 28. Demo Dynamic encryption for on-demand Playback with Smooth and DASH
  • 29. A No-Code Easy UI way to use Media Services Release http://aka.ms/amse Source code https://github.com/Azure/Azure-Media-Services- Explorer Blog post http://azure.microsoft.com/blog/2014/10/08/managi ng-media-workflows-with-the-new-azure-media- services-explorer-tool
  • 30. Features Assets Upload from local, watch folder, batch, drag & drop Import from Azure, http (S3) Download and export to Azure Information & report, asset files management Processing Encode with AME, AME Advanced, Zenium Call Content Indexer, or any processor Job template, priority, information & report Publish Dynamic encryption License & key delivery setup SAS and Origin locators Playback the content Live Create/Manage/Delete live channels and programs
  • 31. Channel Azure Load Balancer Blob Storage Preview URL Program URL Ingest: Ingest endpoint to accept Live streams with different bitrates (RTMP/smooth streaming) through load balancer Convert ingest data to fMP4 (e.g. RTMP fMP4) Forwards the stream to all preview end-points Preview: Receives stream from Ingest Forwards to Program Exposes Preview URL (for monitoring) Program: Writes it to Blob Storage for Archive/DVR Dynamic package into HLS, Smooth and DASH Dynamic Encryption with AES or Playready
  • 32. Storage FMP4 Streaming Endpoint Client SDK Players Architecture: Live Streaming with dynamic encryption Channel Program Multi-bitrate RTMP/Smooth Preview- monitoring PlayReady license/ AES Key Services Token Authentication PlayReady License/ AES Key Customer’s Auth system
  • 33. Azure Azure Storage Streaming EndpointChannel Ingest URL Preview URL Wirecast RTMP Smooth, DASH or HLS Live Streaming Demo Playback AMS Explorer
  • 34. Demo Live streaming with content protection
  • 35. Content Protection – Hybrid modes 35 Dynamic Encryption PlayReady license delivery Cloud with Azure Media Services Hybrid with your own server with Azure Media Services Hybrid with Azure Media Services with your own server
  • 36. Key Takeaways • Media Services are easy, flexible, and powerful • Customers can reach any device using any protocol • Partner ecosystem: easily build-in or build-on • Content protection across all clients • Pay for what you use, easy to understand billing • Any media, on any device, delivered from the cloud
  • 37. Resources www.azure.com/media Receive $200 Azure Credit when you sign up Content Protection documentation http://msdn.microsoft.com/en-us/library/azure/dn282272.aspx Sample code https://github.com/AzureMediaServicesSamples Mingfei’s blog http://mingfeiy.com/ Email me at yanmf@Microsoft.com

Editor's Notes

  1. Alex – Spikes in amount of content, length of live stream and viewer demand. NBC live streamed 41 feeds: 26 from Sochi and 15 from Stamford for two weeks. After that the infrastructure for that large content load isn’t needed. How can you meet the infrastructure requirements for really big events that may come and go every quarter or twice a year?
  2. By “Media Services”, we mean a collection of components and technologies from Microsoft and third parties that are curated, ready-to-use, and integrated into a single platform for live and on-demand streaming? Cloud Upload and Storage via secure HTTP and fast UDP upload (Azure ExpressRoute, Aspera, Green Button) Encoding via Azure Media Encoders – taking multiple formats Static Packaging to create Smooth Streaming and Apple HLS content Dynamic Packaging Optimize storage by encoding to multi-bitrate MP4 and delivering to all formats on the fly Encryption with PlayReady, or use license delivery from 3rd Party Origin services for streaming with an SLA for bandwidth and failover Caching via Azure CDN or 3rd Party CDN pulling securely from Origins including token-based authentication and geo-blocking features Simple REST API and SDKs for .NET, Java for custom development and integration to back office asset management systems Media Services uploads, encode, packages, encrypts, and delivers content to end-users. Deliver to hundreds of millions of device end points. Target all of today’s most popular client devices types including Windows, Android, and iOS PCs, tablets, smartphones, plus TV, game consoles, and more. Integrated CDN Capability Audio, Video, and Image Encoding. Media Services supports dozens of the most popular source, container and video output formats, click here. Pay-As-You-Go. Pay only for what you use and scale easily and reliably to match usage to actual demand. Robust partner ecosystem. An extensible platform enhanced by well-known third party media technologies that have been optimized for the cloud and integrated for scalability and unified billing. Fast Ingest Options. Upload assets quickly with support for UDP or physically ship hard drives. Dynamic packaging. Optimize storage by encoding to multi-bitrate MP4 and delivering to all formats on the fly – storing only single copy of your content. Content Protection and Secure Delivery. Your assets are well protected with encrypted during upload, while at rest in storage, and during playback with Microsoft PlayReady Digital Rights Management (DRM) or AES encryption.  Stream live content directly through public cloud  Ingest as fMP4, Smooth, or MPTS  Multi-format HD output (Smooth Streaming, HLS and DASH) Global reach via CDN – deploy anywhere quickly Cloud elasticity  No capital expenses  Ramp quickly to global scale  Tear down immediately tform to simplify the creation of end-to-end media solutions.
  3. By “Media Services”, we mean a collection of components and technologies from Microsoft and third parties that are curated, ready-to-use, and integrated into a single platform for live and on-demand streaming? Cloud Upload and Storage via secure HTTP and fast UDP upload (Azure ExpressRoute, Aspera, Green Button) Encoding via Azure Media Encoders – taking multiple formats Static Packaging to create Smooth Streaming and Apple HLS content Dynamic Packaging Optimize storage by encoding to multi-bitrate MP4 and delivering to all formats on the fly Encryption with PlayReady, or use license delivery from 3rd Party Origin services for streaming with an SLA for bandwidth and failover Caching via Azure CDN or 3rd Party CDN pulling securely from Origins including token-based authentication and geo-blocking features Simple REST API and SDKs for .NET, Java for custom development and integration to back office asset management systems Media Services uploads, encode, packages, encrypts, and delivers content to end-users. Deliver to hundreds of millions of device end points. Target all of today’s most popular client devices types including Windows, Android, and iOS PCs, tablets, smartphones, plus TV, game consoles, and more. Integrated CDN Capability Audio, Video, and Image Encoding. Media Services supports dozens of the most popular source, container and video output formats, click here. Pay-As-You-Go. Pay only for what you use and scale easily and reliably to match usage to actual demand. Robust partner ecosystem. An extensible platform enhanced by well-known third party media technologies that have been optimized for the cloud and integrated for scalability and unified billing. Fast Ingest Options. Upload assets quickly with support for UDP or physically ship hard drives. Dynamic packaging. Optimize storage by encoding to multi-bitrate MP4 and delivering to all formats on the fly – storing only single copy of your content. Content Protection and Secure Delivery. Your assets are well protected with encrypted during upload, while at rest in storage, and during playback with Microsoft PlayReady Digital Rights Management (DRM) or AES encryption.  Stream live content directly through public cloud  Ingest as fMP4, Smooth, or MPTS  Multi-format HD output (Smooth Streaming, HLS and DASH) Global reach via CDN – deploy anywhere quickly Cloud elasticity  No capital expenses  Ramp quickly to global scale  Tear down immediately tform to simplify the creation of end-to-end media solutions.