動画やろうぜ! Azure Media Services...

Post on 04-Jun-2020

0 views 0 download

Transcript of 動画やろうぜ! Azure Media Services...

10倍以上のエンゲージメントと視聴時間

多くの優良なユーザーを

引き込む可能性が高いため、大きな広告の機会でもある

インフラへの巨額の投資動画利用の増加

Image Cruz, Cristian (2014) [Electronic] [World Wide Web from

http://www.flickr.com/photos/crystiancruz/14238506068]

FIFA World Cup 2014

24時間サイマルストリーミング配信

専用チューナーやアンテナ取り付けなどが一切不要 加入促進と解約防止の効果。そして違法アップロード対策

ストリーミング=ファイル保存不可権利的に配信不可の番組は差し替え

テレビ編成を楽しむ、リアルタイム型

http://www.microsoft.com/ja-jp/casestudies/fujitv3.aspx

写真→動画変換

写真 動画

Periph

eral

HTTP

Client

SD

Host

SD / iSDIO

SPI

機器による

PIO

Wireless LAN

HTTP

Wireless LAN

HTTP

H.264

HLS

DASH

Azure Media Services

ビジネスでメディアを利用クラウド上に構築

VoD / Live 対応

プラットフォーム

Introducing

Azure Media Services

付加価値を提供する多くのパートナーソリューション

Streaming

CDN

コンテンツ保護

Encode /

Intelligence

取り込み

メディア配信のコア機能をAPI として提供

Azure Media Services

Player

HTTPS とセキュアUDP

RTMPとSmooth によるライブ受信

Live EncoderによるRTPサポート,クラウドでの

Adaptive Bitrate 生成

並列エンコードジョブ

H.264, VC-1などの多様なビデオのサポート

プロ仕様のプレミアムエンコーダー

ビデオからの音声データの抽出

スタビライゼーション

AES 128-bit

Clear Key Encryption と

Microsoft

PlayReady

DRM

ライセンスキー管理ライセンス発行

Adaptive

Bitrate

Streaming:

MPEG-DASH,

Smooth, HLS,

HDS

LiveとVoDの透過的な連携

ラフカット、ビットレート制御

グローバル規模のリーチとキャッシュ

トークン認証ジオブックなどのアクセスコントロール

HTML5ベースのマルチプラットフォーム対応

Unified Java

Script APIによるカスタマイズ

Azure Media Services の役割

• メディア配信のコア機能とインフラを API として提供

• ビルドインパートナーサービスも含めた、SLA とサポート

Ad

Insertion

Contents Management System

(CMS)Analytics

Player

http://aka.ms/amse

Azure Media Services Office 365 Video

Skype Meeting Broadcast

Azure CDNAzure AD

コンテンツ保護

REST API for all platformshttp://msdn.microsoft.com/en-us/library/windowsazure/hh973617.aspx

.NET libraryGitHub: https://github.com/Azure/azure-sdk-for-media-servicesExtensions for .NET SDK: https://github.com/sazure/azure-sdk-for-media-services-extensions

PHP LibraryGitHub: https://github.com/windowsazure/azure-sdk-for-phpOpen Tech blog with demo: http://msopentech.com/blog/2014/01/23/ms-open-technologies-enhances-open-source-php-sdk-windows-azure/

JAVA libraryhttp://www.windowsazure.com/en-us/develop/java/java-homeGitHub: https://github.com/windowsazure/azure-sdk-for-java/

Node.js libraryGitHub: https://github.com/fritzy/node-azure-media

PowerShell cmdletsHow to use: http://www.gtrifonov.com/2013/08/24/how-to-use-windows-azure-powershell-for-media-services/

SI / ISV 議会中継

“Powered by”

Microsoft Azure / Azure Media Services

VODコンテンツ登録/削除

VOD配信期間メタ情報登録

会員管理/ 外部認証API

システム管理

ユーザロール設定

CMSユーザ管理

グループ管理

ログイン画面

CMSサイト

トランスコーディング

サービス提供者

視聴ユーザー

Windows/Mac Android SmartPhone/Tablet iPhone/iPad/iPod Touch

• 管理画面から運用者のユーザ管理・ユーザーロール設定• エンコード前の元素材を管理画面からインジェスト• トランスコードの完了したコンテンツのグループ管理、配信期間を設定• 管理画面から視聴ログを出力

MDS

管理

配信

エンコード

プレイヤー

監視

ログ

On Microsoft Azure

AzureMediaPlayerJWPlayer

HTML5

エンコードサムネイル作成電子透かし埋め込み字幕生成暗号化DRM

Azure Media Services

SmoothStreamingHLSProgressiveDownloadMPEG-DASHLive配信

Azure CDNAzure Media Services

ログインアップロードプロセス通知サムネイル管理電子透かし管理エンコード品質編集コンテンツ管理使用料管理

Cloud Service

ログ収集API

Event HubsService Bus

SQL DatabaseAzure storageDocument DB

ログ管理

DB監視Role監視Storage監視

Cloud Service

議会映像Live/VOD サイト

Azure Media用CMS

H.264

Origin Server

H.264

映像VOD用編集議会映像CMS

H.264 Encoder 映像/音声議場/庁舎

VPN

Azure Media Service

Live

Azure Media Service

VODMicrosoft Azure

※ multiregion

※ multiregion

※各地自治体

Encoder¥202/GB より

1 2 3

Encoder Performance

2x 高速

4-5x 高速

¥7,038/月 ¥14,178/月 ¥40,698/月

ご参考: comparison between

Encoder and Premium encoder

Encode の選択肢

1) Encode

コーデック / ワークフロー

2) ジョブ制御: 同時実行数と高速化

Premium Encoder

*preview¥202/GB より

Encode /

Intelligence

Multi-Bitrate mp4

Streaming

Endpoint

HLS

Smooth

Streaming

Encode

Multi-Bitrate mp4

Streaming Endpoint

HLS

Smooth

Streaming

Encode

従来

Dynamic Packaging

入力フォーマット: mp4, Smooth Streaming

出力フォーマット: Smooth Streaming, HLS (v4 and v3), MPEG-DASH

占有ストリーミングユニット: 1以上

DASH

Streaming

CDN

Storage

事前に定義

Streaming

EndpointHLS + AES (http)

PlayReady/ AES Key Services

Token

verification

PlayReady License/

AES Key

認証

キー設定認証設定

(Token/IP/Open)

asset

暗号化設定

(HLS with AES) / (Smooth Streaming with PlayReady)

Client SDK

Streaming

CDN

http://.../manifest

6Mbps

3Mbps

1Mbps

500kbps

250kbps

(filter=ott)

6Mbps

3Mbps

1Mbps

(filter=mobile)

1Mbps

500kbps

250kbps

Streaming

CDN

DASH

Smooth

Streaming

HLSContent

Protection

Dynamic Packaging

Dynamic Encryption

Dynamic Manifest

Azure Media Player

http://aka.ms/azuremediaplayer

Player

Unified CSS UI

Unified JS Interface

Tech order

DASH player

(HTML5 EME/MSE)

Flash player

Silverlight player

Native HTML5

(Built in browser)

プラットフォーム / デバイスの機能情報を取得

“TechOrder” に応じてPlayer を選択

Dynamic Packaging のURLを設定

Dynamic Packaging /

Dynamic Encryption

Player

Browser Clear Content AES Content PlayReady Content

IE 11 DASH DASH DASH

Chrome 37 DASH DASH Smooth

iOS Safari HLS HLS n/a

Android 4.4 Chrome DASH DASH n/a

Firefox Smooth Smooth Smooth

IE 10- Smooth Smooth Smooth

WP IE 11 DASH DASH n/a

Safari 8 on OSX Yosemite Smooth Smooth Smooth

Safari on OSX Lion Smooth Smooth Smooth

Player

<head>

<link href=“//amp.azure.net/libs/amp/1.0.0/skins/amp-

default/azuremediaplayer.min.css" rel="stylesheet" type="text/css">

<script src="//amp.azure.net/libs/amp/1.0.0/azuremediaplayer.min.js"></script>

<script>

amp.options.flashSS.swf =

'//amp.azure.net/libs/amp/1.0.0/techs/StrobeMediaPlayback.2.0.swf';

amp.options.flashSS.plugin =

'//amp.azure.net/libs/amp/1.0.0/techs/MSAdaptiveStreamingPlugin-osmf2.0.swf';

amp.options.silverlightSS.xap =

'//amp.azure.net/libs/amp/1.0.0/techs/SmoothStreamingPlayer.xap';

</script>

</head>

Player

<body>

<video id="azuremediaplayer" class="azuremediaplayer

amp-default-skin amp-big-play-centered" controls autoplay

width="640" height="400" poster="thumbnail.jpg"

data-setup='{"nativeControlsForTouch": false}'>

<source src=“<URI>/manifest"

type="application/vnd.ms-sstr+xml" />

</video>

</body>

Player

new Uri ”{MPEG-DASH or HLS}”

Azure

AzureStorage Streaming EndpointChannel

取り込みURL

PreviewURL

Encoder

RTMP

DASH, HLS,

Smooth

Azure Media Player

Azure Portal

Video Editor

Streaming

CDN

取り込み URL ライブエンコーダーに設定

配信 URL

この10分間は削除される

Program #3

Program #2

Program #1

Streaming

CDN

guid /ingest.isml

発行URL Syntax:

http://{Media Services Account 名}.

origin.mediaservices.net/{guid}/{filename}.ism/Manifest

https://msdn.microsoft.com/en-us/library/dn891518(v=azure.10).aspx

Streaming

CDN

安定稼働のために

Azure Media Services

Channel Streaming Endpoint

Azure CDN

Pro

gra

m

Streaming

CDN

Streaming

CDN

guid /ingest.isml

発行URL Syntax:

http://{Media Services Account 名}.

origin.mediaservices.net/{guid}/{filename}.ism/Manifest

https://msdn.microsoft.com/en-us/library/dn891518(v=azure.10).aspx

Channel

取り込みURL

Encoder RTMP / Smooth

Multi-Bitrate

オンプレミスで全て

Channel

プレビューURLRTMP /

RTP / Smooth

Single-Bitrate

オンプレミス: 最小限のエンコード

クラウド: 付加的エンコード

Adaptive Bitrate Streaming をクラウド上で

プレビューURL

取り込みURL E

nco

der

Encoder

Streaming

CDN

常時設置の場所は、まだいい…

Encode /

Intelligence

<video

src=“foo.mp4”>

<track id=“jpn” src=“日本語.ttml” label=“日本語 default />

<track id=“eng” src=“英語.ttml” label=“英語 />

</video>

Encode /

Intelligence

http://research.microsoft.com/en-us/um/redmond/projects/hyperlapseapps/

Encode /

Intelligence

http://azure.microsoft.com/blog/2015/05/14/announcing-hyperlapse-for-azure-media-services

Media Intelligence

初めての Azure Media Services を使った動画配信 [MVA] http://www.microsoftvirtualacademy.com/training-courses/ams-basics

Azure Media Services 製品サイト http://azure.microsoft.com/ja-jp/services/

media-services/ http://azure.microsoft.com/ja-jp/documentation/articles/media-

services-overview/

API ドキュメント https://msdn.microsoft.com/ja-jp/library/hh973629

Azure Media Services Explorer https://github.com/Azure/Azure-Media-Services-Explorer

Azure Media Player http://amsplayer.azurewebsites.net/azuremediaplayer.html http://amp.azure.net/libs/amp/latest/docs/

Azure CDN http://azure.microsoft.com/ja-jp/services/cdn/

Office Developer Center http://dev.office.com/

評価のためのご参考資料