Building video application on windows 8 with Windows Azure Media Services
-
Upload
mingfei-yan -
Category
Technology
-
view
1.262 -
download
0
Transcript of Building video application on windows 8 with Windows Azure Media Services
mingfeiy
Media Industry trend
What Microsoft media platform offers
Windows Azure Media Services
Microsoft Media Platform Player framework for Windows 8
Smooth streaming support
Closed caption
Advertising (VAST and VMAP)
Sample Windows 8 applications
Faster Internet connection increases the popularity of streaming
“For 1st time, Online movie viewing in the U.S. will exceed
digital video disc and Blu-ray use this year” - IHS
1.4
2.6
3.4
2.4
ONLINE VIEWING DVD AND BLU-RAY
2011 2012
More video-capable smart devices
“Mobile video traffic exceeded 50 percent for the first time in 2011.
Two-thirds of the world's mobile data traffic will be video by 2016.“
Resources provided by Cisco white paper
Http-based Adaptive Bitrate Streaming
Define good view experience
Watch online videos anywhere, anytime
on any devices
They want videos to be streamed without
interruption in the highest resolution possible
Http-based Adaptive Streaming
200 kbps
2 mbps
Video
Http server
HTTP
Chunk Size: 2 sec video
it allows the stream to actually adapt the video experience to the
quality of the network and the device’s CPU.
Encoding with
Multiple Bit Rates
5 mbps
Http-based Adaptive Streaming
Why this is good?
Best viewing experience
Real cost cutting
Scalability
Where you watch How much video loaded
Dynamic Adaptive Streaming over HTTP (DASH)
Also called MPEG-DASH
Smooth Streaming Http Live Streaming Http Dynamic Streaming
Currently there are three major streaming formats (all takes H.264 as input)
Rich Internet Application(RIA) replaced media player plugins
Plugin-free
Will HTML5 be the cross browser, cross platform solution?
The Status of HTML5 video
Resources provided by longtail video
Apple iOS implemented Http Live Streaming but it is not the standard
No Digital Right management (DRM) solution for HTML5
Private
Media Source
Interface
PLAYBACK PIPELINE
Application with Smooth Streaming Source
url : …/manifest
Smooth Streaming
Extension SDK
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
• C++ Modern style applications
HTML5 player for browser
Silverlight & Windows Phone player
Well established player framework
Plugin Architecture – import what you need
Smooth Streaming (VOD and live)
Closed captioning
Advertising
LoggingProgressive Video
Player styling
DVR controls
PlayReady DRM
Analytics
Offline
Multiple Audio MPEG-DASH
Trick Play
SMPTE-TT/WebVTT
Linear Ads: presented before, between or after video content.
Linear Ad takes over the full view of video.
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
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
VAST (Video Ad Serving Template) 3.0 / 2.0
what
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>
<Creative id="video" sequence="0" AdID=""><Linear>
<Duration>00:00:32</Duration><TrackingEvents>...</TrackingEvents><VideoClicks>...</VideoClicks><MediaFiles>
<MediaFile apiFramework="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>
VAST (Video Ad Serving Template) 3.0 / 2.0
VMAP (Digital Video Multiple Ad Playlist) 1.0
Recommended by IAB
It is very useful when content owner doesn’t have control over player
Used by content owner to describe ad breaks
Timing for each break
How many breaks are available
What types of ads
How many are allowed in each break
VMAP (Digital Video Multiple Ad Playlist) 1.0<vmap:VMAP xmlns:vmap="http://www.iab.net/vmap-1.0" version="1.0">
<vmap:AdBreak breakType="linear" breakId="mypre" timeOffset="start">
<vmap:AdSource allowMultipleAds="true" followRedirects="true" id="1">...</
vmap:AdSource>
<vmap:TrackingEvents>...</vmap:TrackingEvents>
</vmap:AdBreak>
<vmap:AdBreak breakType="linear" breakId="myrelative" timeOffset="5%">
<vmap:AdSource allowMultipleAds="true" followRedirects="true" id="2">...</
vmap:AdSource>
<vmap:TrackingEvents>...</vmap:TrackingEvents>
</vmap:AdBreak>
<vmap:AdBreak breakType="linear" breakId="myabsolute" timeOffset="00:00:15.001">
<vmap:AdSource allowMultipleAds="true" followRedirects="true" id="3">...</
vmap:AdSource>
<vmap:TrackingEvents>...</vmap:TrackingEvents>
</vmap:AdBreak>
……
</vmap:VMAP>
http://playerframework.codeplex.com/releases/view/92745
http://visualstudiogallery.msdn.microsoft.com/04423d13-3b3e-4741-a01c-1ae29e84fea6?SRC=Home
http://visualstudiogallery.msdn.microsoft.com/e02ccac7-f3eb-4b53-b11a-c657d5631483
http://playerframework.codeplex.com/releases/view/92745
https://www.windowsazure.com/en-us/home/features/media-services/