Dynamic Encryption Live encoding and streaming

advertisement
presenta
Gestire video live e ondemand su Azure
Vito Flavio Lorusso
www.wpc2015.it – info@wpc2015.it - +39 02 365738.11 - #wpc15it
1
What is Microsoft Azure Media Services
Video-on-demand workflow
Agenda
Encoding features
Dynamic packaging
Media intelligence
Azure Media Player
Content Protection (AES and DRM)
Dynamic Encryption
Live encoding and streaming workflow
How does it work
Clear stream and encrypted live stream
www.wpc2015.it – info@wpc2015.it - +39 02 365738.11
2
Key features of Azure Media Services
Fast, parallel writes,
secure and protected
both during transit and
while at rest in the cloud.
Secure HTTP and fast
UDP upload for files
RTMP Ingest for Live
(Newtek, Wirecast) or
send MPEG-TS/RTP
streams direct.
Elastically cloud scalable
to handle 100s or even
1000s of parallel tasks,
multiple Video and Audio
Formats (H.264, WMV,
VC-1, Dolby Digital, AAC,
etc), create multi-bit rate
MP4s.
Cloud Transcoding for
Live Streams now
available, multiple bit
rates up to 1080p.
Unique capabilities
including indexing of
audio tracks in video files,
Image Recognition, Facial
Detection.
Speech recognition
engine as a platform for
search and
recommendation
applications.
Dynamic (on-the-fly) AES
128-bit Clear Key
Encryption or fullyfeatured Microsoft
PlayReady Digital Right
Management.
Both with options to host
license keys in the cloud.
Use high performant
Adaptive Bit Rate
streaming protocols –
HLS, Smooth, HDS,
MPEG-DASH – with
dynamic packaging to
easily stream your Live
and VOD programming
to any device.
Automatic Live-to-VOD
transition to support
Cloud DVR scenarios.
Caching and Geographic
Reach via Azure CDN or
3rd Party CDN pulling
securely from Origins.
Can also utilize tokenbased authentication and
geo-blocking features.
Deliver to all of today’s
most popular client
devices types including
PCs (Windows and Mac
OS), iOS, Android, Smart
TVs, game consoles, and
more.
Player options including
Microsoft’s new Azure
Media Player or use
partner client such as
Deltatre, JW Player, or
build your own
Ingest/Store
On-Demand
Encode
Encrypt
Publish
Stream/Deliver
www.wpc2015.it – info@wpc2015.it - +39 02 365738.11 - #wpc15it
4
Step 1: Ingest Content
• Different options of Ingesting a Mezzanine Asset




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
Multiple storage accounts enabled to manage your media asset
Step 2: Encode, Package or Encrypt
Step 2: Encode, Package or Encrypt
Broadcast/Studio quality video and audio formats supported via Azure Media Encoder and
Azure Media Premium Encoder
• 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 (HEVC coming soon)
• Packages to MP4, Smooth Streaming, Http-Live-Streaming
• Encrypts with PlayReady, Common Encryption, AES
•
Pay only for what you use, charged per Output GB
•
Manage via Azure Portal, API, or Azure Explorer Desktop Tool
Multiple options for encoding
Encoder
Premium Encoder
comparison between Encoder and
Premium encoder
Encoder Performance
6
4-5x faster
5
4
3
2x faster
2
1
0
Basic
Standard
Premium
Premium Workflow Designer Tool
AMS Hyperlapse feature for UGC
Step 3: Deliver Content
Managed streaming service… it just works!
Guaranteed bandwidth
Auto recovery, redundancy and failover
Multiple origins support and scale independently
Azure and 3rd party CDN support
IP Whitelisting or Akamai G2O auth
Dynamic packaging
Traditional Encode and Package
HLS
Encode
Video sources
Multi-bitrates Mp4
Dynamic Packaging
Smooth
Streaming
Origin Service
Origin Service
Dynamic
Packaging
Encode
HLS
Smooth
Streaming
Video sources
Multi-bitrates Mp4
DASH
Input format: Mp4 or Smooth Streaming
Output format: Smooth Streaming , Http-Live-Streaming (v4 and v3), MPEG-DASH
You need to have at least 1 reserved streaming unit to enable dynamic packaging!
Formats
Streaming Locator
http{media services account name}.origin.mediaservices.net/{locator
ID}/{filename}.ism/Manifest(format=mpd-time-csf)
Format
Syntax
Smooth Streaming
Smooth Streaming 2.0 manifest (legacy manifest)
(format=fmp4-v20)
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)
•
•
•
A Free 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
Cross platform
“just works” experience
Aka.ms/azuremediaplayer
Unified CSS UI
Unified JS Interface
Tech order
A DASH player
(HTML5 EME/MSE)
A flash player
A Silverlight player
Native HTML5
(Built in browser)
•
•
•
Access Platform/device capability
Choose player based on tech order
Pick up right streaming URLs from
AMS
Playback (VOD, live, protected content)
Media Intelligence: 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
www.wpc2015.it – info@wpc2015.it - +39 02 365738.11
16
•
•
•
•
•
Secure Upload and Secure Storage Options
Dynamic Encryption Options for Content Streaming
• AES-128 Clear Key
• Microsoft PlayReady
• Google Widevine
Hosted License for Key Delivery
Token-based Authentication models and
Integration with Active Directory
Diverse playback options
www.wpc2015.it – info@wpc2015.it - +39 02 365738.11 - #wpc15it
17
Dynamic Encryption with AES/PlayReady
Define:
Authorization policy
Content Key
asset
(Token/IP/Open, license template)
Customers
Asset Delivery policy
(HLS with AES) or
(Smooth Streaming with PlayReady)
Streaming
Endpoint
Storage
•
MP4
PlayReady/ AES Key Services
Token
verification
PlayReady License/
AES Key
Client SDK
Customer’s
Auth system
Live encoding and streaming
Ingest
Transform
Archive
Encrypt
Deliver
www.wpc2015.it – info@wpc2015.it - +39 02 365738.11 - #wpc15it
19
How does live encoding and streaming work?
Preview URL
Ingest URL
Input devices
Preview
RTMP
RTP
Smooth Streaming
Live Encoding
Azure Media Services
Live channel
•
•
•
Ingest endpoint to accept Live streams
Convert ingest data to fMP4 (e.g. RTMP fMP4)
Forwards the stream to live encoding or preview end-points
•
Encode video into multi-bitrates
How does live encoding and streaming work?
Preview URL
Storage
(fmp4)
Live channel
•
•
•
Receives stream from Ingest
Forwards to Program
Exposes Preview URL (for monitoring)
Dynamic Packaging
Dynamic Encryption
Input devices
Program
Program
Ingest URL
Preview
RTMP
RTP
Smooth Streaming
Live Encoding
Azure Media Services
CDN
Live stream
(Program URLs)
Streaming endpoints
•
Writes it to Blob Storage for Archive/DVR
Live Streaming with Content Protection
Preview- monitoring
Players
Storage
FMP4
Multi-bitrate
RTMP/Smooth
Channel
Program
Streaming
Endpoint
PlayReady license/ AES Key Services
Token
Authentication
Client SDK
PlayReady
License/ AES Key
Customer’s Auth system
www.wpc2015.it – info@wpc2015.it - +39 02 365738.11
23
www.wpc2015.it – info@wpc2015.it - +39 02 365738.11
24
Q&A
Domande e Risposte
www.wpc2015.it – info@wpc2015.it - +39 02 365738.11 - #wpc15it
25
Live streaming:
https://channel9.msdn.com/Events/Ignite/
2015/BRK3731
Developer deep dive:
Link
consigliati
https://channel9.msdn.com/Events/Build/2
015/2-766
Documentation:
https://azure.microsoft.com/enus/documentation/services/mediaservices/
www.wpc2015.it – info@wpc2015.it - +39 02 365738.11 - #wpc15it
26
OverNet Education
info@overneteducation.it
www.overneteducation.it
Tel. 02 365738
Contatti
OverNet
Education
@overnete
www.facebook.com/OverNetEducation
www.linkedin.com/company/overnet-solutions
www.wpc2015.it
www.wpc2015.it – info@wpc2015.it - +39 02 365738.11 - #wpc15it
27
Download