SlideShare ist ein Scribd-Unternehmen logo
1 von 93
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS 公式 Webinar
https://amzn.to/JPWebinar
過去資料
https://amzn.to/JPArchive
Solutions Architect 三平 悠磨
2020/09/30
Amazon Kinesis Video Streams
サービスカットシリーズ
[AWS Black Belt Online Seminar]
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
⾃⼰紹介
• 三平 悠磨
• IoT Specialist SA
• 経歴
• 会話AI開発
• 家庭⽤ロボット開発
• 好きなサービス
• AWS IoT Greengrass
• Amazon Kinesis Video Streams
• Twitter: @yu_ma_m
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Black Belt Online Seminar とは
「サービス別」「ソリューション別」「業種別」のそれぞれのテーマに分かれて、アマゾ
ン ウェブ サービス ジャパン株式会社が主催するオンラインセミナーシリーズです。
質問を投げることができます︕
• 書き込んだ質問は、主催者にしか⾒えません
• 今後のロードマップに関するご質問は
お答えできませんのでご了承下さい
Twitter ハッシュタグは以下をご利⽤ください
#awsblackbelt
① 吹き出しをクリック
② 質問を⼊⼒
③ Sendをクリック
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
内容についての注意点
• 本資料では2020年09⽉30⽇時点のサービス内容および価格についてご説明しています。最新の
情報はAWS公式ウェブサイト(http://aws.amazon.com)にてご確認ください。
• 資料作成には⼗分注意しておりますが、資料内の価格とAWS公式ウェブサイト記載の価格に相
違があった場合、AWS公式ウェブサイトの価格を優先とさせていただきます。
• 価格は税抜表記となっています。⽇本居住者のお客様には別途消費税をご請求させていただきま
す。
• AWS does not offer binding price quotes. AWS pricing is publicly available and is
subject to change in accordance with the AWS Customer Agreement available at
http://aws.amazon.com/agreement/. Any pricing information included in this
document is provided only as an estimate of usage charges for AWS services based on
certain information that you have provided. Monthly charges will be based on your
actual use of AWS services, and may vary from the estimates provided.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本⽇のアジェンダ
• Amazon Kinesis Video Streams の概要
• Amazon Kinesis Video Streams - メディア形式で収集
1. メディアの取り込み
2. メディアの保存とインデックス
3. メディアの再⽣
4. メディアの分析
• Amazon Kinesis Video Streams – WebRTC
• Amazon Kinesis Video Streams を活⽤した構成例
• サービス利⽤上のポイント
• まとめ
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本⽇のアジェンダ
• Amazon Kinesis Video Streams の概要
• Amazon Kinesis Video Streams - メディア形式で収集
1. メディアの取り込み
2. メディアの保存とインデックス
3. メディアの再⽣
4. メディアの分析
• Amazon Kinesis Video Streams – WebRTC
• Amazon Kinesis Video Streams を活⽤した構成例
• サービス利⽤上のポイント
• まとめ
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT における動画・⾳声のユースケースの例
ペットカメラ、⾒守りカメラ
インターホン
スマートスピーカー、⽂字起こしシステム
ドローン、ロボット
監視カメラ、ドライブレコーダー
スマートファクトリー
デバイスからメディア(動画・⾳声)を収集して、再⽣・分析に利⽤する
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT メディアユースケースにおける技術領域
コネクテッドデバイス
• デバイスとの通信
• 遠隔制御
• デバイスの監視・管
理
映像伝送・保存
• クラウドへの送信
• メディアの⻑期保存
• ライブ再⽣・オンデ
マンド再⽣
• メディアのエクス
ポート
分析・機械学習
• フレームの取り出し
• 画像認識
• 動画分析
アプリケーション連携
• モバイル・ウェブア
プリ
• ユーザとデバイスの
紐付け
• ユーザや管理者への
通知
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT メディアユースケースにおける課題
コネクテッドデバイス
• デバイスとの通信
• 遠隔制御
• デバイスの監視・管
理
映像伝送・保存
• クラウドへの送信
• ライブ再⽣・オンデ
マンド再⽣
• 動画のエクスポート
• 動画の⻑期保存
分析・機械学習
• フレームの取り出し
• 画像認識
• 動画分析
アプリケーション連携
• モバイル・ウェブア
プリ
• ユーザとデバイスの
紐付け
• ユーザや管理者への
通知
スケーラビリティ・セキュリティ
デバイス向けソフト
ウェア開発
動画ストリーミング
の専⾨知識
機械学習や画像処理
の専⾨知識
アプリケーション開
発
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT メディアユースケースにおける課題
コネクテッドデバイス
• デバイスとの通信
• 遠隔制御
• デバイスの監視・管
理
映像伝送・保存
• クラウドへの送信
• ライブ再⽣・オンデ
マンド再⽣
• 動画のエクスポート
• 動画の⻑期保存
分析・機械学習
• フレームの取り出し
• 画像認識
• 動画分析
アプリケーション連携
• モバイル・ウェブア
プリ
• ユーザとデバイスの
紐付け
• ユーザや管理者への
通知
スケーラビリティ・セキュリティ
デバイス向けソフト
ウェア開発
動画ストリーミング
の専⾨知識
機械学習や画像処理
の専⾨知識
アプリケーション開
発
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT メディアユースケースにおける課題
コネクテッドデバイス
• デバイスとの通信
• 遠隔制御
• デバイスの監視・管
理
映像伝送・保存
• クラウドへの送信
• ライブ再⽣・オンデ
マンド再⽣
• 動画のエクスポート
• 動画の⻑期保存
分析・機械学習
• フレームの取り出し
• 画像認識
• 動画分析
アプリケーション連携
• モバイル・ウェブア
プリ
• ユーザとデバイスの
紐付け
• ユーザや管理者への
通知
スケーラビリティ・セキュリティ
デバイス向けソフト
ウェア開発
動画ストリーミング
の専⾨知識
機械学習や画像処理
の専⾨知識
アプリケーション開
発
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT メディアユースケースにおける課題
コネクテッドデバイス
• デバイスとの通信
• 遠隔制御
• デバイスの監視・管
理
映像伝送・保存
• クラウドへの送信
• ライブ再⽣・オンデ
マンド再⽣
• 動画のエクスポート
• 動画の⻑期保存
分析・機械学習
• フレームの取り出し
• 画像認識
• 動画分析
アプリケーション連携
• モバイル・ウェブア
プリ
• ユーザとデバイスの
紐付け
• ユーザや管理者への
通知
スケーラビリティ・セキュリティ
デバイス向けソフト
ウェア開発
動画ストリーミング
の専⾨知識
機械学習や画像処理
の専⾨知識
アプリケーション開
発
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Kinesis Video Streams および AWS サービスで
カバーできる技術領域
コネクテッドデバイス
• デバイスとの通信
• 遠隔制御
• デバイスの監視・管
理
映像伝送・保存
• クラウドへの送信
• ライブ再⽣・オンデ
マンド再⽣
• 動画のエクスポート
• 動画の⻑期保存
分析・機械学習
• フレームの取り出し
• 画像認識
• 動画分析
アプリケーション連携
• モバイル・ウェブア
プリ
• ユーザとデバイスの
紐付け
• ユーザや管理者への
通知
Amazon Kinesis
Video Streams
AWS IoT Core Amazon S3 Amazon
Rekognition Video
Amazon SageMaker Amazon Cognito Amazon SNSAWS SDK 各種
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Kinesis Video Streams - 2種類のストリーミング⽅法
数百万台規模のデバイスからのセキュ
アなデータ取り込み
• 時系列でインデックスされたメディア
データの保存とAPI経由での検索
• カメラデバイス向けのSDK
• メディアの再⽣と機械学習サービスとの
統合
WebRTC によるリアルタイムの双⽅向
メディアストリーミング
• シグナリング、STUN、TURN のマネージ
ドサービス
• 組み込みデバイス向けSDK、ウェブ・モ
バイルアプリ向けのSDK
Amazon
Rekognition
Video
Amazon
SageMaker
HLS and
DASH
Playback
Custom
Video
Processing
Third-Party
Partners
Amazon Kinesis
Video Streams
シグナリング
TURN
STUN
双方向のメディア・データのストリーミング
WebRTCメディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Kinesis Video Streams の使い分け
メディア形式で収集 WebRTC
動画データのクラウド保存
機械学習サービスでの分析
できる できない
双⽅向ストリーミング できない できる
ライブ再⽣時のレイテンシ 2秒〜 1秒未満
カメラデバイスからの
ストリーミングに利⽤する
SDK
Producer SDK WebRTC SDK
WebRTCメディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本⽇のアジェンダ
• Amazon Kinesis Video Streams の概要
• Amazon Kinesis Video Streams - メディア形式で収集
1. メディアの取り込み
2. メディアの保存とインデックス
3. メディアの再⽣
4. メディアの分析
• Amazon Kinesis Video Streams – WebRTC
• Amazon Kinesis Video Streams を活⽤した構成例
• サービス利⽤上のポイント
• まとめ
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
アーキテクチャの概要
Amazon Kinesis
Video Streams
ストリーム
1. メディアの
取り込み
ストリーム
2. メディアの保存
とインデックス
プロデューサー
コンシューマー
3. メディアの
再⽣
Amazon Rekognition
Video
Amazon SageMakerAmazon ECS
Amazon EC2
4. メディアの
分析
メディア形式で収集
(内部の)
Amazon S3
時間ベースの
インデックス
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
スケールアウトの単位
• 基本的にプロデューサーとストリームは1対1の関係
• ストリームの単位で何百万ものデバイスにスケール
• PutMedia APIに呼出頻度や帯域幅の制限があるが、
それ以外にストリームのキャパシティ管理は不要
• デバイスのプロビジョニング時に、CreateStream
APIによりストリームを動的に作成することを推奨
プロデューサー ストリーム
• ストリームとコンシューマーは1対Nの関係だが、
GetMedia API の同時接続数には制限がある
• コンシューマーは処理内容の役割ごとに分ける
• コンシューマー単位での分散処理はせず、
分散処理が必要であればフレーム単位などで考える
• 同じ理由で、不特定多数への動画配信にも向かない
PutMedia
PutMedia
PutMedia
GetMedia
GetMedia
GetMediaForFragmentList
コンシューマー
分散処理
再⽣
分析A
分析B
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
コンテナ と コーデック
動画データのフォーマット
n コンテナ(コンテナフォーマット)
• 映像データと⾳声データなどをまとめて動画データ
にするためのファイルフォーマット(⼊れ物に相当)
• ⼊れ物なので、画質や⾳質には影響しない
• 代表的なコンテナとして、MP4、AVI、MOV、MKV な
どがある
n コーデック
• コンテナに⼊れるデータを圧縮するためのアルゴリズム
• 映像データや⾳声データにそれぞれコーデックがある
• コンテナによって使⽤可能なコーデックが決まっている
• 代表的な映像コーデックとして H.264、H.265、VP8 な
どがある
コンテナ
MP4/AVI/MOV/MKVなど
映像データ
映像コーデック
H.264/H.265/
VP8/VP9/AV1/
Motion JPEG
など
⾳声データ
⾳声コーデック
MP3/AAC/
G.711/Vorbis/
FLAC
など
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本⽇のアジェンダ
• Amazon Kinesis Video Streams の概要
• Amazon Kinesis Video Streams - メディア形式で収集
1. メディアの取り込み
2. メディアの保存とインデックス
3. メディアの再⽣
4. メディアの分析
• Amazon Kinesis Video Streams – WebRTC
• Amazon Kinesis Video Streams を活⽤した構成例
• サービス利⽤上のポイント
• まとめ
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
メディアの取り込み
メディアの取り込み⽅法
• PutMedia API による取り込み
• Amazon Kinesis Video Streams Producer SDK の
利⽤ (C, C++, Java, Android)
メディアの取り込み経路
• カメラデバイスからの直接のストリーミング
• カメラと同⼀ネットワーク内のプロキシやゲー
トウェイ経由での取り込み
https://docs.aws.amazon.com/ja_jp/kinesisvideostreams/latest/dg/producer-sdk.html
Amazon Kinesis
Video Streams
メディア形式で収集
ゲートウェイ
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
PutMedia API
POST /putMedia HTTP/1.1
x-amzn-stream-name: StreamName
x-amzn-stream-arn: StreamARN
x-amzn-fragment-timecode-type: FragmentTimecodeType
x-amzn-producer-start-timestamp: ProducerStartTimestamp
Payload
MKVフォーマットのフラグメントをPayloadとして、HTTPS POSTする
• APIリクエストに必要なパラメータは HTTPヘッダに⼊れて送信する
• PutMedia API は Long Running Sessionのため、セッションを張って、
そのセッションに対してフラグメントを送信する
Request
https://docs.aws.amazon.com/ja_jp/kinesisvideostreams/latest/dg/API_dataplane_PutMedia.html
HTTP/1.1 200
Payload
Response
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
デモアプリケーション
• アプリケーション開発者向け
• ターゲットOSにインストールしてそのまま利⽤
• ハードウェアやビデオソースを全てサポートする
わけではないが、簡単に実⾏可能
Producer SDK
• カメラから取得した動画を統合したい開発者向け
• 柔軟にカスタマイズが可能な、オブジェクト指向
の統合フレームワークを提供
コア機能を提供するライブラリ
• (カメラ)メーカー向け
• 様々なハードウェア環境に合わせて、ファーム
ウェアレベルで動画ソースとの統合を実装可能
• 他のライブラリとは完全に独⽴
Platform Independent Layer
(Platform Independent Codebase - C⾔語)
Wrapper Layer
(Producer SDK C⾔語/C++/Java)
Linux AndroidWindows
メディア形式で収集
Amazon Kinesis Video Streams Producer SDK
デバイス上のハードウェアメディアパイプラインと統合するためのSDK
https://docs.aws.amazon.com/ja_jp/kinesisvideostreams/latest/dg/producer-sdk.html
macOS
Gstreamer プラグイン
Docker イメージ
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
参考︓GStreamer とは
• 動画プレイヤーのベースとなる部分などに使われており、動画のストリー
ミング配信、動画の変換・合成などの処理を実装できる
• 核となる部分以外は、プラグインのライブラリ群で構成されており、様々
な通信プロトコルやコーデックに対応している
• Producer SDK C++ には、GStreamer で Amazon Kinesis Video Streams を
使⽤するためのプラグイン・デモアプリケーションが含まれている
オープンソースのマルチメディアアプリケーション開発⽤フレームワーク
https://gstreamer.freedesktop.org/
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Producer SDK のデモアプリケーション
Producer SDK C++
kvs_gstreamer_sample
下記の映像ソースから Amazon Kinesis Video
Streams に動画を送信
• USB等で接続したWebカメラ
• RTSP 接続のネットワークカメラ
• 既存の動画ファイル (MKV, MP4, MPEG_TS)
C Producer
KvsAacAudioVideoStreamingSample
H.264の映像フレーム、AAC のオーディオサ
ンプルを読んで Amazon Kinesis Video Streams
に送信
KvsVideoOnlyStreamingSample
上記の映像のみのサンプル
メディア形式で収集
https://github.com/awslabs/amazon-kinesis-video-streams-
producer-sdk-cpp
Amazon Kinesis
Video Streams
Producer SDK C++
サンプルアプリ
GStreamer
https://github.com/awslabs/amazon-kinesis-video-streams-producer-c
Amazon Kinesis
Video Streams
C Producer
サンプルアプリ
USBカメラ / ネット
ワークカメラ
動画ファイル
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Kinesis Video Streams Demos リポジトリ
RTSP demo application
Producer SDK C++ を利⽤して、RTSP 接
続可能なネットワークカメラから
Amazon Kinesis Video Streams に動画を
送信する Docker アプリケーション
Browser-based Ingestion
ウェブブラウザからWebカメラの映像を
Amazon Kinesis Video Streams にアップ
ロード (Chrome のみ)
メディア形式で収集
https://github.com/aws-samples/amazon-kinesis-video-streams-demos
Amazon Kinesis
Video Streams
RTSP
ネットワークカメラ
Docker
Producer SDK C++
サンプルアプリ
GStreamer
各種 SDK をベースにしたユースケース別のサンプルやデモを掲載
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本⽇のアジェンダ
• Amazon Kinesis Video Streams の概要
• Amazon Kinesis Video Streams - メディア形式で収集
1. メディアの取り込み
2. メディアの保存とインデックス
3. メディアの再⽣
4. メディアの分析
• Amazon Kinesis Video Streams – WebRTC
• Amazon Kinesis Video Streams を活⽤した構成例
• サービス利⽤上のポイント
• まとめ
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
メディアデータに関する主要なコンセプト
コンセプト名 説明
フラグメント 短時間のフレームをまとめたシーケンスであり、固有の番号が割り当てられる。
フラグメントに属するフレームは、他のフラグメントのフレームに依存しない。
チャンク
ストリーム内でのデータの格納形式。
フラグメント、プロデューサーから送信されたメディアメタデータのコピー、
さらにはフラグメント番号、サーバー側とプロデューサー側のタイムスタンプ
などの Amazon Kinesis Video Streams 固有のメタデータで構成される。
フレーム
動画のもとになる1コマの静⽌画像で、フラグメントに含まれる。
必要に応じてコンシューマー側でデコードして取り出し、画像解析等に利⽤する。
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
フラグメントとフレーム
動画
フラグメント
フレーム
フラグメント⻑*
フラグメントに属するフレームは、
他のフラグメントのフレームに依存しない
* フラグメント⻑︓1-10秒の間で、プロデューサー側にて設定
フラグメント⻑* フラグメント⻑* フラグメント⻑*
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
フラグメントとチャンク
プロデューサー
コンシューマー
GetMedia
GetMediaForFragmentList
PutMedia
フレーム
フラグメント
フラグメント3 フラグメント2 フラグメント1
フラグメント1
Kinesis Video
Pre メタデータ
Kinesis Video
Post メタデータ
メディア
メタデータ
チャンクフラグメント1
Kinesis Video
Pre メタデータ
Kinesis Video
Post メタデータ
メディア
メタデータ
チャンクフラグメント1
Kinesis Video
Pre メタデータ
Kinesis Video
Post メタデータ
メディア
メタデータ
チャンク
フラグメント1
Kinesis Video
Pre メタデータ
Kinesis Video
Post メタデータ
メディア
メタデータ
チャンクフラグメント2
Kinesis Video
Pre メタデータ
Kinesis Video
Post メタデータ
メディア
メタデータ
チャンクフラグメント1
Kinesis Video
Pre メタデータ
Kinesis Video
Post メタデータ
メディア
メタデータ
チャンク
フラグメントを送信
チャンクとして保存
チャンクを取得
フラグメントを
取り出す
(必要に応じて)
フレームを
取り出す
ストリーム
*フラグメント番号︓64ビット整数で表される識別⼦で、Kinesis Video Streams が受信時に⽣成してフラグメントに割り当てる
フラグメント番号*を⽣成
メディア
メタデータ
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
⼆種類のタイムスタンプでフラグメントが管理されている
タイムスタンプの扱い
プロデューサー
コンシューマー
GetMedia
GetMediaForFragmentList
PutMedia
フラグメント1
メディア
メタデータ
フラグメント1
Kinesis Video
Pre メタデータ
Kinesis Video
Post メタデータ
メディア
メタデータ
チャンク
フラグメント1
Kinesis Video
Pre メタデータ
Kinesis Video
Post メタデータ
メディア
メタデータ
チャンク
ストリーム
producer_timestamp
をフラグメントと
⼀緒に送信
producer_timestamp
server_timestamp
server_timestamp
をチャンクに追加
producer_timestamp
または
server_timestamp
を指定して
チャンクを取得可能
producer_timestamp : プロデューサー側でそのフラグメントの記録を開始した時刻
server_timestamp : Amazon Kinesis Video Streams がフラグメントの受信を開始した時刻
https://docs.aws.amazon.com/ja_jp/kinesisvideostreams/latest/dg/API_dataplane_PutMedia.html
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
通信のセキュリティとアクセス許可
n SSLでの通信暗号化
書き込みと読み込みのAPIを使⽤した通信は全てHTTPSで暗号化
n IAMでのアクセス管理
AWSの認証メカニズムである Signature Version 4 を利⽤して、
ストリーム単位、アクション単位でIAMでのアクセス制御が可能
例︓
"Resource": arn:aws:kinesisvideo:ap-northeast-1:111122223333:stream/my-stream-*
"Resource": arn:aws:kinesisvideo:*:111122223333:stream/my-stream-1/0123456789012
"Action": "kinesisvideo:PutMedia"
"Action": "kinesisvideo:Get*"
https://docs.aws.amazon.com/ja_jp/kinesisvideostreams/latest/dg/how-iam.html
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
メディアの保存 - データの暗号化と保存期間
n データの暗号化
• 常にサーバーサイドの暗号化が有効になっている
• データはストレージレイヤーに書き込まれる前に暗号化され、ストレージから
取得された後に復号される
• ストリームの作成時に、暗号化に使⽤する AWS KMS カスタマーマスターキー
(CMK) を指定できる(あとから変更はできない)
• ストリームの作成時にユーザー指定のキーが指定されていない場合は、
既定のキー (Kinesis Video Streams が提供) が使⽤される
n データの保存期間
• ストリーム作成時にデータの保存期間を指定できる(あとから変更もできる)
• 設定可能な範囲は、最短は0(保存しない)で最⻑は10年(87600時間)
• データの保存量に応じてサービス利⽤料⾦が発⽣する
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本⽇のアジェンダ
• Amazon Kinesis Video Streams の概要
• Amazon Kinesis Video Streams - メディア形式で収集
1. メディアの取り込み
2. メディアの保存とインデックス
3. メディアの再⽣
4. メディアの分析
• Amazon Kinesis Video Streams – WebRTC
• Amazon Kinesis Video Streams を活⽤した構成例
• サービス利⽤上のポイント
• まとめ
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ライブ再⽣・オンデマンド再⽣
• マネジメントコンソールのメディ
ア再⽣ビューワー
• HTTP Live Streaming (HLS) や
Dynamic Adaptive Streaming over
HTTP (DASH) による、ライブもし
くはオンデマンド再⽣
Mobile
and Web
Players
Camera
Devices
メディア形式で収集
Amazon Kinesis
Video Streams
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
マネジメントコンソールの簡易ビューアー
• ストリームを選択して動画を再⽣
可能
• 再⽣できるのはH.264のコーデッ
クで圧縮された動画のみ
• 基本的には開発とテスト⽤途での
使⽤を想定
メディア形式で収集
現在時刻
からの遅延
メディアの情報
再⽣時刻の指定
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
HTTP ライブストリーミング (HLS) 再⽣機能
https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/hls-playback.html
動画データ
プロデューサー
(カメラ)
Amazon Kinesis
Video Streams
コンシューマー
HLS ストリーミング
ライブストリーミング や 動画ビューワー をコンシューマーの実装なしで実現
・video.js
・Google Shaka Player
・hls.js
・ウェブブラウザ
・Android (Exoplayer)
・iOS (AVMediaPlayer)
など
1. GetDataEndpoint API に
よってエンドポイントを取得
2. 得られたエンドポイントから
GetHLSStreamingSession
URL API によって HLS スト
リーミング URL を取得
3. 得られたURLを指定して任意
の再⽣ツールで動画を再⽣
HLS形式の再⽣機能を
フルマネージドで提供
動作条件
・データの保持期間を0より⼤きく設定
・映像は H.264 または H.265 でエンコード
・⾳声がある場合には、AAC でエンコード
・コーデックIDなどのメタデータを正しく設定
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
MPEG-DASH 再⽣機能
https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/dash-playback.html
動画データ
プロデューサー
(カメラ)
Amazon Kinesis
Video Streams コンシューマー
Dynamic Adaptive Streaming over HTTP (DASH) での再⽣にも対応
1. GetDataEndpoint API に
よってエンドポイントを取得
2. 得られたエンドポイントから
GetDASHStreamingSession
URL API によって MPEG-
DASH ストリーミング URL
を取得
3. 得られたURLを指定して任意
の再⽣ツールで動画を再⽣
DASH形式の再⽣機能を
フルマネージドで提供
動作条件
・データの保持期間を0より⼤きく設定
・映像は H.264 または H.265 でエンコード
・⾳声がある場合には、AAC または G.711 でエンコード
・コーデックIDなどのメタデータを正しく設定
MPEG-DASH ストリーミング
・video.js
・Google Shaka Player
・dash.js
・ウェブブラウザ
・Android (Exoplayer)
・iOS (AVMediaPlayer)
など
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• HLS もしくは DASH を利⽤したメ
ディア再⽣のサンプルページ
• HLS もしくは DASH のストリーミ
ングセッションURLを取得して、
HLS.js や Video.js などのライブラ
リを利⽤して再⽣できる
Amazon Kinesis Video Streams Media Viewer
https://aws-samples.github.io/amazon-kinesis-video-streams-media-viewer/
メディア形式で収集
アクセスキーなど
の認証情報
ストリーミングセッ
ション取得時の設定
HLS / DASH および
プレイヤーの設定
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
HLS や DASH での再⽣に関する注意点
• 同時に再⽣できるセッション数の制限
• ストリームあたりのアクティブな HLS および DASH のストリーミン
グセッション数: 10 (ソフトリミット)
• 上限を超えた場合は、最も古いセッションが廃⽌される
• ライブ再⽣時のレイテンシー
• 必ずテストを⾏って評価する
• 動画フラグメントのサイズ、プロデューサの設定、プレイヤーの
チューニング、ネットワークなどの条件に左右される
https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html
https://aws.amazon.com/jp/kinesis/video-streams/faqs/
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
レイテンシーの考え⽅
デバイスのメディアパイプライン
イメージセンサーからのデータ読み取り、
(ハードウェア/ソフトウェア)エンコーダーで
のメディア変換処理
インターネットのデータ伝送
デバイスからクラウドまでのネットワークス
ループットやレイテンシ
Amazon Kinesis Video Streams の
データ受信時のレイテンシー
データ保持設定時のデータの暗号化と時間
ベースのインデックス⽣成
Amazon Kinesis Video Streams から
コンシューマーの間のレイテンシー
HLS 再⽣時の動画変換の内部処理、クラウド
とコンシューマの間のネットワーク環境、プ
レイヤーの設定(バッファなど)
メディア形式で収集
https://aws.amazon.com/jp/kinesis/video-streams/faqs/
タイムスタンプの計測や、プロデューサー・コンシューマーの設定、ネットワーク環境の変更などに
よってレイテンシーの要因を切り分けることで、レイテンシーを短縮するためのアクションが可能
End-to-End のメディアデータフローにおける、レイテンシーの重要な要因
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本⽇のアジェンダ
• Amazon Kinesis Video Streams の概要
• Amazon Kinesis Video Streams - メディア形式で収集
1. メディアの取り込み
2. メディアの保存とインデックス
3. メディアの再⽣
4. メディアの分析
• Amazon Kinesis Video Streams – WebRTC
• Amazon Kinesis Video Streams を活⽤した構成例
• サービス利⽤上のポイント
• まとめ
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
メディアの取得・分析
• GetClip API での MP4クリップの出⼒
• GetMedia API でのチャンクの取得
• Amazon Kinesis Video Streams Parser
Library によるフラグメントやフレームの取
り扱い
• Amazon Rekognition Video を利⽤して、
フルマネージドでMLベースの処理を実⾏
• Amazon SageMaker で Amazon Kinesis
Video Inference Template を利⽤
https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/examples-sagemaker.html
メディア形式で収集
Amazon Kinesis
Video Streams
Amazon Kinesis
Video Streams
Parser Library
Amazon Rekognition
Video
Amazon SageMaker
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
GetClip API による MP4クリップの出⼒
• マネジメントコンソールもしくは GetClip API
を利⽤して、MP4 クリップを⽣成してダウン
ロード可能
• サポートするコーデック
• Video: H.264 or H.265
• Audio: AAC or G.711
• 1リクエストで出⼒できるのは、100MB もし
くは 200 フラグメントまで
https://docs.aws.amazon.com/ja_jp/kinesisvideostreams/latest/dg/API_reader_GetClip.html
メディア形式で収集
マネジメントコンソール
からも利⽤可能
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
コンシューマー側のAPI
GetMedia API
Kinesis Video Streams のストリームから、メディアデータを取得するためのAPI
• ストリーム名またはストリーム Amazon リソースネーム (ARN) と、
開始チャンクをリクエストする
• Kinesis Video Streams はフラグメント番号順にチャンクのストリームを返す
GetMediaForFragmentList API
ストリームに保存されたアーカイブデータから指定したメディアデータを取得するAPI
• フラグメントのリスト (フラグメント番号で指定)を指定してリクエストする
• 通常は、この API を呼び出す前に、ListFragments API を呼び出す
ListFragments API
フラグメントのリストを取得するAPI
• フラグメント番号またはタイムスタンプを使⽤して、
ストリームに対して開始位置を指定してリクエストする
リアルタイム
処理指向
バッチ
処理指向
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
GetMedia API
POST /getMedia HTTP/1.1
Content-type: application/json
{
"StartSelector": {
"AfterFragmentNumber": "string",
"ContinuationToken": "string",
"StartSelectorType": "string",
"StartTimestamp": number
},
"StreamARN": "string",
"StreamName": "string"
}
PutMediaで送信されたフラグメントを含むチャンクのストリームを
Payloadとして受信する
• リクエストパラメータは JSON形式でBodyの中に⼊れて送信する
• GetMedia API は Long Running Sessionのため、セッションを張って、
そのセッションの中でチャンクを受信する
Request
HTTP/1.1 200
Content-Type: ContentType
Payload
Response
https://docs.aws.amazon.com/ja_jp/kinesisvideostreams/latest/dg/API_dataplane_GetMedia.html
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
GetMedia API で取得できるのは、
あくまでMKV形式のチャンクでしかない
コンシューマー
GetMedia
GetMediaForFragmentList
フレーム
フラグメント
フラグメント1
Kinesis Video
Pre メタデータ
Kinesis Video
Post メタデータ
メディア
メタデータ
チャンク
チャンクを取得
フラグメントを
取り出す
(必要に応じて)
フレームを
取り出す
ストリーム
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Kinesis Video Streams Parser Library
• Javaのライブラリ(Jarファイル)として提供され、
AWS SDK for Java と組み合わせてJavaアプリケーション内で使⽤する
• 現在の実装では、主なツールとして以下のものが含まれるほか、サンプルアプリケー
ションを提供
ストリームから取得したMKV形式のデータを
使いやすい形に加⼯するためのライブラリ
主なツール 内容
StreamingMkvReader MKVデータをストリームから MKV Element として読み取る
FragmentMetadataVisitor フラグメント(メディアデータ)およびトラック(コーデックの種類や
ピクセル幅・⾼さなどを含むデータ)からメタデータを取得する。
フラグメント番号やタイムスタンプの情報もここから取得出来る。
OutputSegmentMerger 異なるトラックのメタデータを単⼀のセグメントを持つストリームに
マージして、連続したフラグメント(チャンク)を結合する
FrameVisitor フラグメントからフレームを取り出してフレーム毎の処理に渡す。
インタフェースが提供されるので、デコードと処理内容は⾃分で実装する。
https://github.com/aws/amazon-kinesis-video-streams-parser-library
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
フラグメント1
Kinesis Video
Pre メタデータ
Kinesis Video
Post メタデータ
メディア
メタデータ
チャンク
動画ファイルを出⼒して解析する
Stream Parser Library の OutputSegmentMerger を活⽤する
コンシューマー
GetMedia
GetMediaForFragmentList
フラグメント
チャンクを取得
フラグメントを
取り出す
ストリーム
フラグメント1
Kinesis Video
Pre メタデータ
Kinesis Video
Post メタデータ
メディア
メタデータ
チャンクフラグメント1
Kinesis Video
Pre メタデータ
Kinesis Video
Post メタデータ
メディア
メタデータ
チャンク
OutputSegmentMerger
1本のMKV動画ファイル
やストリームに結合する
動画ファイル
プレイヤーで再⽣
動画解析処理へ
StreamingMkvReader
(必要に応じて)
GStreamer などで
動画形式を変換
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
フラグメント1
Kinesis Video
Pre メタデータ
Kinesis Video
Post メタデータ
メディア
メタデータ
チャンク
画像フレームを取り出して解析する
Stream Parser Library の FrameVisitor を活⽤する
コンシューマー
GetMedia
GetMediaForFragmentList
フラグメント
チャンクを取得
フラグメントを
取り出す
ストリーム
フラグメント1
Kinesis Video
Pre メタデータ
Kinesis Video
Post メタデータ
メディア
メタデータ
チャンクフラグメント1
Kinesis Video
Pre メタデータ
Kinesis Video
Post メタデータ
メディア
メタデータ
チャンク
FrameVisitor + デコード実装
(JCodec などのライブラリを活⽤)
フレームを
取り出す
静⽌画として保存
画像解析処理へ
StreamingMkvReader
フレーム
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Rekognition Video と連携する
• Kinesis Video Streams のコンシューマーとし
て Amazon Rekognition Video を使⽤して動画
ストリーム内の顔を検出・認識できる
• 予め Rekognition Video に覚えさせておいた既
知の顔を検出することができる
• Rekognition Video には、動画ストリームの分
析を管理するための Stream Processor が⽤意
されている
• 分析結果は、Rekognition Video から、
Amazon Kinesis Data Streams のストリームに
出⼒される
https://docs.aws.amazon.com/rekognition/latest/dg/streaming-video.html
プロデューサー
(カメラ)
Amazon Kinesis
Video Streams
Amazon
Rekognition Video
Amazon Kinesis
Data Streams
Amazon Kinesis
Data Streams
のコンシューマー
(AWS Lambda など)
Stream Processor
起動・停⽌も可能
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SageMakerと連携するための
Amazon Kinesis Video Streams Inference Template (KIT)
https://aws.amazon.com/jp/blogs/news/analyze-live-video-at-scale-in-real-time-using-amazon-kinesis-video-streams-and-amazon-sagemaker/
コンシューマーを実装せずに Kinesis Video Streams のストリームを
SageMaker の推論エンドポイントと接続することが可能
1. SageMakerで学習した画像解析のモデル
を使⽤して推論エンドポイントを作成
2. 作成した推論エンドポイントとストリー
ムを指定して CloudFormation を起動
3. ストリームに⼊⼒された動画の認識結果
が Kinesis Data Streams に出⼒される
SageMakerとの連携機能を
完全なテンプレートで提供
AWS CloudFormation テンプレート
SageMakerで学習した
画像解析のモデルを
デプロイ
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
料⾦構成
2020/09/30 現在、東京リージョンの場合
料⾦構成 料⾦
(プロデューサーから)
取り込まれたデータ量 $0.01097 / 1GB
(コンシューマーに)
取り出されたデータ量 (※) $0.01097 / 1GB
(HLS/DASH再⽣機能で)
取り出されたデータ量 (※)
$0.01536 / 1GB
保存されたデータ量 $0.02500 / 1GB・⽉
メディア形式で収集
https://aws.amazon.com/jp/kinesis/video-streams/pricing/
※ インターネット経由でビデオストリームから AWS 外の送信先にデータを送信する場合は、
AWS の標準のデータ転送料⾦がかかります。
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本⽇のアジェンダ
• Amazon Kinesis Video Streams の概要
• Amazon Kinesis Video Streams - メディア形式で収集
1. メディアの取り込み
2. メディアの保存とインデックス
3. メディアの再⽣
4. メディアの分析
• Amazon Kinesis Video Streams – WebRTC
• Amazon Kinesis Video Streams を活⽤した構成例
• サービス利⽤上のポイント
• まとめ
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Kinesis Video Streams WebRTC
超低遅延でのメディアストリーミングと
100万台規模のデバイス間での双⽅向の通信をサポート
標準規格準拠
デバイス・モバイル・ウェブア
プリ間での、⾳声・映像・デー
タのリアルタイム双⽅向通信
フルマネージド
フルマネージドなWebRTC
シグナリング・TURN・
STUNのサービスとSDK
リアルタイム
双⽅向通信
ウェブやモバイルのプ
ラットフォームから容易
に利⽤可能
低遅延のライブメディア
ストリーミング
Peer-to-peer の⾳声・映像の
ライブストリーミングと、1秒
未満のレイテンシでの再⽣
WebRTC
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WebRTC とは︖
相互通信
Peer-to-peer接続の確⽴
暗号化
End-to-endでの暗号化
メディア配信
低遅延でのメディアと
任意のデータの双⽅向
通信
シグナリング
接続のメタデータの交換
WebRTC は単なるメディアストリーミングのプロトコルではなく、以下のような特
徴を持ったリアルタイムコミュニケーションのためのオープンな標準規格
WebRTC
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Kinesis Video Streams WebRTC における
主要な⽤語・概念
シグナリング
チャネル
アプリケーションが、P2P接続を検出、開始、制御、終了するためにシグナリン
グメッセージをやりとりするためのチャンネル。セキュアな Websocket (WSS) が
使⽤されている。
Peer
WebRTCの通信を⾏う任意のデバイス・アプリケーション
例︓ウェブブラウザ、スマートフォンアプリ、ホームセキュリティカメラ
Master
接続の初期化を⾏い、シグナリングチャンネルで複数のViewerから接続、メディ
アの送受信を⾏うPeer
2020年9⽉現在、1シグナリングチャンネルには1 Masterまで
Viewer
1つのMasterのみとメディアの送受信を⾏えるPeer、他のViewerと接続すること
はできない
2020年9⽉現在、1シグナリングチャンネルには10 Viewerまで(ソフトリミット)
WebRTC
→ Master と Viewer は 1:N の関係
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Kinesis
Video Streams
WebRTC の接続フロー
Amazon Kinesis Video
Streams WebRTC SDK
Peer: Viewer
モバイルアプリ
ウェブアプリ
Peer: Master
カメラデバイス
Amazon Kinesis Video
Streams WebRTC SDK
Signaling Server
NAT NAT
WebRTC
STUN Server
TURN Server
WebRTC の接続を確⽴する
ためのマネージドなサーバ
側のリソースを提供
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Kinesis
Video Streams
WebRTC の接続フロー
Amazon Kinesis Video
Streams WebRTC SDK
組み込みの WebRTC ライ
ブラリ
Peer: Viewer
モバイルアプリ
ウェブアプリ
Peer: Master
カメラデバイス
Amazon Kinesis Video
Streams WebRTC SDK
Signaling Server
NAT NAT
2.シグナリングサーバと接続
3. シグナリングメッセージ
(SDP Offer) を送信
WebRTC
STUN Server
TURN Server
1. シグナリングサー
バと接続
※ 接続フローのうち主要な通信のみを記載、順序は⼊れ替わる場合もあり
4.シグナリングメッセージ
(SDP Answer) を返信
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Kinesis
Video Streams
WebRTC の接続フロー
Amazon Kinesis Video
Streams WebRTC SDK
組み込みの WebRTC ライ
ブラリ
Peer: Viewer
モバイルアプリ
ウェブアプリ
Peer: Master
カメラデバイス
Amazon Kinesis Video
Streams WebRTC SDK
Signaling Server
NAT NAT
8. シグナリングメッセー
ジ (ICE Candidate) を送信
WebRTC
STUN Server
TURN Server
6. NAT の外向きのIPア
ドレス:ポートの確認 7. TURN接続⽤の
IP:ポートの確認
(TURN 有効時)
5. ローカルのIPアド
レス:ポートの確認
※ 接続フローのうち主要な通信のみを記載、順序は⼊れ替わる場合もあり
5. ローカルのIPアド
レス:ポートの確認
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WebRTC の接続フロー
Amazon Kinesis Video
Streams WebRTC SDK
Peer: Viewer
モバイルアプリ
ウェブアプリ
双⽅向メディアストリーミング (P2P 接続時)
Peer: Master
カメラデバイス
Amazon Kinesis Video
Streams WebRTC SDK
Amazon Kinesis
Video Streams
Signaling Server
NAT NAT
WebRTC
STUN Server
TURN Server
9. 経路候補のトライアル
10. 接続の確⽴
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WebRTC の接続フロー
Amazon Kinesis Video
Streams WebRTC SDK
Peer: Viewer
モバイルアプリ
ウェブアプリ
双⽅向メディアストリーミング (TURN によるリレー接続)
Peer: Master
カメラデバイス
Amazon Kinesis Video
Streams WebRTC SDK
Amazon Kinesis
Video Streams
Signaling Server
NAT NAT
NATの種類などによって、
P2P接続に失敗した場合
WebRTC
STUN Server
TURN Server
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
マネジメントコンソールのメディア再⽣ビューワー WebRTC
メディアの種類・
コーデック
ビットレートやフレーム
レートは現在の値(可変)
P2P もしくは TURN
開発・テスト⽤途に利⽤できる簡易ビューワー
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WebRTC SDK の構成 WebRTC
組み込みカメラ
ファームウェア
C SDK JavaScript SDK Android SDK iOS SDK
ブラウザ
Android ネイティ
ブアプリ
iOS ネイティブア
プリ
各種OS Android iOS
Signaling Client Signaling Client Signaling Client Signaling Client
Cognito Cognito
デモアプリケーショ
ン (Gstreamer /
H.264+Opus)
libwebrtc libwebrtc libwebrtc
OS
アプリ
SDK
シグナリング
各種プロトコ
ルサポート
各種プロトコル実装
メディアの
取得・再⽣
認証 SigV4
SigV4 / AWS IoT
証明書
デモアプリケーショ
ン (getUserMedia)
デモアプリケーショ
ン
デモアプリケーショ
ン
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WebRTC SDK の構成 WebRTC
組み込みカメラ
ファームウェア
C SDK JavaScript SDK Android SDK iOS SDK
ブラウザ
Android ネイティ
ブアプリ
iOS ネイティブア
プリ
各種OS Android iOS
Signaling Client Signaling Client Signaling Client Signaling Client
Cognito Cognito
デモアプリケーショ
ン (Gstreamer /
H.264+Opus)
libwebrtc libwebrtc libwebrtc
OS
アプリ
SDK
シグナリング
各種プロトコ
ルサポート
各種プロトコル実装
メディアの
取得・再⽣
認証 SigV4
SigV4 / AWS IoT
証明書
デモアプリケーショ
ン (getUserMedia)
デモアプリケーショ
ン
デモアプリケーショ
ン
組み込みカメラデバイス向けの
C⾔語の軽量なSDK
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WebRTC SDK の構成 WebRTC
組み込みカメラ
ファームウェア
C SDK JavaScript SDK Android SDK iOS SDK
ブラウザ
Android ネイティ
ブアプリ
iOS ネイティブア
プリ
各種OS Android iOS
Signaling Client Signaling Client Signaling Client Signaling Client
Cognito Cognito
デモアプリケーショ
ン (Gstreamer /
H.264+Opus)
libwebrtc libwebrtc libwebrtc
OS
アプリ
SDK
シグナリング
各種プロトコ
ルサポート
各種プロトコル実装
メディアの
取得・再⽣
認証 SigV4
SigV4 / AWS IoT
証明書
デモアプリケーショ
ン (getUserMedia)
デモアプリケーショ
ン
デモアプリケーショ
ン
ウェブアプリ開発⽤のSDK
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WebRTC SDK JavaScript のサンプルページ (Viewer の場合)
https://awslabs.github.io/amazon-kinesis-video-streams-webrtc-sdk-js/examples/index.html
データチャンネルで送信
するメッセージ
データチャンネルで受信
したメッセージデバッグ⽤ログ
(トラブルシューティング時は
後述する WebRTC Internals を併⽤)
WebRTC
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WebRTC SDK の構成 WebRTC
組み込みカメラ
ファームウェア
C SDK JavaScript SDK Android SDK iOS SDK
ブラウザ
Android ネイティ
ブアプリ
iOS ネイティブア
プリ
各種OS Android iOS
Signaling Client Signaling Client Signaling Client Signaling Client
Cognito Cognito
デモアプリケーショ
ン (Gstreamer /
H.264+Opus)
libwebrtc libwebrtc libwebrtc
OS
アプリ
SDK
シグナリング
各種プロトコ
ルサポート
各種プロトコル実装
メディアの
取得・再⽣
認証 SigV4
SigV4 / AWS IoT
証明書
デモアプリケーショ
ン (getUserMedia)
デモアプリケーショ
ン
デモアプリケーショ
ン
モバイルアプリ開発⽤のSDK
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WebRTC SDK iOS のデモアプリ
https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-ios
ログイン画⾯ 接続先設定
Amazon Cognito によるログイン機能
(事前にクラウド側のセットアップが必要)
WebRTC
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WebRTC のトラブルシューティング
接続できない、映像が表⽰されない
• シグナリングチャネルへ接続できているか、CloudWatch のメトリクスから
確認
• 別のネットワークで試してみる
• TURN を有効にしているかを確認
• Master, Viewer でサポートしているコーデックを確認 (SDP Offer / SDP
Answer)
WebRTC
シグナリング
メッセージ数
Master/Viewer
の接続成功率
TURN 経由での
接続時間
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WebRTC のトラブルシューティング
遅延が⼤きい、映像が滑らかでない
• 映像のビットレートを確認、ネット
ワーク帯域に対して⼤きすぎる場合
は解像度を下げてみる
• デバイスのスペックが低い場合、映
像のエンコーディング処理などで
CPUを使い切っていないかを確認し、
解像度を下げたりハードウェアエン
コーダの利⽤を検討する
WebRTC
WebRTC SDK C では、VERBOSE レベルのログを
有効化すると、帯域推定結果やパケット再送な
どのログが表⽰される
export AWS_KVS_LOG_LEVEL=1 (VERBOSE レベル)
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WebRTC のトラブルシューティング
WebRTC Internals (Chrome)
chrome://webrtc-internals/
WebRTC Internals (Firefox)
about:webrtc
WebRTC
WebRTC Internals でイベントや統計情報から問題を切り分け
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
料⾦構成 (WebRTC)
2020/09/30 現在、東京リージョンの場合
料⾦構成 料⾦
アクティブなシグナリングチャネル $0.045 / チャネル・⽉
シグナリングメッセージ $3.375 / 100万メッセージ
TURNでストリーミングした時間 (※) $0.180 / 1,000分
https://aws.amazon.com/jp/kinesis/video-streams/pricing/
WebRTC
※ インターネット経由でビデオストリームから AWS 外の送信先にデータを送信する場合は、
AWS の標準のデータ転送料⾦がかかります。
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本⽇のアジェンダ
• Amazon Kinesis Video Streams の概要
• Amazon Kinesis Video Streams - メディア形式で収集
1. メディアの取り込み
2. メディアの保存とインデックス
3. メディアの再⽣
4. メディアの分析
• Amazon Kinesis Video Streams – WebRTC
• Amazon Kinesis Video Streams を活⽤した構成例
• サービス利⽤上のポイント
• まとめ
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Kinesis Video Streams の使い分け (再掲)
メディア形式で収集 WebRTC
動画データのクラウド保存
機械学習サービスでの分析
できる できない
双⽅向ストリーミング できない できる
ライブ再⽣時のレイテンシ 2秒〜 1秒未満
カメラデバイスからの
ストリーミングに利⽤する
SDK
Producer SDK WebRTC SDK
WebRTCメディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
動画の常時保存と再⽣
監視カメラ・ドライブレコーダー
カメラデバイス
Amazon Kinesis Video
Streams Producer SDK 動画データ
起動中は常時動画をス
トリーミング
Amazon Kinesis
Video Streams
保持期間を指定して
動画を保存
ライブ・オンデマンドでの
ストリーミング再⽣
動画データ
https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/getting-started.html
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
必要に応じた動画の収集
ホームセキュリティカメラ
カメラデバイス
Amazon Kinesis Video
Streams Producer SDK
Amazon Kinesis
Video Streams動画データ
AWS IoT Device SDK
AWS IoT Core
ライブ再⽣・オン
デマンド再⽣
AWS Lambda Amazon API
Gateway
動画データ
メディア形式で収集
ストリーミングのON・
OFFの制御
録画状態を制御
センサー値をトリ
ガーに録画開始
Amazon SNS 録画時に通知
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
双⽅向コミュニケーション、遠隔監視
インターホン・(スピーカー付き)監視カメラ
Amazon Kinesis Video
Streams WebRTC SDK
モバイルアプリ
シグナリング
双⽅向メディアストリーミング (P2P)
カメラデバイス
Amazon Kinesis
Video Streams
Amazon Kinesis Video
Streams WebRTC SDK
WebRTC
Amazon Kinesis Video
Streams Producer SDK
リアルタイム再⽣
オンデマンド再⽣
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
遠隔制御
ドローン・ロボット
WebRTC
ドローン・ロボット
Amazon Kinesis Video
Streams WebRTC SDK
Amazon Kinesis
Video Streams
制御⽤アプリ
リアルタイムの動画・⾳声ストリーミング
AWS IoT
Device SDK AWS IoT Core
Amazon Kinesis Video
Streams WebRTC SDK
シグナリング
テレメトリの送信 ※2
操作画⾯
制御コマンドの送信 ※2
Amazon S3
制御ログや航⾏
データの保存
制御コマンド/テレメトリの送信 ※1
WebRTC のデータ
チャネルを利⽤
※1 接続中のみメッセージングが出来れば良い場合はWebRTCのデータチャンネルを利⽤
※2 ログを保存したい場合やオフライン対応をしたい場合は AWS IoT Core を利⽤
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
リアルタイム映像分析
監視カメラ映像に対する顔認識
カメラデバイス
Amazon Kinesis Video
Streams Producer SDK Amazon Kinesis
Data Streams
動画データ Amazon Rekognition
Video
Amazon Kinesis
Video Streams
AWS Lambda
Stream Processor による
リアルタイム顔認識
https://aws.amazon.com/jp/blogs/news/easily-perform-facial-analysis-on-live-feeds-by-creating-a-serverless-
video-analytics-environment-with-amazon-rekognition-video-and-amazon-kinesis-video-streams/
認識結果の
可視化
メディア形式で収集
Amazon SNS
認識結果に
応じた通知
Amazon Elasticsearch
Service
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
バッチ映像分析
監視カメラ映像に対するオブジェクト認識・⼈物トラッキング
カメラデバイス
Amazon Kinesis Video
Streams Producer SDK
動画データ
Amazon Rekognition
Video
Amazon Kinesis
Video Streams
AWS Lambda
Amazon DynamoDB
⼈物の識別と追跡
オブジェクト認識
AWS Lambda
動画データ
Amazon S3
AWS Simple
Notification Service
分析終了通知
認識結果の取得
メディア形式で収集
認識結果のDB
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本⽇のアジェンダ
• Amazon Kinesis Video Streams の概要
• Amazon Kinesis Video Streams - メディア形式で収集
1. メディアの取り込み
2. メディアの保存とインデックス
3. メディアの再⽣
4. メディアの分析
• Amazon Kinesis Video Streams – WebRTC
• Amazon Kinesis Video Streams を活⽤した構成例
• サービス利⽤上のポイント
• まとめ
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
動画ストリーミングサービスの使い分け
Amazon Interactive Video Sercvice
AWS Elemental Media Services &
Amazon CloudFront
Amazon Chime / Amazon Chime SDK
Amazon Kinesis Video Stream
• 素早く簡単にセットアップできる
マネージドライブストリーミングサービス
• OTT の知識や経験がなくとも、数分でワールドワイドに
ライブ配信基盤を展開可能
• 超低遅延配信 、 Timed Metadata API を利⽤することで
双⽅向コミュニケーションを容易に実現可能
• 例: インタラクティブなライブ配信
• 放送グレードの品質および柔軟な配信要件に対応可能
• ビルディングブロック、配信要件に応じて
詳細な設定変更が可能
• 例: 放送グレードのメディア配信、パッケージング、
広告挿⼊、 DRM、スケジューラー、 DVR/タイムシフト
• コネクテッドカメラデバイスからクラウドへ
安全にストリーミング
• 機械学習、動画再⽣、分析、その他の処理を
リアルタイムもしくはバッチ駆動で処理可能
• WebRTC による低遅延の双⽅向ストリーミング
• 例: スマートホーム、スマートシティ、遠隔監視、
産業⽤の⾃動処理、コネクテッドカメラ製品
• 複数の話者が登場する M : N のビデオ通話⽤途
• 双⽅向の円滑な会話のための秒未満配信遅延
• 例: ビデオ会議
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
カメラデバイスでの SDK への認証情報の渡し⽅
AWS のアクセスキーを利⽤
• Access Key ID, Secret Access Key,
(Session Token) を環境変数(もし
くは引数)として設定
• 認証情報を動的に発⾏する仕組み
もしくは、あらかじめ埋め込んで
おく必要がある
• IAM のリソース数の上限に注意が
必要
AWS IoT の証明書を利⽤
• AWS IoT Core で管理しているク
ライアント証明書を利⽤して、
AWS IoT の認証情報プロバイダー
から⼀時認証情報を取得
• 証明書をデバイスに埋め込む仕組
みが必要
https://docs.aws.amazon.com/ja_jp/iot/latest/developerguide
/authorizing-direct-aws.html
WebRTC
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
パートナーデバイスとクイックスタート
パートナーデバイスカタログ
• Amazon Kinesis Video Streams 対応のカ
メラ製品などが掲載
AWS IoT Camera Connector
• IoTカメラ向けのサーバレス環境を1ク
リックでデプロイ
https://devices.amazonaws.com/ https://aws.amazon.com/jp/quickstart/archite
cture/camera-connector-onica/
メディア形式で収集
設定のみでデバイスからクラウドへ動画をストリーミング
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
⼊⾨⽤コンテンツのご紹介
Amazon Kinesis Video Streams ハンズオン
https://video-streaming-and-analysis.workshop.aws/
Amazon Kinesis Video Streams WebRTC Getting Started
https://docs.aws.amazon.com/ja_jp/kinesisvideostreams-webrtc-
dg/latest/devguide/kvswebrtc-getting-started.html
WebRTC
メディア形式で収集
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本⽇のアジェンダ
• Amazon Kinesis Video Streams の概要
• Amazon Kinesis Video Streams - メディア形式で収集
1. メディアの取り込み
2. メディアの保存とインデックス
3. メディアの再⽣
4. メディアの分析
• Amazon Kinesis Video Streams – WebRTC
• Amazon Kinesis Video Streams を活⽤した構成例
• サービス利⽤上のポイント
• まとめ
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
まとめ
• Amazon Kinesis Video Streams はサーバレスなフルマネージドサービスと
して提供されており、何百万ものカメラデバイスと接続をして、メディア
データをストリーミングし保存、再⽣や分析に利⽤可能
• Amazon Kinesis Video Streams には2つの⽅式があり、ユースケースに応じ
て使い分ける
• Amazon Kinesis Video Streams と他の AWS サービスを組み合わせて、IoT
における様々なメディアのユースケースを容易に実現できる
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Kinesis Video Streams 関連リンク
• 公式ページ - https://aws.amazon.com/jp/kinesis/video-streams/
• ドキュメントやライブラリなどのリソース -
https://aws.amazon.com/jp/kinesis/video-streams/resources/
• 各種 Producer SDK -
https://docs.aws.amazon.com/ja_jp/kinesisvideostreams/latest/dg/produ
cer-sdk.html
• Parser Library - https://github.com/aws/amazon-kinesis-video-streams-
parser-library
• 各種 WebRTC SDK - https://docs.aws.amazon.com/kinesisvideostreams-
webrtc-dg/latest/devguide/webrtc-sdks.html
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Q&A
お答えできなかったご質問については
AWS Japan Blog 「https://aws.amazon.com/jp/blogs/news/」にて
後⽇掲載します。
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS の⽇本語資料の場所「AWS 資料」で検索
https://amzn.to/JPArchive
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
で[検索]AWS イベント
毎週”W-A個別技術相談会”を実施中
• AWSのソリューションアーキテクト(SA)に
対策などを相談することも可能
• 申込みはイベント告知サイトから
(https://aws.amazon.com/jp/about-aws/events/)
AWS Well-Architected 個別技術相談会
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS 公式 Webinar
https://amzn.to/JPWebinar
過去資料
https://amzn.to/JPArchive
ご視聴ありがとうございました

Más contenido relacionado

Was ist angesagt?

20190514 AWS Black Belt Online Seminar Amazon API Gateway
20190514 AWS Black Belt Online Seminar Amazon API Gateway 20190514 AWS Black Belt Online Seminar Amazon API Gateway
20190514 AWS Black Belt Online Seminar Amazon API Gateway Amazon Web Services Japan
 
20190522 AWS Black Belt Online Seminar AWS Step Functions
20190522 AWS Black Belt Online Seminar AWS Step Functions20190522 AWS Black Belt Online Seminar AWS Step Functions
20190522 AWS Black Belt Online Seminar AWS Step FunctionsAmazon Web Services Japan
 
20191029 AWS Black Belt Online Seminar Elastic Load Balancing (ELB)
20191029 AWS Black Belt Online Seminar Elastic Load Balancing (ELB)20191029 AWS Black Belt Online Seminar Elastic Load Balancing (ELB)
20191029 AWS Black Belt Online Seminar Elastic Load Balancing (ELB)Amazon Web Services Japan
 
20210316 AWS Black Belt Online Seminar AWS DataSync
20210316 AWS Black Belt Online Seminar AWS DataSync20210316 AWS Black Belt Online Seminar AWS DataSync
20210316 AWS Black Belt Online Seminar AWS DataSyncAmazon Web Services Japan
 
20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用
20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用
20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用Amazon Web Services Japan
 
20200212 AWS Black Belt Online Seminar AWS Systems Manager
20200212 AWS Black Belt Online Seminar AWS Systems Manager20200212 AWS Black Belt Online Seminar AWS Systems Manager
20200212 AWS Black Belt Online Seminar AWS Systems ManagerAmazon Web Services Japan
 
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPNAmazon Web Services Japan
 
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQLAmazon Web Services Japan
 
20190604 AWS Black Belt Online Seminar Amazon Simple Notification Service (SNS)
20190604 AWS Black Belt Online Seminar Amazon Simple Notification Service (SNS)20190604 AWS Black Belt Online Seminar Amazon Simple Notification Service (SNS)
20190604 AWS Black Belt Online Seminar Amazon Simple Notification Service (SNS)Amazon Web Services Japan
 
AWS Black Belt Techシリーズ AWS Management Console
AWS Black Belt Techシリーズ AWS Management ConsoleAWS Black Belt Techシリーズ AWS Management Console
AWS Black Belt Techシリーズ AWS Management ConsoleAmazon Web Services Japan
 
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...Amazon Web Services Japan
 
20190814 AWS Black Belt Online Seminar AWS Serverless Application Model
20190814 AWS Black Belt Online Seminar AWS Serverless Application Model  20190814 AWS Black Belt Online Seminar AWS Serverless Application Model
20190814 AWS Black Belt Online Seminar AWS Serverless Application Model Amazon Web Services Japan
 
20200826 AWS Black Belt Online Seminar AWS CloudFormation
20200826 AWS Black Belt Online Seminar AWS CloudFormation 20200826 AWS Black Belt Online Seminar AWS CloudFormation
20200826 AWS Black Belt Online Seminar AWS CloudFormation Amazon Web Services Japan
 
AWS Black Belt Online Seminar 2017 Amazon Kinesis
AWS Black Belt Online Seminar 2017 Amazon KinesisAWS Black Belt Online Seminar 2017 Amazon Kinesis
AWS Black Belt Online Seminar 2017 Amazon KinesisAmazon Web Services Japan
 
20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...
20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...
20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...Amazon Web Services Japan
 
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報Amazon Web Services Japan
 
20190731 Black Belt Online Seminar Amazon ECS Deep Dive
20190731 Black Belt Online Seminar Amazon ECS Deep Dive20190731 Black Belt Online Seminar Amazon ECS Deep Dive
20190731 Black Belt Online Seminar Amazon ECS Deep DiveAmazon Web Services Japan
 
AWS Black Belt Online Seminar 2017 Amazon DynamoDB
AWS Black Belt Online Seminar 2017 Amazon DynamoDB AWS Black Belt Online Seminar 2017 Amazon DynamoDB
AWS Black Belt Online Seminar 2017 Amazon DynamoDB Amazon Web Services Japan
 
20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMR20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMRAmazon Web Services Japan
 
20190911 AWS Black Belt Online Seminar AWS Batch
20190911 AWS Black Belt Online Seminar AWS Batch20190911 AWS Black Belt Online Seminar AWS Batch
20190911 AWS Black Belt Online Seminar AWS BatchAmazon Web Services Japan
 

Was ist angesagt? (20)

20190514 AWS Black Belt Online Seminar Amazon API Gateway
20190514 AWS Black Belt Online Seminar Amazon API Gateway 20190514 AWS Black Belt Online Seminar Amazon API Gateway
20190514 AWS Black Belt Online Seminar Amazon API Gateway
 
20190522 AWS Black Belt Online Seminar AWS Step Functions
20190522 AWS Black Belt Online Seminar AWS Step Functions20190522 AWS Black Belt Online Seminar AWS Step Functions
20190522 AWS Black Belt Online Seminar AWS Step Functions
 
20191029 AWS Black Belt Online Seminar Elastic Load Balancing (ELB)
20191029 AWS Black Belt Online Seminar Elastic Load Balancing (ELB)20191029 AWS Black Belt Online Seminar Elastic Load Balancing (ELB)
20191029 AWS Black Belt Online Seminar Elastic Load Balancing (ELB)
 
20210316 AWS Black Belt Online Seminar AWS DataSync
20210316 AWS Black Belt Online Seminar AWS DataSync20210316 AWS Black Belt Online Seminar AWS DataSync
20210316 AWS Black Belt Online Seminar AWS DataSync
 
20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用
20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用
20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用
 
20200212 AWS Black Belt Online Seminar AWS Systems Manager
20200212 AWS Black Belt Online Seminar AWS Systems Manager20200212 AWS Black Belt Online Seminar AWS Systems Manager
20200212 AWS Black Belt Online Seminar AWS Systems Manager
 
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
 
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
 
20190604 AWS Black Belt Online Seminar Amazon Simple Notification Service (SNS)
20190604 AWS Black Belt Online Seminar Amazon Simple Notification Service (SNS)20190604 AWS Black Belt Online Seminar Amazon Simple Notification Service (SNS)
20190604 AWS Black Belt Online Seminar Amazon Simple Notification Service (SNS)
 
AWS Black Belt Techシリーズ AWS Management Console
AWS Black Belt Techシリーズ AWS Management ConsoleAWS Black Belt Techシリーズ AWS Management Console
AWS Black Belt Techシリーズ AWS Management Console
 
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
 
20190814 AWS Black Belt Online Seminar AWS Serverless Application Model
20190814 AWS Black Belt Online Seminar AWS Serverless Application Model  20190814 AWS Black Belt Online Seminar AWS Serverless Application Model
20190814 AWS Black Belt Online Seminar AWS Serverless Application Model
 
20200826 AWS Black Belt Online Seminar AWS CloudFormation
20200826 AWS Black Belt Online Seminar AWS CloudFormation 20200826 AWS Black Belt Online Seminar AWS CloudFormation
20200826 AWS Black Belt Online Seminar AWS CloudFormation
 
AWS Black Belt Online Seminar 2017 Amazon Kinesis
AWS Black Belt Online Seminar 2017 Amazon KinesisAWS Black Belt Online Seminar 2017 Amazon Kinesis
AWS Black Belt Online Seminar 2017 Amazon Kinesis
 
20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...
20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...
20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...
 
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
 
20190731 Black Belt Online Seminar Amazon ECS Deep Dive
20190731 Black Belt Online Seminar Amazon ECS Deep Dive20190731 Black Belt Online Seminar Amazon ECS Deep Dive
20190731 Black Belt Online Seminar Amazon ECS Deep Dive
 
AWS Black Belt Online Seminar 2017 Amazon DynamoDB
AWS Black Belt Online Seminar 2017 Amazon DynamoDB AWS Black Belt Online Seminar 2017 Amazon DynamoDB
AWS Black Belt Online Seminar 2017 Amazon DynamoDB
 
20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMR20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMR
 
20190911 AWS Black Belt Online Seminar AWS Batch
20190911 AWS Black Belt Online Seminar AWS Batch20190911 AWS Black Belt Online Seminar AWS Batch
20190911 AWS Black Belt Online Seminar AWS Batch
 

Ähnlich wie 20200930 AWS Black Belt Online Seminar Amazon Kinesis Video Streams

Deep Dive - Amazon Kinesis Video Streams - AWS Online Tech Talks
Deep Dive - Amazon Kinesis Video Streams - AWS Online Tech TalksDeep Dive - Amazon Kinesis Video Streams - AWS Online Tech Talks
Deep Dive - Amazon Kinesis Video Streams - AWS Online Tech TalksAmazon Web Services
 
Stream Video, Analyze It in Real Time, and Share It in Real Time (ANT357) - A...
Stream Video, Analyze It in Real Time, and Share It in Real Time (ANT357) - A...Stream Video, Analyze It in Real Time, and Share It in Real Time (ANT357) - A...
Stream Video, Analyze It in Real Time, and Share It in Real Time (ANT357) - A...Amazon Web Services
 
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017Amazon Web Services
 
NEW LAUNCH! Introducing Amazon Kinesis Video Streams - ABD216 - re:Invent 2017
NEW LAUNCH! Introducing Amazon Kinesis Video Streams - ABD216 - re:Invent 2017NEW LAUNCH! Introducing Amazon Kinesis Video Streams - ABD216 - re:Invent 2017
NEW LAUNCH! Introducing Amazon Kinesis Video Streams - ABD216 - re:Invent 2017Amazon Web Services
 
NEW LAUNCH! Stream video from edge devices to AWS for playback, storage and p...
NEW LAUNCH! Stream video from edge devices to AWS for playback, storage and p...NEW LAUNCH! Stream video from edge devices to AWS for playback, storage and p...
NEW LAUNCH! Stream video from edge devices to AWS for playback, storage and p...Amazon Web Services
 
Serverless Video Ingestion & Analytics with Amazon Kinesis Video Streams (ANT...
Serverless Video Ingestion & Analytics with Amazon Kinesis Video Streams (ANT...Serverless Video Ingestion & Analytics with Amazon Kinesis Video Streams (ANT...
Serverless Video Ingestion & Analytics with Amazon Kinesis Video Streams (ANT...Amazon Web Services
 
Analisi avanzata di video e immagini con i servizi AI di AWS
Analisi avanzata di video e immagini con i servizi AI di AWSAnalisi avanzata di video e immagini con i servizi AI di AWS
Analisi avanzata di video e immagini con i servizi AI di AWSAmazon Web Services
 
Applying ML on your Data in Motion with AWS and Confluent | Joseph Morais, Co...
Applying ML on your Data in Motion with AWS and Confluent | Joseph Morais, Co...Applying ML on your Data in Motion with AWS and Confluent | Joseph Morais, Co...
Applying ML on your Data in Motion with AWS and Confluent | Joseph Morais, Co...HostedbyConfluent
 
[AWS LA Media & Entertainment Event 2015]: M&E Ecosystem Update Q4 2015
[AWS LA Media & Entertainment Event 2015]: M&E Ecosystem Update Q4 2015[AWS LA Media & Entertainment Event 2015]: M&E Ecosystem Update Q4 2015
[AWS LA Media & Entertainment Event 2015]: M&E Ecosystem Update Q4 2015Amazon Web Services
 
Perfecting the Media Workflow Experience on AWS - Ben Masek, 월드와이드 미디어 사업개발 헤...
Perfecting the Media Workflow Experience on AWS - Ben Masek, 월드와이드 미디어 사업개발 헤...Perfecting the Media Workflow Experience on AWS - Ben Masek, 월드와이드 미디어 사업개발 헤...
Perfecting the Media Workflow Experience on AWS - Ben Masek, 월드와이드 미디어 사업개발 헤...Amazon Web Services Korea
 
Infrastructure Security: Your Minimum Security Baseline
Infrastructure Security: Your Minimum Security BaselineInfrastructure Security: Your Minimum Security Baseline
Infrastructure Security: Your Minimum Security BaselineAmazon Web Services
 
Data Lake Patterns for Voice, Vision, Advanced Analytics, & ML Using Serverle...
Data Lake Patterns for Voice, Vision, Advanced Analytics, & ML Using Serverle...Data Lake Patterns for Voice, Vision, Advanced Analytics, & ML Using Serverle...
Data Lake Patterns for Voice, Vision, Advanced Analytics, & ML Using Serverle...Amazon Web Services
 
Innovation in the Partner Ecosystem: NY Symposium
Innovation in the Partner Ecosystem: NY SymposiumInnovation in the Partner Ecosystem: NY Symposium
Innovation in the Partner Ecosystem: NY SymposiumAmazon Web Services
 
NEW LAUNCH! Build your own live streaming and on-demand video service with AW...
NEW LAUNCH! Build your own live streaming and on-demand video service with AW...NEW LAUNCH! Build your own live streaming and on-demand video service with AW...
NEW LAUNCH! Build your own live streaming and on-demand video service with AW...Amazon Web Services
 
Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...
Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...
Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...AWS Summits
 
Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...
Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...
Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...Amazon Web Services
 
Capture and Stream Live and On-Demand Video for the Public Sector
Capture and Stream Live and On-Demand Video for the Public SectorCapture and Stream Live and On-Demand Video for the Public Sector
Capture and Stream Live and On-Demand Video for the Public SectorAmazon Web Services
 
Media Processing Workflows at High Velocity and Scale using AI and ML - AWS O...
Media Processing Workflows at High Velocity and Scale using AI and ML - AWS O...Media Processing Workflows at High Velocity and Scale using AI and ML - AWS O...
Media Processing Workflows at High Velocity and Scale using AI and ML - AWS O...Amazon Web Services
 
All the World’s a Stage: Enriching Minds with OTT Video (CTD204) - AWS re:Inv...
All the World’s a Stage: Enriching Minds with OTT Video (CTD204) - AWS re:Inv...All the World’s a Stage: Enriching Minds with OTT Video (CTD204) - AWS re:Inv...
All the World’s a Stage: Enriching Minds with OTT Video (CTD204) - AWS re:Inv...Amazon Web Services
 
DevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon WayDevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon WayAmazon Web Services
 

Ähnlich wie 20200930 AWS Black Belt Online Seminar Amazon Kinesis Video Streams (20)

Deep Dive - Amazon Kinesis Video Streams - AWS Online Tech Talks
Deep Dive - Amazon Kinesis Video Streams - AWS Online Tech TalksDeep Dive - Amazon Kinesis Video Streams - AWS Online Tech Talks
Deep Dive - Amazon Kinesis Video Streams - AWS Online Tech Talks
 
Stream Video, Analyze It in Real Time, and Share It in Real Time (ANT357) - A...
Stream Video, Analyze It in Real Time, and Share It in Real Time (ANT357) - A...Stream Video, Analyze It in Real Time, and Share It in Real Time (ANT357) - A...
Stream Video, Analyze It in Real Time, and Share It in Real Time (ANT357) - A...
 
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017
 
NEW LAUNCH! Introducing Amazon Kinesis Video Streams - ABD216 - re:Invent 2017
NEW LAUNCH! Introducing Amazon Kinesis Video Streams - ABD216 - re:Invent 2017NEW LAUNCH! Introducing Amazon Kinesis Video Streams - ABD216 - re:Invent 2017
NEW LAUNCH! Introducing Amazon Kinesis Video Streams - ABD216 - re:Invent 2017
 
NEW LAUNCH! Stream video from edge devices to AWS for playback, storage and p...
NEW LAUNCH! Stream video from edge devices to AWS for playback, storage and p...NEW LAUNCH! Stream video from edge devices to AWS for playback, storage and p...
NEW LAUNCH! Stream video from edge devices to AWS for playback, storage and p...
 
Serverless Video Ingestion & Analytics with Amazon Kinesis Video Streams (ANT...
Serverless Video Ingestion & Analytics with Amazon Kinesis Video Streams (ANT...Serverless Video Ingestion & Analytics with Amazon Kinesis Video Streams (ANT...
Serverless Video Ingestion & Analytics with Amazon Kinesis Video Streams (ANT...
 
Analisi avanzata di video e immagini con i servizi AI di AWS
Analisi avanzata di video e immagini con i servizi AI di AWSAnalisi avanzata di video e immagini con i servizi AI di AWS
Analisi avanzata di video e immagini con i servizi AI di AWS
 
Applying ML on your Data in Motion with AWS and Confluent | Joseph Morais, Co...
Applying ML on your Data in Motion with AWS and Confluent | Joseph Morais, Co...Applying ML on your Data in Motion with AWS and Confluent | Joseph Morais, Co...
Applying ML on your Data in Motion with AWS and Confluent | Joseph Morais, Co...
 
[AWS LA Media & Entertainment Event 2015]: M&E Ecosystem Update Q4 2015
[AWS LA Media & Entertainment Event 2015]: M&E Ecosystem Update Q4 2015[AWS LA Media & Entertainment Event 2015]: M&E Ecosystem Update Q4 2015
[AWS LA Media & Entertainment Event 2015]: M&E Ecosystem Update Q4 2015
 
Perfecting the Media Workflow Experience on AWS - Ben Masek, 월드와이드 미디어 사업개발 헤...
Perfecting the Media Workflow Experience on AWS - Ben Masek, 월드와이드 미디어 사업개발 헤...Perfecting the Media Workflow Experience on AWS - Ben Masek, 월드와이드 미디어 사업개발 헤...
Perfecting the Media Workflow Experience on AWS - Ben Masek, 월드와이드 미디어 사업개발 헤...
 
Infrastructure Security: Your Minimum Security Baseline
Infrastructure Security: Your Minimum Security BaselineInfrastructure Security: Your Minimum Security Baseline
Infrastructure Security: Your Minimum Security Baseline
 
Data Lake Patterns for Voice, Vision, Advanced Analytics, & ML Using Serverle...
Data Lake Patterns for Voice, Vision, Advanced Analytics, & ML Using Serverle...Data Lake Patterns for Voice, Vision, Advanced Analytics, & ML Using Serverle...
Data Lake Patterns for Voice, Vision, Advanced Analytics, & ML Using Serverle...
 
Innovation in the Partner Ecosystem: NY Symposium
Innovation in the Partner Ecosystem: NY SymposiumInnovation in the Partner Ecosystem: NY Symposium
Innovation in the Partner Ecosystem: NY Symposium
 
NEW LAUNCH! Build your own live streaming and on-demand video service with AW...
NEW LAUNCH! Build your own live streaming and on-demand video service with AW...NEW LAUNCH! Build your own live streaming and on-demand video service with AW...
NEW LAUNCH! Build your own live streaming and on-demand video service with AW...
 
Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...
Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...
Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...
 
Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...
Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...
Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...
 
Capture and Stream Live and On-Demand Video for the Public Sector
Capture and Stream Live and On-Demand Video for the Public SectorCapture and Stream Live and On-Demand Video for the Public Sector
Capture and Stream Live and On-Demand Video for the Public Sector
 
Media Processing Workflows at High Velocity and Scale using AI and ML - AWS O...
Media Processing Workflows at High Velocity and Scale using AI and ML - AWS O...Media Processing Workflows at High Velocity and Scale using AI and ML - AWS O...
Media Processing Workflows at High Velocity and Scale using AI and ML - AWS O...
 
All the World’s a Stage: Enriching Minds with OTT Video (CTD204) - AWS re:Inv...
All the World’s a Stage: Enriching Minds with OTT Video (CTD204) - AWS re:Inv...All the World’s a Stage: Enriching Minds with OTT Video (CTD204) - AWS re:Inv...
All the World’s a Stage: Enriching Minds with OTT Video (CTD204) - AWS re:Inv...
 
DevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon WayDevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon Way
 

Mehr von Amazon Web Services Japan

Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデートAmazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデートAmazon Web Services Japan
 
20220409 AWS BLEA 開発にあたって検討したこと
20220409 AWS BLEA 開発にあたって検討したこと20220409 AWS BLEA 開発にあたって検討したこと
20220409 AWS BLEA 開発にあたって検討したことAmazon Web Services Japan
 
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介Amazon Web Services Japan
 
マルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことマルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことAmazon Web Services Japan
 
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチAmazon Web Services Japan
 
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介Amazon Web Services Japan
 
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...Amazon Web Services Japan
 
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operationsAmazon Web Services Japan
 
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをなAmazon Web Services Japan
 
AWS IoT Coreを オンプレミス環境と使う際の アーキテクチャ例 (AWS IoT Deep Dive #5)
AWS IoT Coreを オンプレミス環境と使う際の アーキテクチャ例 (AWS IoT Deep Dive #5)AWS IoT Coreを オンプレミス環境と使う際の アーキテクチャ例 (AWS IoT Deep Dive #5)
AWS IoT Coreを オンプレミス環境と使う際の アーキテクチャ例 (AWS IoT Deep Dive #5)Amazon Web Services Japan
 
AWS IoT SiteWise のご紹介 (AWS IoT Deep Dive #5)
AWS IoT SiteWise のご紹介 (AWS IoT Deep Dive #5)AWS IoT SiteWise のご紹介 (AWS IoT Deep Dive #5)
AWS IoT SiteWise のご紹介 (AWS IoT Deep Dive #5)Amazon Web Services Japan
 
製造装置データ収集の選択肢 (AWS IoT Deep Dive #5)
製造装置データ収集の選択肢 (AWS IoT Deep Dive #5)製造装置データ収集の選択肢 (AWS IoT Deep Dive #5)
製造装置データ収集の選択肢 (AWS IoT Deep Dive #5)Amazon Web Services Japan
 
IoT@Loft#20 - IoTプラットフォームを進化さ せるAWSの活用方法
IoT@Loft#20 - IoTプラットフォームを進化さ せるAWSの活用方法IoT@Loft#20 - IoTプラットフォームを進化さ せるAWSの活用方法
IoT@Loft#20 - IoTプラットフォームを進化さ せるAWSの活用方法Amazon Web Services Japan
 
202106 AWS Black Belt Online Seminar 小売現場のデータを素早くビジネス に活用するAWSデータ基盤
202106 AWS Black Belt Online Seminar 小売現場のデータを素早くビジネス に活用するAWSデータ基盤202106 AWS Black Belt Online Seminar 小売現場のデータを素早くビジネス に活用するAWSデータ基盤
202106 AWS Black Belt Online Seminar 小売現場のデータを素早くビジネス に活用するAWSデータ基盤Amazon Web Services Japan
 

Mehr von Amazon Web Services Japan (20)

Infrastructure as Code (IaC) 談義 2022
Infrastructure as Code (IaC) 談義 2022Infrastructure as Code (IaC) 談義 2022
Infrastructure as Code (IaC) 談義 2022
 
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデートAmazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
 
20220409 AWS BLEA 開発にあたって検討したこと
20220409 AWS BLEA 開発にあたって検討したこと20220409 AWS BLEA 開発にあたって検討したこと
20220409 AWS BLEA 開発にあたって検討したこと
 
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
 
マルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことマルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのこと
 
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
 
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
 
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
 
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
 
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
 
20211109 JAWS-UG SRE keynotes
20211109 JAWS-UG SRE keynotes20211109 JAWS-UG SRE keynotes
20211109 JAWS-UG SRE keynotes
 
20211109 bleaの使い方(基本編)
20211109 bleaの使い方(基本編)20211109 bleaの使い方(基本編)
20211109 bleaの使い方(基本編)
 
AWS の IoT 向けサービス
AWS の IoT 向けサービスAWS の IoT 向けサービス
AWS の IoT 向けサービス
 
AWS IoT Coreを オンプレミス環境と使う際の アーキテクチャ例 (AWS IoT Deep Dive #5)
AWS IoT Coreを オンプレミス環境と使う際の アーキテクチャ例 (AWS IoT Deep Dive #5)AWS IoT Coreを オンプレミス環境と使う際の アーキテクチャ例 (AWS IoT Deep Dive #5)
AWS IoT Coreを オンプレミス環境と使う際の アーキテクチャ例 (AWS IoT Deep Dive #5)
 
AWS IoT SiteWise のご紹介 (AWS IoT Deep Dive #5)
AWS IoT SiteWise のご紹介 (AWS IoT Deep Dive #5)AWS IoT SiteWise のご紹介 (AWS IoT Deep Dive #5)
AWS IoT SiteWise のご紹介 (AWS IoT Deep Dive #5)
 
製造装置データ収集の選択肢 (AWS IoT Deep Dive #5)
製造装置データ収集の選択肢 (AWS IoT Deep Dive #5)製造装置データ収集の選択肢 (AWS IoT Deep Dive #5)
製造装置データ収集の選択肢 (AWS IoT Deep Dive #5)
 
IoT@Loft#20 - IoTプラットフォームを進化さ せるAWSの活用方法
IoT@Loft#20 - IoTプラットフォームを進化さ せるAWSの活用方法IoT@Loft#20 - IoTプラットフォームを進化さ せるAWSの活用方法
IoT@Loft#20 - IoTプラットフォームを進化さ せるAWSの活用方法
 
202106 AWS Black Belt Online Seminar 小売現場のデータを素早くビジネス に活用するAWSデータ基盤
202106 AWS Black Belt Online Seminar 小売現場のデータを素早くビジネス に活用するAWSデータ基盤202106 AWS Black Belt Online Seminar 小売現場のデータを素早くビジネス に活用するAWSデータ基盤
202106 AWS Black Belt Online Seminar 小売現場のデータを素早くビジネス に活用するAWSデータ基盤
 
03_AWS IoTのDRを考える
03_AWS IoTのDRを考える03_AWS IoTのDRを考える
03_AWS IoTのDRを考える
 
02B_AWS IoT Core for LoRaWANのご紹介
02B_AWS IoT Core for LoRaWANのご紹介02B_AWS IoT Core for LoRaWANのご紹介
02B_AWS IoT Core for LoRaWANのご紹介
 

Último

UiPath Studio Web workshop series - Day 1
UiPath Studio Web workshop series  - Day 1UiPath Studio Web workshop series  - Day 1
UiPath Studio Web workshop series - Day 1DianaGray10
 
The New Cloud World Order Is FinOps (Slideshow)
The New Cloud World Order Is FinOps (Slideshow)The New Cloud World Order Is FinOps (Slideshow)
The New Cloud World Order Is FinOps (Slideshow)codyslingerland1
 
Where developers are challenged, what developers want and where DevEx is going
Where developers are challenged, what developers want and where DevEx is goingWhere developers are challenged, what developers want and where DevEx is going
Where developers are challenged, what developers want and where DevEx is goingFrancesco Corti
 
From the origin to the future of Open Source model and business
From the origin to the future of  Open Source model and businessFrom the origin to the future of  Open Source model and business
From the origin to the future of Open Source model and businessFrancesco Corti
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
 
Extra-120324-Visite-Entreprise-icare.pdf
Extra-120324-Visite-Entreprise-icare.pdfExtra-120324-Visite-Entreprise-icare.pdf
Extra-120324-Visite-Entreprise-icare.pdfInfopole1
 
Q4 2023 Quarterly Investor Presentation - FINAL - v1.pdf
Q4 2023 Quarterly Investor Presentation - FINAL - v1.pdfQ4 2023 Quarterly Investor Presentation - FINAL - v1.pdf
Q4 2023 Quarterly Investor Presentation - FINAL - v1.pdfTejal81
 
Stobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
Stobox 4: Revolutionizing Investment in Real-World Assets Through TokenizationStobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
Stobox 4: Revolutionizing Investment in Real-World Assets Through TokenizationStobox
 
3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud DataEric D. Schabell
 
Introduction to RAG (Retrieval Augmented Generation) and its application
Introduction to RAG (Retrieval Augmented Generation) and its applicationIntroduction to RAG (Retrieval Augmented Generation) and its application
Introduction to RAG (Retrieval Augmented Generation) and its applicationKnoldus Inc.
 
Graphene Quantum Dots-Based Composites for Biomedical Applications
Graphene Quantum Dots-Based Composites for  Biomedical ApplicationsGraphene Quantum Dots-Based Composites for  Biomedical Applications
Graphene Quantum Dots-Based Composites for Biomedical Applicationsnooralam814309
 
Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...DianaGray10
 
.NET 8 ChatBot with Azure OpenAI Services.pptx
.NET 8 ChatBot with Azure OpenAI Services.pptx.NET 8 ChatBot with Azure OpenAI Services.pptx
.NET 8 ChatBot with Azure OpenAI Services.pptxHansamali Gamage
 
Introduction - IPLOOK NETWORKS CO., LTD.
Introduction - IPLOOK NETWORKS CO., LTD.Introduction - IPLOOK NETWORKS CO., LTD.
Introduction - IPLOOK NETWORKS CO., LTD.IPLOOK Networks
 
My key hands-on projects in Quantum, and QAI
My key hands-on projects in Quantum, and QAIMy key hands-on projects in Quantum, and QAI
My key hands-on projects in Quantum, and QAIVijayananda Mohire
 
Outage Analysis: March 5th/6th 2024 Meta, Comcast, and LinkedIn
Outage Analysis: March 5th/6th 2024 Meta, Comcast, and LinkedInOutage Analysis: March 5th/6th 2024 Meta, Comcast, and LinkedIn
Outage Analysis: March 5th/6th 2024 Meta, Comcast, and LinkedInThousandEyes
 
Scenario Library et REX Discover industry- and role- based scenarios
Scenario Library et REX Discover industry- and role- based scenariosScenario Library et REX Discover industry- and role- based scenarios
Scenario Library et REX Discover industry- and role- based scenariosErol GIRAUDY
 
Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)Muhammad Tiham Siddiqui
 
Technical SEO for Improved Accessibility WTS FEST
Technical SEO for Improved Accessibility  WTS FESTTechnical SEO for Improved Accessibility  WTS FEST
Technical SEO for Improved Accessibility WTS FESTBillieHyde
 

Último (20)

UiPath Studio Web workshop series - Day 1
UiPath Studio Web workshop series  - Day 1UiPath Studio Web workshop series  - Day 1
UiPath Studio Web workshop series - Day 1
 
The New Cloud World Order Is FinOps (Slideshow)
The New Cloud World Order Is FinOps (Slideshow)The New Cloud World Order Is FinOps (Slideshow)
The New Cloud World Order Is FinOps (Slideshow)
 
Where developers are challenged, what developers want and where DevEx is going
Where developers are challenged, what developers want and where DevEx is goingWhere developers are challenged, what developers want and where DevEx is going
Where developers are challenged, what developers want and where DevEx is going
 
From the origin to the future of Open Source model and business
From the origin to the future of  Open Source model and businessFrom the origin to the future of  Open Source model and business
From the origin to the future of Open Source model and business
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Extra-120324-Visite-Entreprise-icare.pdf
Extra-120324-Visite-Entreprise-icare.pdfExtra-120324-Visite-Entreprise-icare.pdf
Extra-120324-Visite-Entreprise-icare.pdf
 
Q4 2023 Quarterly Investor Presentation - FINAL - v1.pdf
Q4 2023 Quarterly Investor Presentation - FINAL - v1.pdfQ4 2023 Quarterly Investor Presentation - FINAL - v1.pdf
Q4 2023 Quarterly Investor Presentation - FINAL - v1.pdf
 
Stobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
Stobox 4: Revolutionizing Investment in Real-World Assets Through TokenizationStobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
Stobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
 
3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data
 
Introduction to RAG (Retrieval Augmented Generation) and its application
Introduction to RAG (Retrieval Augmented Generation) and its applicationIntroduction to RAG (Retrieval Augmented Generation) and its application
Introduction to RAG (Retrieval Augmented Generation) and its application
 
Graphene Quantum Dots-Based Composites for Biomedical Applications
Graphene Quantum Dots-Based Composites for  Biomedical ApplicationsGraphene Quantum Dots-Based Composites for  Biomedical Applications
Graphene Quantum Dots-Based Composites for Biomedical Applications
 
Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...
 
.NET 8 ChatBot with Azure OpenAI Services.pptx
.NET 8 ChatBot with Azure OpenAI Services.pptx.NET 8 ChatBot with Azure OpenAI Services.pptx
.NET 8 ChatBot with Azure OpenAI Services.pptx
 
Introduction - IPLOOK NETWORKS CO., LTD.
Introduction - IPLOOK NETWORKS CO., LTD.Introduction - IPLOOK NETWORKS CO., LTD.
Introduction - IPLOOK NETWORKS CO., LTD.
 
SheDev 2024
SheDev 2024SheDev 2024
SheDev 2024
 
My key hands-on projects in Quantum, and QAI
My key hands-on projects in Quantum, and QAIMy key hands-on projects in Quantum, and QAI
My key hands-on projects in Quantum, and QAI
 
Outage Analysis: March 5th/6th 2024 Meta, Comcast, and LinkedIn
Outage Analysis: March 5th/6th 2024 Meta, Comcast, and LinkedInOutage Analysis: March 5th/6th 2024 Meta, Comcast, and LinkedIn
Outage Analysis: March 5th/6th 2024 Meta, Comcast, and LinkedIn
 
Scenario Library et REX Discover industry- and role- based scenarios
Scenario Library et REX Discover industry- and role- based scenariosScenario Library et REX Discover industry- and role- based scenarios
Scenario Library et REX Discover industry- and role- based scenarios
 
Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)
 
Technical SEO for Improved Accessibility WTS FEST
Technical SEO for Improved Accessibility  WTS FESTTechnical SEO for Improved Accessibility  WTS FEST
Technical SEO for Improved Accessibility WTS FEST
 

20200930 AWS Black Belt Online Seminar Amazon Kinesis Video Streams

  • 1. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS 公式 Webinar https://amzn.to/JPWebinar 過去資料 https://amzn.to/JPArchive Solutions Architect 三平 悠磨 2020/09/30 Amazon Kinesis Video Streams サービスカットシリーズ [AWS Black Belt Online Seminar]
  • 2. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ⾃⼰紹介 • 三平 悠磨 • IoT Specialist SA • 経歴 • 会話AI開発 • 家庭⽤ロボット開発 • 好きなサービス • AWS IoT Greengrass • Amazon Kinesis Video Streams • Twitter: @yu_ma_m
  • 3. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Black Belt Online Seminar とは 「サービス別」「ソリューション別」「業種別」のそれぞれのテーマに分かれて、アマゾ ン ウェブ サービス ジャパン株式会社が主催するオンラインセミナーシリーズです。 質問を投げることができます︕ • 書き込んだ質問は、主催者にしか⾒えません • 今後のロードマップに関するご質問は お答えできませんのでご了承下さい Twitter ハッシュタグは以下をご利⽤ください #awsblackbelt ① 吹き出しをクリック ② 質問を⼊⼒ ③ Sendをクリック
  • 4. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 内容についての注意点 • 本資料では2020年09⽉30⽇時点のサービス内容および価格についてご説明しています。最新の 情報はAWS公式ウェブサイト(http://aws.amazon.com)にてご確認ください。 • 資料作成には⼗分注意しておりますが、資料内の価格とAWS公式ウェブサイト記載の価格に相 違があった場合、AWS公式ウェブサイトの価格を優先とさせていただきます。 • 価格は税抜表記となっています。⽇本居住者のお客様には別途消費税をご請求させていただきま す。 • AWS does not offer binding price quotes. AWS pricing is publicly available and is subject to change in accordance with the AWS Customer Agreement available at http://aws.amazon.com/agreement/. Any pricing information included in this document is provided only as an estimate of usage charges for AWS services based on certain information that you have provided. Monthly charges will be based on your actual use of AWS services, and may vary from the estimates provided.
  • 5. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本⽇のアジェンダ • Amazon Kinesis Video Streams の概要 • Amazon Kinesis Video Streams - メディア形式で収集 1. メディアの取り込み 2. メディアの保存とインデックス 3. メディアの再⽣ 4. メディアの分析 • Amazon Kinesis Video Streams – WebRTC • Amazon Kinesis Video Streams を活⽤した構成例 • サービス利⽤上のポイント • まとめ
  • 6. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本⽇のアジェンダ • Amazon Kinesis Video Streams の概要 • Amazon Kinesis Video Streams - メディア形式で収集 1. メディアの取り込み 2. メディアの保存とインデックス 3. メディアの再⽣ 4. メディアの分析 • Amazon Kinesis Video Streams – WebRTC • Amazon Kinesis Video Streams を活⽤した構成例 • サービス利⽤上のポイント • まとめ
  • 7. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. IoT における動画・⾳声のユースケースの例 ペットカメラ、⾒守りカメラ インターホン スマートスピーカー、⽂字起こしシステム ドローン、ロボット 監視カメラ、ドライブレコーダー スマートファクトリー デバイスからメディア(動画・⾳声)を収集して、再⽣・分析に利⽤する
  • 8. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. IoT メディアユースケースにおける技術領域 コネクテッドデバイス • デバイスとの通信 • 遠隔制御 • デバイスの監視・管 理 映像伝送・保存 • クラウドへの送信 • メディアの⻑期保存 • ライブ再⽣・オンデ マンド再⽣ • メディアのエクス ポート 分析・機械学習 • フレームの取り出し • 画像認識 • 動画分析 アプリケーション連携 • モバイル・ウェブア プリ • ユーザとデバイスの 紐付け • ユーザや管理者への 通知
  • 9. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. IoT メディアユースケースにおける課題 コネクテッドデバイス • デバイスとの通信 • 遠隔制御 • デバイスの監視・管 理 映像伝送・保存 • クラウドへの送信 • ライブ再⽣・オンデ マンド再⽣ • 動画のエクスポート • 動画の⻑期保存 分析・機械学習 • フレームの取り出し • 画像認識 • 動画分析 アプリケーション連携 • モバイル・ウェブア プリ • ユーザとデバイスの 紐付け • ユーザや管理者への 通知 スケーラビリティ・セキュリティ デバイス向けソフト ウェア開発 動画ストリーミング の専⾨知識 機械学習や画像処理 の専⾨知識 アプリケーション開 発
  • 10. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. IoT メディアユースケースにおける課題 コネクテッドデバイス • デバイスとの通信 • 遠隔制御 • デバイスの監視・管 理 映像伝送・保存 • クラウドへの送信 • ライブ再⽣・オンデ マンド再⽣ • 動画のエクスポート • 動画の⻑期保存 分析・機械学習 • フレームの取り出し • 画像認識 • 動画分析 アプリケーション連携 • モバイル・ウェブア プリ • ユーザとデバイスの 紐付け • ユーザや管理者への 通知 スケーラビリティ・セキュリティ デバイス向けソフト ウェア開発 動画ストリーミング の専⾨知識 機械学習や画像処理 の専⾨知識 アプリケーション開 発
  • 11. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. IoT メディアユースケースにおける課題 コネクテッドデバイス • デバイスとの通信 • 遠隔制御 • デバイスの監視・管 理 映像伝送・保存 • クラウドへの送信 • ライブ再⽣・オンデ マンド再⽣ • 動画のエクスポート • 動画の⻑期保存 分析・機械学習 • フレームの取り出し • 画像認識 • 動画分析 アプリケーション連携 • モバイル・ウェブア プリ • ユーザとデバイスの 紐付け • ユーザや管理者への 通知 スケーラビリティ・セキュリティ デバイス向けソフト ウェア開発 動画ストリーミング の専⾨知識 機械学習や画像処理 の専⾨知識 アプリケーション開 発
  • 12. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. IoT メディアユースケースにおける課題 コネクテッドデバイス • デバイスとの通信 • 遠隔制御 • デバイスの監視・管 理 映像伝送・保存 • クラウドへの送信 • ライブ再⽣・オンデ マンド再⽣ • 動画のエクスポート • 動画の⻑期保存 分析・機械学習 • フレームの取り出し • 画像認識 • 動画分析 アプリケーション連携 • モバイル・ウェブア プリ • ユーザとデバイスの 紐付け • ユーザや管理者への 通知 スケーラビリティ・セキュリティ デバイス向けソフト ウェア開発 動画ストリーミング の専⾨知識 機械学習や画像処理 の専⾨知識 アプリケーション開 発
  • 13. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Kinesis Video Streams および AWS サービスで カバーできる技術領域 コネクテッドデバイス • デバイスとの通信 • 遠隔制御 • デバイスの監視・管 理 映像伝送・保存 • クラウドへの送信 • ライブ再⽣・オンデ マンド再⽣ • 動画のエクスポート • 動画の⻑期保存 分析・機械学習 • フレームの取り出し • 画像認識 • 動画分析 アプリケーション連携 • モバイル・ウェブア プリ • ユーザとデバイスの 紐付け • ユーザや管理者への 通知 Amazon Kinesis Video Streams AWS IoT Core Amazon S3 Amazon Rekognition Video Amazon SageMaker Amazon Cognito Amazon SNSAWS SDK 各種
  • 14. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Kinesis Video Streams - 2種類のストリーミング⽅法 数百万台規模のデバイスからのセキュ アなデータ取り込み • 時系列でインデックスされたメディア データの保存とAPI経由での検索 • カメラデバイス向けのSDK • メディアの再⽣と機械学習サービスとの 統合 WebRTC によるリアルタイムの双⽅向 メディアストリーミング • シグナリング、STUN、TURN のマネージ ドサービス • 組み込みデバイス向けSDK、ウェブ・モ バイルアプリ向けのSDK Amazon Rekognition Video Amazon SageMaker HLS and DASH Playback Custom Video Processing Third-Party Partners Amazon Kinesis Video Streams シグナリング TURN STUN 双方向のメディア・データのストリーミング WebRTCメディア形式で収集
  • 15. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Kinesis Video Streams の使い分け メディア形式で収集 WebRTC 動画データのクラウド保存 機械学習サービスでの分析 できる できない 双⽅向ストリーミング できない できる ライブ再⽣時のレイテンシ 2秒〜 1秒未満 カメラデバイスからの ストリーミングに利⽤する SDK Producer SDK WebRTC SDK WebRTCメディア形式で収集
  • 16. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本⽇のアジェンダ • Amazon Kinesis Video Streams の概要 • Amazon Kinesis Video Streams - メディア形式で収集 1. メディアの取り込み 2. メディアの保存とインデックス 3. メディアの再⽣ 4. メディアの分析 • Amazon Kinesis Video Streams – WebRTC • Amazon Kinesis Video Streams を活⽤した構成例 • サービス利⽤上のポイント • まとめ メディア形式で収集
  • 17. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. アーキテクチャの概要 Amazon Kinesis Video Streams ストリーム 1. メディアの 取り込み ストリーム 2. メディアの保存 とインデックス プロデューサー コンシューマー 3. メディアの 再⽣ Amazon Rekognition Video Amazon SageMakerAmazon ECS Amazon EC2 4. メディアの 分析 メディア形式で収集 (内部の) Amazon S3 時間ベースの インデックス
  • 18. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. スケールアウトの単位 • 基本的にプロデューサーとストリームは1対1の関係 • ストリームの単位で何百万ものデバイスにスケール • PutMedia APIに呼出頻度や帯域幅の制限があるが、 それ以外にストリームのキャパシティ管理は不要 • デバイスのプロビジョニング時に、CreateStream APIによりストリームを動的に作成することを推奨 プロデューサー ストリーム • ストリームとコンシューマーは1対Nの関係だが、 GetMedia API の同時接続数には制限がある • コンシューマーは処理内容の役割ごとに分ける • コンシューマー単位での分散処理はせず、 分散処理が必要であればフレーム単位などで考える • 同じ理由で、不特定多数への動画配信にも向かない PutMedia PutMedia PutMedia GetMedia GetMedia GetMediaForFragmentList コンシューマー 分散処理 再⽣ 分析A 分析B メディア形式で収集
  • 19. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. コンテナ と コーデック 動画データのフォーマット n コンテナ(コンテナフォーマット) • 映像データと⾳声データなどをまとめて動画データ にするためのファイルフォーマット(⼊れ物に相当) • ⼊れ物なので、画質や⾳質には影響しない • 代表的なコンテナとして、MP4、AVI、MOV、MKV な どがある n コーデック • コンテナに⼊れるデータを圧縮するためのアルゴリズム • 映像データや⾳声データにそれぞれコーデックがある • コンテナによって使⽤可能なコーデックが決まっている • 代表的な映像コーデックとして H.264、H.265、VP8 な どがある コンテナ MP4/AVI/MOV/MKVなど 映像データ 映像コーデック H.264/H.265/ VP8/VP9/AV1/ Motion JPEG など ⾳声データ ⾳声コーデック MP3/AAC/ G.711/Vorbis/ FLAC など メディア形式で収集
  • 20. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本⽇のアジェンダ • Amazon Kinesis Video Streams の概要 • Amazon Kinesis Video Streams - メディア形式で収集 1. メディアの取り込み 2. メディアの保存とインデックス 3. メディアの再⽣ 4. メディアの分析 • Amazon Kinesis Video Streams – WebRTC • Amazon Kinesis Video Streams を活⽤した構成例 • サービス利⽤上のポイント • まとめ メディア形式で収集
  • 21. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. メディアの取り込み メディアの取り込み⽅法 • PutMedia API による取り込み • Amazon Kinesis Video Streams Producer SDK の 利⽤ (C, C++, Java, Android) メディアの取り込み経路 • カメラデバイスからの直接のストリーミング • カメラと同⼀ネットワーク内のプロキシやゲー トウェイ経由での取り込み https://docs.aws.amazon.com/ja_jp/kinesisvideostreams/latest/dg/producer-sdk.html Amazon Kinesis Video Streams メディア形式で収集 ゲートウェイ
  • 22. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. PutMedia API POST /putMedia HTTP/1.1 x-amzn-stream-name: StreamName x-amzn-stream-arn: StreamARN x-amzn-fragment-timecode-type: FragmentTimecodeType x-amzn-producer-start-timestamp: ProducerStartTimestamp Payload MKVフォーマットのフラグメントをPayloadとして、HTTPS POSTする • APIリクエストに必要なパラメータは HTTPヘッダに⼊れて送信する • PutMedia API は Long Running Sessionのため、セッションを張って、 そのセッションに対してフラグメントを送信する Request https://docs.aws.amazon.com/ja_jp/kinesisvideostreams/latest/dg/API_dataplane_PutMedia.html HTTP/1.1 200 Payload Response メディア形式で収集
  • 23. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. デモアプリケーション • アプリケーション開発者向け • ターゲットOSにインストールしてそのまま利⽤ • ハードウェアやビデオソースを全てサポートする わけではないが、簡単に実⾏可能 Producer SDK • カメラから取得した動画を統合したい開発者向け • 柔軟にカスタマイズが可能な、オブジェクト指向 の統合フレームワークを提供 コア機能を提供するライブラリ • (カメラ)メーカー向け • 様々なハードウェア環境に合わせて、ファーム ウェアレベルで動画ソースとの統合を実装可能 • 他のライブラリとは完全に独⽴ Platform Independent Layer (Platform Independent Codebase - C⾔語) Wrapper Layer (Producer SDK C⾔語/C++/Java) Linux AndroidWindows メディア形式で収集 Amazon Kinesis Video Streams Producer SDK デバイス上のハードウェアメディアパイプラインと統合するためのSDK https://docs.aws.amazon.com/ja_jp/kinesisvideostreams/latest/dg/producer-sdk.html macOS Gstreamer プラグイン Docker イメージ
  • 24. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 参考︓GStreamer とは • 動画プレイヤーのベースとなる部分などに使われており、動画のストリー ミング配信、動画の変換・合成などの処理を実装できる • 核となる部分以外は、プラグインのライブラリ群で構成されており、様々 な通信プロトコルやコーデックに対応している • Producer SDK C++ には、GStreamer で Amazon Kinesis Video Streams を 使⽤するためのプラグイン・デモアプリケーションが含まれている オープンソースのマルチメディアアプリケーション開発⽤フレームワーク https://gstreamer.freedesktop.org/
  • 25. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Producer SDK のデモアプリケーション Producer SDK C++ kvs_gstreamer_sample 下記の映像ソースから Amazon Kinesis Video Streams に動画を送信 • USB等で接続したWebカメラ • RTSP 接続のネットワークカメラ • 既存の動画ファイル (MKV, MP4, MPEG_TS) C Producer KvsAacAudioVideoStreamingSample H.264の映像フレーム、AAC のオーディオサ ンプルを読んで Amazon Kinesis Video Streams に送信 KvsVideoOnlyStreamingSample 上記の映像のみのサンプル メディア形式で収集 https://github.com/awslabs/amazon-kinesis-video-streams- producer-sdk-cpp Amazon Kinesis Video Streams Producer SDK C++ サンプルアプリ GStreamer https://github.com/awslabs/amazon-kinesis-video-streams-producer-c Amazon Kinesis Video Streams C Producer サンプルアプリ USBカメラ / ネット ワークカメラ 動画ファイル
  • 26. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Kinesis Video Streams Demos リポジトリ RTSP demo application Producer SDK C++ を利⽤して、RTSP 接 続可能なネットワークカメラから Amazon Kinesis Video Streams に動画を 送信する Docker アプリケーション Browser-based Ingestion ウェブブラウザからWebカメラの映像を Amazon Kinesis Video Streams にアップ ロード (Chrome のみ) メディア形式で収集 https://github.com/aws-samples/amazon-kinesis-video-streams-demos Amazon Kinesis Video Streams RTSP ネットワークカメラ Docker Producer SDK C++ サンプルアプリ GStreamer 各種 SDK をベースにしたユースケース別のサンプルやデモを掲載
  • 27. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本⽇のアジェンダ • Amazon Kinesis Video Streams の概要 • Amazon Kinesis Video Streams - メディア形式で収集 1. メディアの取り込み 2. メディアの保存とインデックス 3. メディアの再⽣ 4. メディアの分析 • Amazon Kinesis Video Streams – WebRTC • Amazon Kinesis Video Streams を活⽤した構成例 • サービス利⽤上のポイント • まとめ メディア形式で収集
  • 28. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. メディアデータに関する主要なコンセプト コンセプト名 説明 フラグメント 短時間のフレームをまとめたシーケンスであり、固有の番号が割り当てられる。 フラグメントに属するフレームは、他のフラグメントのフレームに依存しない。 チャンク ストリーム内でのデータの格納形式。 フラグメント、プロデューサーから送信されたメディアメタデータのコピー、 さらにはフラグメント番号、サーバー側とプロデューサー側のタイムスタンプ などの Amazon Kinesis Video Streams 固有のメタデータで構成される。 フレーム 動画のもとになる1コマの静⽌画像で、フラグメントに含まれる。 必要に応じてコンシューマー側でデコードして取り出し、画像解析等に利⽤する。 メディア形式で収集
  • 29. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. フラグメントとフレーム 動画 フラグメント フレーム フラグメント⻑* フラグメントに属するフレームは、 他のフラグメントのフレームに依存しない * フラグメント⻑︓1-10秒の間で、プロデューサー側にて設定 フラグメント⻑* フラグメント⻑* フラグメント⻑* メディア形式で収集
  • 30. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. フラグメントとチャンク プロデューサー コンシューマー GetMedia GetMediaForFragmentList PutMedia フレーム フラグメント フラグメント3 フラグメント2 フラグメント1 フラグメント1 Kinesis Video Pre メタデータ Kinesis Video Post メタデータ メディア メタデータ チャンクフラグメント1 Kinesis Video Pre メタデータ Kinesis Video Post メタデータ メディア メタデータ チャンクフラグメント1 Kinesis Video Pre メタデータ Kinesis Video Post メタデータ メディア メタデータ チャンク フラグメント1 Kinesis Video Pre メタデータ Kinesis Video Post メタデータ メディア メタデータ チャンクフラグメント2 Kinesis Video Pre メタデータ Kinesis Video Post メタデータ メディア メタデータ チャンクフラグメント1 Kinesis Video Pre メタデータ Kinesis Video Post メタデータ メディア メタデータ チャンク フラグメントを送信 チャンクとして保存 チャンクを取得 フラグメントを 取り出す (必要に応じて) フレームを 取り出す ストリーム *フラグメント番号︓64ビット整数で表される識別⼦で、Kinesis Video Streams が受信時に⽣成してフラグメントに割り当てる フラグメント番号*を⽣成 メディア メタデータ メディア形式で収集
  • 31. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ⼆種類のタイムスタンプでフラグメントが管理されている タイムスタンプの扱い プロデューサー コンシューマー GetMedia GetMediaForFragmentList PutMedia フラグメント1 メディア メタデータ フラグメント1 Kinesis Video Pre メタデータ Kinesis Video Post メタデータ メディア メタデータ チャンク フラグメント1 Kinesis Video Pre メタデータ Kinesis Video Post メタデータ メディア メタデータ チャンク ストリーム producer_timestamp をフラグメントと ⼀緒に送信 producer_timestamp server_timestamp server_timestamp をチャンクに追加 producer_timestamp または server_timestamp を指定して チャンクを取得可能 producer_timestamp : プロデューサー側でそのフラグメントの記録を開始した時刻 server_timestamp : Amazon Kinesis Video Streams がフラグメントの受信を開始した時刻 https://docs.aws.amazon.com/ja_jp/kinesisvideostreams/latest/dg/API_dataplane_PutMedia.html メディア形式で収集
  • 32. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 通信のセキュリティとアクセス許可 n SSLでの通信暗号化 書き込みと読み込みのAPIを使⽤した通信は全てHTTPSで暗号化 n IAMでのアクセス管理 AWSの認証メカニズムである Signature Version 4 を利⽤して、 ストリーム単位、アクション単位でIAMでのアクセス制御が可能 例︓ "Resource": arn:aws:kinesisvideo:ap-northeast-1:111122223333:stream/my-stream-* "Resource": arn:aws:kinesisvideo:*:111122223333:stream/my-stream-1/0123456789012 "Action": "kinesisvideo:PutMedia" "Action": "kinesisvideo:Get*" https://docs.aws.amazon.com/ja_jp/kinesisvideostreams/latest/dg/how-iam.html メディア形式で収集
  • 33. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. メディアの保存 - データの暗号化と保存期間 n データの暗号化 • 常にサーバーサイドの暗号化が有効になっている • データはストレージレイヤーに書き込まれる前に暗号化され、ストレージから 取得された後に復号される • ストリームの作成時に、暗号化に使⽤する AWS KMS カスタマーマスターキー (CMK) を指定できる(あとから変更はできない) • ストリームの作成時にユーザー指定のキーが指定されていない場合は、 既定のキー (Kinesis Video Streams が提供) が使⽤される n データの保存期間 • ストリーム作成時にデータの保存期間を指定できる(あとから変更もできる) • 設定可能な範囲は、最短は0(保存しない)で最⻑は10年(87600時間) • データの保存量に応じてサービス利⽤料⾦が発⽣する メディア形式で収集
  • 34. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本⽇のアジェンダ • Amazon Kinesis Video Streams の概要 • Amazon Kinesis Video Streams - メディア形式で収集 1. メディアの取り込み 2. メディアの保存とインデックス 3. メディアの再⽣ 4. メディアの分析 • Amazon Kinesis Video Streams – WebRTC • Amazon Kinesis Video Streams を活⽤した構成例 • サービス利⽤上のポイント • まとめ メディア形式で収集
  • 35. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ライブ再⽣・オンデマンド再⽣ • マネジメントコンソールのメディ ア再⽣ビューワー • HTTP Live Streaming (HLS) や Dynamic Adaptive Streaming over HTTP (DASH) による、ライブもし くはオンデマンド再⽣ Mobile and Web Players Camera Devices メディア形式で収集 Amazon Kinesis Video Streams
  • 36. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. マネジメントコンソールの簡易ビューアー • ストリームを選択して動画を再⽣ 可能 • 再⽣できるのはH.264のコーデッ クで圧縮された動画のみ • 基本的には開発とテスト⽤途での 使⽤を想定 メディア形式で収集 現在時刻 からの遅延 メディアの情報 再⽣時刻の指定
  • 37. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. HTTP ライブストリーミング (HLS) 再⽣機能 https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/hls-playback.html 動画データ プロデューサー (カメラ) Amazon Kinesis Video Streams コンシューマー HLS ストリーミング ライブストリーミング や 動画ビューワー をコンシューマーの実装なしで実現 ・video.js ・Google Shaka Player ・hls.js ・ウェブブラウザ ・Android (Exoplayer) ・iOS (AVMediaPlayer) など 1. GetDataEndpoint API に よってエンドポイントを取得 2. 得られたエンドポイントから GetHLSStreamingSession URL API によって HLS スト リーミング URL を取得 3. 得られたURLを指定して任意 の再⽣ツールで動画を再⽣ HLS形式の再⽣機能を フルマネージドで提供 動作条件 ・データの保持期間を0より⼤きく設定 ・映像は H.264 または H.265 でエンコード ・⾳声がある場合には、AAC でエンコード ・コーデックIDなどのメタデータを正しく設定 メディア形式で収集
  • 38. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. MPEG-DASH 再⽣機能 https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/dash-playback.html 動画データ プロデューサー (カメラ) Amazon Kinesis Video Streams コンシューマー Dynamic Adaptive Streaming over HTTP (DASH) での再⽣にも対応 1. GetDataEndpoint API に よってエンドポイントを取得 2. 得られたエンドポイントから GetDASHStreamingSession URL API によって MPEG- DASH ストリーミング URL を取得 3. 得られたURLを指定して任意 の再⽣ツールで動画を再⽣ DASH形式の再⽣機能を フルマネージドで提供 動作条件 ・データの保持期間を0より⼤きく設定 ・映像は H.264 または H.265 でエンコード ・⾳声がある場合には、AAC または G.711 でエンコード ・コーデックIDなどのメタデータを正しく設定 MPEG-DASH ストリーミング ・video.js ・Google Shaka Player ・dash.js ・ウェブブラウザ ・Android (Exoplayer) ・iOS (AVMediaPlayer) など メディア形式で収集
  • 39. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • HLS もしくは DASH を利⽤したメ ディア再⽣のサンプルページ • HLS もしくは DASH のストリーミ ングセッションURLを取得して、 HLS.js や Video.js などのライブラ リを利⽤して再⽣できる Amazon Kinesis Video Streams Media Viewer https://aws-samples.github.io/amazon-kinesis-video-streams-media-viewer/ メディア形式で収集 アクセスキーなど の認証情報 ストリーミングセッ ション取得時の設定 HLS / DASH および プレイヤーの設定
  • 40. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. HLS や DASH での再⽣に関する注意点 • 同時に再⽣できるセッション数の制限 • ストリームあたりのアクティブな HLS および DASH のストリーミン グセッション数: 10 (ソフトリミット) • 上限を超えた場合は、最も古いセッションが廃⽌される • ライブ再⽣時のレイテンシー • 必ずテストを⾏って評価する • 動画フラグメントのサイズ、プロデューサの設定、プレイヤーの チューニング、ネットワークなどの条件に左右される https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html https://aws.amazon.com/jp/kinesis/video-streams/faqs/
  • 41. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. レイテンシーの考え⽅ デバイスのメディアパイプライン イメージセンサーからのデータ読み取り、 (ハードウェア/ソフトウェア)エンコーダーで のメディア変換処理 インターネットのデータ伝送 デバイスからクラウドまでのネットワークス ループットやレイテンシ Amazon Kinesis Video Streams の データ受信時のレイテンシー データ保持設定時のデータの暗号化と時間 ベースのインデックス⽣成 Amazon Kinesis Video Streams から コンシューマーの間のレイテンシー HLS 再⽣時の動画変換の内部処理、クラウド とコンシューマの間のネットワーク環境、プ レイヤーの設定(バッファなど) メディア形式で収集 https://aws.amazon.com/jp/kinesis/video-streams/faqs/ タイムスタンプの計測や、プロデューサー・コンシューマーの設定、ネットワーク環境の変更などに よってレイテンシーの要因を切り分けることで、レイテンシーを短縮するためのアクションが可能 End-to-End のメディアデータフローにおける、レイテンシーの重要な要因
  • 42. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本⽇のアジェンダ • Amazon Kinesis Video Streams の概要 • Amazon Kinesis Video Streams - メディア形式で収集 1. メディアの取り込み 2. メディアの保存とインデックス 3. メディアの再⽣ 4. メディアの分析 • Amazon Kinesis Video Streams – WebRTC • Amazon Kinesis Video Streams を活⽤した構成例 • サービス利⽤上のポイント • まとめ メディア形式で収集
  • 43. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. メディアの取得・分析 • GetClip API での MP4クリップの出⼒ • GetMedia API でのチャンクの取得 • Amazon Kinesis Video Streams Parser Library によるフラグメントやフレームの取 り扱い • Amazon Rekognition Video を利⽤して、 フルマネージドでMLベースの処理を実⾏ • Amazon SageMaker で Amazon Kinesis Video Inference Template を利⽤ https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/examples-sagemaker.html メディア形式で収集 Amazon Kinesis Video Streams Amazon Kinesis Video Streams Parser Library Amazon Rekognition Video Amazon SageMaker
  • 44. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. GetClip API による MP4クリップの出⼒ • マネジメントコンソールもしくは GetClip API を利⽤して、MP4 クリップを⽣成してダウン ロード可能 • サポートするコーデック • Video: H.264 or H.265 • Audio: AAC or G.711 • 1リクエストで出⼒できるのは、100MB もし くは 200 フラグメントまで https://docs.aws.amazon.com/ja_jp/kinesisvideostreams/latest/dg/API_reader_GetClip.html メディア形式で収集 マネジメントコンソール からも利⽤可能
  • 45. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. コンシューマー側のAPI GetMedia API Kinesis Video Streams のストリームから、メディアデータを取得するためのAPI • ストリーム名またはストリーム Amazon リソースネーム (ARN) と、 開始チャンクをリクエストする • Kinesis Video Streams はフラグメント番号順にチャンクのストリームを返す GetMediaForFragmentList API ストリームに保存されたアーカイブデータから指定したメディアデータを取得するAPI • フラグメントのリスト (フラグメント番号で指定)を指定してリクエストする • 通常は、この API を呼び出す前に、ListFragments API を呼び出す ListFragments API フラグメントのリストを取得するAPI • フラグメント番号またはタイムスタンプを使⽤して、 ストリームに対して開始位置を指定してリクエストする リアルタイム 処理指向 バッチ 処理指向 メディア形式で収集
  • 46. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. GetMedia API POST /getMedia HTTP/1.1 Content-type: application/json { "StartSelector": { "AfterFragmentNumber": "string", "ContinuationToken": "string", "StartSelectorType": "string", "StartTimestamp": number }, "StreamARN": "string", "StreamName": "string" } PutMediaで送信されたフラグメントを含むチャンクのストリームを Payloadとして受信する • リクエストパラメータは JSON形式でBodyの中に⼊れて送信する • GetMedia API は Long Running Sessionのため、セッションを張って、 そのセッションの中でチャンクを受信する Request HTTP/1.1 200 Content-Type: ContentType Payload Response https://docs.aws.amazon.com/ja_jp/kinesisvideostreams/latest/dg/API_dataplane_GetMedia.html メディア形式で収集
  • 47. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. GetMedia API で取得できるのは、 あくまでMKV形式のチャンクでしかない コンシューマー GetMedia GetMediaForFragmentList フレーム フラグメント フラグメント1 Kinesis Video Pre メタデータ Kinesis Video Post メタデータ メディア メタデータ チャンク チャンクを取得 フラグメントを 取り出す (必要に応じて) フレームを 取り出す ストリーム メディア形式で収集
  • 48. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Kinesis Video Streams Parser Library • Javaのライブラリ(Jarファイル)として提供され、 AWS SDK for Java と組み合わせてJavaアプリケーション内で使⽤する • 現在の実装では、主なツールとして以下のものが含まれるほか、サンプルアプリケー ションを提供 ストリームから取得したMKV形式のデータを 使いやすい形に加⼯するためのライブラリ 主なツール 内容 StreamingMkvReader MKVデータをストリームから MKV Element として読み取る FragmentMetadataVisitor フラグメント(メディアデータ)およびトラック(コーデックの種類や ピクセル幅・⾼さなどを含むデータ)からメタデータを取得する。 フラグメント番号やタイムスタンプの情報もここから取得出来る。 OutputSegmentMerger 異なるトラックのメタデータを単⼀のセグメントを持つストリームに マージして、連続したフラグメント(チャンク)を結合する FrameVisitor フラグメントからフレームを取り出してフレーム毎の処理に渡す。 インタフェースが提供されるので、デコードと処理内容は⾃分で実装する。 https://github.com/aws/amazon-kinesis-video-streams-parser-library メディア形式で収集
  • 49. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. フラグメント1 Kinesis Video Pre メタデータ Kinesis Video Post メタデータ メディア メタデータ チャンク 動画ファイルを出⼒して解析する Stream Parser Library の OutputSegmentMerger を活⽤する コンシューマー GetMedia GetMediaForFragmentList フラグメント チャンクを取得 フラグメントを 取り出す ストリーム フラグメント1 Kinesis Video Pre メタデータ Kinesis Video Post メタデータ メディア メタデータ チャンクフラグメント1 Kinesis Video Pre メタデータ Kinesis Video Post メタデータ メディア メタデータ チャンク OutputSegmentMerger 1本のMKV動画ファイル やストリームに結合する 動画ファイル プレイヤーで再⽣ 動画解析処理へ StreamingMkvReader (必要に応じて) GStreamer などで 動画形式を変換 メディア形式で収集
  • 50. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. フラグメント1 Kinesis Video Pre メタデータ Kinesis Video Post メタデータ メディア メタデータ チャンク 画像フレームを取り出して解析する Stream Parser Library の FrameVisitor を活⽤する コンシューマー GetMedia GetMediaForFragmentList フラグメント チャンクを取得 フラグメントを 取り出す ストリーム フラグメント1 Kinesis Video Pre メタデータ Kinesis Video Post メタデータ メディア メタデータ チャンクフラグメント1 Kinesis Video Pre メタデータ Kinesis Video Post メタデータ メディア メタデータ チャンク FrameVisitor + デコード実装 (JCodec などのライブラリを活⽤) フレームを 取り出す 静⽌画として保存 画像解析処理へ StreamingMkvReader フレーム メディア形式で収集
  • 51. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Rekognition Video と連携する • Kinesis Video Streams のコンシューマーとし て Amazon Rekognition Video を使⽤して動画 ストリーム内の顔を検出・認識できる • 予め Rekognition Video に覚えさせておいた既 知の顔を検出することができる • Rekognition Video には、動画ストリームの分 析を管理するための Stream Processor が⽤意 されている • 分析結果は、Rekognition Video から、 Amazon Kinesis Data Streams のストリームに 出⼒される https://docs.aws.amazon.com/rekognition/latest/dg/streaming-video.html プロデューサー (カメラ) Amazon Kinesis Video Streams Amazon Rekognition Video Amazon Kinesis Data Streams Amazon Kinesis Data Streams のコンシューマー (AWS Lambda など) Stream Processor 起動・停⽌も可能 メディア形式で収集
  • 52. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SageMakerと連携するための Amazon Kinesis Video Streams Inference Template (KIT) https://aws.amazon.com/jp/blogs/news/analyze-live-video-at-scale-in-real-time-using-amazon-kinesis-video-streams-and-amazon-sagemaker/ コンシューマーを実装せずに Kinesis Video Streams のストリームを SageMaker の推論エンドポイントと接続することが可能 1. SageMakerで学習した画像解析のモデル を使⽤して推論エンドポイントを作成 2. 作成した推論エンドポイントとストリー ムを指定して CloudFormation を起動 3. ストリームに⼊⼒された動画の認識結果 が Kinesis Data Streams に出⼒される SageMakerとの連携機能を 完全なテンプレートで提供 AWS CloudFormation テンプレート SageMakerで学習した 画像解析のモデルを デプロイ メディア形式で収集
  • 53. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 料⾦構成 2020/09/30 現在、東京リージョンの場合 料⾦構成 料⾦ (プロデューサーから) 取り込まれたデータ量 $0.01097 / 1GB (コンシューマーに) 取り出されたデータ量 (※) $0.01097 / 1GB (HLS/DASH再⽣機能で) 取り出されたデータ量 (※) $0.01536 / 1GB 保存されたデータ量 $0.02500 / 1GB・⽉ メディア形式で収集 https://aws.amazon.com/jp/kinesis/video-streams/pricing/ ※ インターネット経由でビデオストリームから AWS 外の送信先にデータを送信する場合は、 AWS の標準のデータ転送料⾦がかかります。
  • 54. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本⽇のアジェンダ • Amazon Kinesis Video Streams の概要 • Amazon Kinesis Video Streams - メディア形式で収集 1. メディアの取り込み 2. メディアの保存とインデックス 3. メディアの再⽣ 4. メディアの分析 • Amazon Kinesis Video Streams – WebRTC • Amazon Kinesis Video Streams を活⽤した構成例 • サービス利⽤上のポイント • まとめ
  • 55. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Kinesis Video Streams WebRTC 超低遅延でのメディアストリーミングと 100万台規模のデバイス間での双⽅向の通信をサポート 標準規格準拠 デバイス・モバイル・ウェブア プリ間での、⾳声・映像・デー タのリアルタイム双⽅向通信 フルマネージド フルマネージドなWebRTC シグナリング・TURN・ STUNのサービスとSDK リアルタイム 双⽅向通信 ウェブやモバイルのプ ラットフォームから容易 に利⽤可能 低遅延のライブメディア ストリーミング Peer-to-peer の⾳声・映像の ライブストリーミングと、1秒 未満のレイテンシでの再⽣ WebRTC
  • 56. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WebRTC とは︖ 相互通信 Peer-to-peer接続の確⽴ 暗号化 End-to-endでの暗号化 メディア配信 低遅延でのメディアと 任意のデータの双⽅向 通信 シグナリング 接続のメタデータの交換 WebRTC は単なるメディアストリーミングのプロトコルではなく、以下のような特 徴を持ったリアルタイムコミュニケーションのためのオープンな標準規格 WebRTC
  • 57. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Kinesis Video Streams WebRTC における 主要な⽤語・概念 シグナリング チャネル アプリケーションが、P2P接続を検出、開始、制御、終了するためにシグナリン グメッセージをやりとりするためのチャンネル。セキュアな Websocket (WSS) が 使⽤されている。 Peer WebRTCの通信を⾏う任意のデバイス・アプリケーション 例︓ウェブブラウザ、スマートフォンアプリ、ホームセキュリティカメラ Master 接続の初期化を⾏い、シグナリングチャンネルで複数のViewerから接続、メディ アの送受信を⾏うPeer 2020年9⽉現在、1シグナリングチャンネルには1 Masterまで Viewer 1つのMasterのみとメディアの送受信を⾏えるPeer、他のViewerと接続すること はできない 2020年9⽉現在、1シグナリングチャンネルには10 Viewerまで(ソフトリミット) WebRTC → Master と Viewer は 1:N の関係
  • 58. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Kinesis Video Streams WebRTC の接続フロー Amazon Kinesis Video Streams WebRTC SDK Peer: Viewer モバイルアプリ ウェブアプリ Peer: Master カメラデバイス Amazon Kinesis Video Streams WebRTC SDK Signaling Server NAT NAT WebRTC STUN Server TURN Server WebRTC の接続を確⽴する ためのマネージドなサーバ 側のリソースを提供
  • 59. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Kinesis Video Streams WebRTC の接続フロー Amazon Kinesis Video Streams WebRTC SDK 組み込みの WebRTC ライ ブラリ Peer: Viewer モバイルアプリ ウェブアプリ Peer: Master カメラデバイス Amazon Kinesis Video Streams WebRTC SDK Signaling Server NAT NAT 2.シグナリングサーバと接続 3. シグナリングメッセージ (SDP Offer) を送信 WebRTC STUN Server TURN Server 1. シグナリングサー バと接続 ※ 接続フローのうち主要な通信のみを記載、順序は⼊れ替わる場合もあり 4.シグナリングメッセージ (SDP Answer) を返信
  • 60. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Kinesis Video Streams WebRTC の接続フロー Amazon Kinesis Video Streams WebRTC SDK 組み込みの WebRTC ライ ブラリ Peer: Viewer モバイルアプリ ウェブアプリ Peer: Master カメラデバイス Amazon Kinesis Video Streams WebRTC SDK Signaling Server NAT NAT 8. シグナリングメッセー ジ (ICE Candidate) を送信 WebRTC STUN Server TURN Server 6. NAT の外向きのIPア ドレス:ポートの確認 7. TURN接続⽤の IP:ポートの確認 (TURN 有効時) 5. ローカルのIPアド レス:ポートの確認 ※ 接続フローのうち主要な通信のみを記載、順序は⼊れ替わる場合もあり 5. ローカルのIPアド レス:ポートの確認
  • 61. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WebRTC の接続フロー Amazon Kinesis Video Streams WebRTC SDK Peer: Viewer モバイルアプリ ウェブアプリ 双⽅向メディアストリーミング (P2P 接続時) Peer: Master カメラデバイス Amazon Kinesis Video Streams WebRTC SDK Amazon Kinesis Video Streams Signaling Server NAT NAT WebRTC STUN Server TURN Server 9. 経路候補のトライアル 10. 接続の確⽴
  • 62. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WebRTC の接続フロー Amazon Kinesis Video Streams WebRTC SDK Peer: Viewer モバイルアプリ ウェブアプリ 双⽅向メディアストリーミング (TURN によるリレー接続) Peer: Master カメラデバイス Amazon Kinesis Video Streams WebRTC SDK Amazon Kinesis Video Streams Signaling Server NAT NAT NATの種類などによって、 P2P接続に失敗した場合 WebRTC STUN Server TURN Server
  • 63. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. マネジメントコンソールのメディア再⽣ビューワー WebRTC メディアの種類・ コーデック ビットレートやフレーム レートは現在の値(可変) P2P もしくは TURN 開発・テスト⽤途に利⽤できる簡易ビューワー
  • 64. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WebRTC SDK の構成 WebRTC 組み込みカメラ ファームウェア C SDK JavaScript SDK Android SDK iOS SDK ブラウザ Android ネイティ ブアプリ iOS ネイティブア プリ 各種OS Android iOS Signaling Client Signaling Client Signaling Client Signaling Client Cognito Cognito デモアプリケーショ ン (Gstreamer / H.264+Opus) libwebrtc libwebrtc libwebrtc OS アプリ SDK シグナリング 各種プロトコ ルサポート 各種プロトコル実装 メディアの 取得・再⽣ 認証 SigV4 SigV4 / AWS IoT 証明書 デモアプリケーショ ン (getUserMedia) デモアプリケーショ ン デモアプリケーショ ン
  • 65. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WebRTC SDK の構成 WebRTC 組み込みカメラ ファームウェア C SDK JavaScript SDK Android SDK iOS SDK ブラウザ Android ネイティ ブアプリ iOS ネイティブア プリ 各種OS Android iOS Signaling Client Signaling Client Signaling Client Signaling Client Cognito Cognito デモアプリケーショ ン (Gstreamer / H.264+Opus) libwebrtc libwebrtc libwebrtc OS アプリ SDK シグナリング 各種プロトコ ルサポート 各種プロトコル実装 メディアの 取得・再⽣ 認証 SigV4 SigV4 / AWS IoT 証明書 デモアプリケーショ ン (getUserMedia) デモアプリケーショ ン デモアプリケーショ ン 組み込みカメラデバイス向けの C⾔語の軽量なSDK
  • 66. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WebRTC SDK の構成 WebRTC 組み込みカメラ ファームウェア C SDK JavaScript SDK Android SDK iOS SDK ブラウザ Android ネイティ ブアプリ iOS ネイティブア プリ 各種OS Android iOS Signaling Client Signaling Client Signaling Client Signaling Client Cognito Cognito デモアプリケーショ ン (Gstreamer / H.264+Opus) libwebrtc libwebrtc libwebrtc OS アプリ SDK シグナリング 各種プロトコ ルサポート 各種プロトコル実装 メディアの 取得・再⽣ 認証 SigV4 SigV4 / AWS IoT 証明書 デモアプリケーショ ン (getUserMedia) デモアプリケーショ ン デモアプリケーショ ン ウェブアプリ開発⽤のSDK
  • 67. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WebRTC SDK JavaScript のサンプルページ (Viewer の場合) https://awslabs.github.io/amazon-kinesis-video-streams-webrtc-sdk-js/examples/index.html データチャンネルで送信 するメッセージ データチャンネルで受信 したメッセージデバッグ⽤ログ (トラブルシューティング時は 後述する WebRTC Internals を併⽤) WebRTC
  • 68. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WebRTC SDK の構成 WebRTC 組み込みカメラ ファームウェア C SDK JavaScript SDK Android SDK iOS SDK ブラウザ Android ネイティ ブアプリ iOS ネイティブア プリ 各種OS Android iOS Signaling Client Signaling Client Signaling Client Signaling Client Cognito Cognito デモアプリケーショ ン (Gstreamer / H.264+Opus) libwebrtc libwebrtc libwebrtc OS アプリ SDK シグナリング 各種プロトコ ルサポート 各種プロトコル実装 メディアの 取得・再⽣ 認証 SigV4 SigV4 / AWS IoT 証明書 デモアプリケーショ ン (getUserMedia) デモアプリケーショ ン デモアプリケーショ ン モバイルアプリ開発⽤のSDK
  • 69. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WebRTC SDK iOS のデモアプリ https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-ios ログイン画⾯ 接続先設定 Amazon Cognito によるログイン機能 (事前にクラウド側のセットアップが必要) WebRTC
  • 70. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WebRTC のトラブルシューティング 接続できない、映像が表⽰されない • シグナリングチャネルへ接続できているか、CloudWatch のメトリクスから 確認 • 別のネットワークで試してみる • TURN を有効にしているかを確認 • Master, Viewer でサポートしているコーデックを確認 (SDP Offer / SDP Answer) WebRTC シグナリング メッセージ数 Master/Viewer の接続成功率 TURN 経由での 接続時間
  • 71. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WebRTC のトラブルシューティング 遅延が⼤きい、映像が滑らかでない • 映像のビットレートを確認、ネット ワーク帯域に対して⼤きすぎる場合 は解像度を下げてみる • デバイスのスペックが低い場合、映 像のエンコーディング処理などで CPUを使い切っていないかを確認し、 解像度を下げたりハードウェアエン コーダの利⽤を検討する WebRTC WebRTC SDK C では、VERBOSE レベルのログを 有効化すると、帯域推定結果やパケット再送な どのログが表⽰される export AWS_KVS_LOG_LEVEL=1 (VERBOSE レベル)
  • 72. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WebRTC のトラブルシューティング WebRTC Internals (Chrome) chrome://webrtc-internals/ WebRTC Internals (Firefox) about:webrtc WebRTC WebRTC Internals でイベントや統計情報から問題を切り分け
  • 73. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 料⾦構成 (WebRTC) 2020/09/30 現在、東京リージョンの場合 料⾦構成 料⾦ アクティブなシグナリングチャネル $0.045 / チャネル・⽉ シグナリングメッセージ $3.375 / 100万メッセージ TURNでストリーミングした時間 (※) $0.180 / 1,000分 https://aws.amazon.com/jp/kinesis/video-streams/pricing/ WebRTC ※ インターネット経由でビデオストリームから AWS 外の送信先にデータを送信する場合は、 AWS の標準のデータ転送料⾦がかかります。
  • 74. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本⽇のアジェンダ • Amazon Kinesis Video Streams の概要 • Amazon Kinesis Video Streams - メディア形式で収集 1. メディアの取り込み 2. メディアの保存とインデックス 3. メディアの再⽣ 4. メディアの分析 • Amazon Kinesis Video Streams – WebRTC • Amazon Kinesis Video Streams を活⽤した構成例 • サービス利⽤上のポイント • まとめ
  • 75. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Kinesis Video Streams の使い分け (再掲) メディア形式で収集 WebRTC 動画データのクラウド保存 機械学習サービスでの分析 できる できない 双⽅向ストリーミング できない できる ライブ再⽣時のレイテンシ 2秒〜 1秒未満 カメラデバイスからの ストリーミングに利⽤する SDK Producer SDK WebRTC SDK WebRTCメディア形式で収集
  • 76. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 動画の常時保存と再⽣ 監視カメラ・ドライブレコーダー カメラデバイス Amazon Kinesis Video Streams Producer SDK 動画データ 起動中は常時動画をス トリーミング Amazon Kinesis Video Streams 保持期間を指定して 動画を保存 ライブ・オンデマンドでの ストリーミング再⽣ 動画データ https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/getting-started.html メディア形式で収集
  • 77. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 必要に応じた動画の収集 ホームセキュリティカメラ カメラデバイス Amazon Kinesis Video Streams Producer SDK Amazon Kinesis Video Streams動画データ AWS IoT Device SDK AWS IoT Core ライブ再⽣・オン デマンド再⽣ AWS Lambda Amazon API Gateway 動画データ メディア形式で収集 ストリーミングのON・ OFFの制御 録画状態を制御 センサー値をトリ ガーに録画開始 Amazon SNS 録画時に通知
  • 78. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 双⽅向コミュニケーション、遠隔監視 インターホン・(スピーカー付き)監視カメラ Amazon Kinesis Video Streams WebRTC SDK モバイルアプリ シグナリング 双⽅向メディアストリーミング (P2P) カメラデバイス Amazon Kinesis Video Streams Amazon Kinesis Video Streams WebRTC SDK WebRTC Amazon Kinesis Video Streams Producer SDK リアルタイム再⽣ オンデマンド再⽣ メディア形式で収集
  • 79. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 遠隔制御 ドローン・ロボット WebRTC ドローン・ロボット Amazon Kinesis Video Streams WebRTC SDK Amazon Kinesis Video Streams 制御⽤アプリ リアルタイムの動画・⾳声ストリーミング AWS IoT Device SDK AWS IoT Core Amazon Kinesis Video Streams WebRTC SDK シグナリング テレメトリの送信 ※2 操作画⾯ 制御コマンドの送信 ※2 Amazon S3 制御ログや航⾏ データの保存 制御コマンド/テレメトリの送信 ※1 WebRTC のデータ チャネルを利⽤ ※1 接続中のみメッセージングが出来れば良い場合はWebRTCのデータチャンネルを利⽤ ※2 ログを保存したい場合やオフライン対応をしたい場合は AWS IoT Core を利⽤
  • 80. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. リアルタイム映像分析 監視カメラ映像に対する顔認識 カメラデバイス Amazon Kinesis Video Streams Producer SDK Amazon Kinesis Data Streams 動画データ Amazon Rekognition Video Amazon Kinesis Video Streams AWS Lambda Stream Processor による リアルタイム顔認識 https://aws.amazon.com/jp/blogs/news/easily-perform-facial-analysis-on-live-feeds-by-creating-a-serverless- video-analytics-environment-with-amazon-rekognition-video-and-amazon-kinesis-video-streams/ 認識結果の 可視化 メディア形式で収集 Amazon SNS 認識結果に 応じた通知 Amazon Elasticsearch Service
  • 81. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. バッチ映像分析 監視カメラ映像に対するオブジェクト認識・⼈物トラッキング カメラデバイス Amazon Kinesis Video Streams Producer SDK 動画データ Amazon Rekognition Video Amazon Kinesis Video Streams AWS Lambda Amazon DynamoDB ⼈物の識別と追跡 オブジェクト認識 AWS Lambda 動画データ Amazon S3 AWS Simple Notification Service 分析終了通知 認識結果の取得 メディア形式で収集 認識結果のDB
  • 82. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本⽇のアジェンダ • Amazon Kinesis Video Streams の概要 • Amazon Kinesis Video Streams - メディア形式で収集 1. メディアの取り込み 2. メディアの保存とインデックス 3. メディアの再⽣ 4. メディアの分析 • Amazon Kinesis Video Streams – WebRTC • Amazon Kinesis Video Streams を活⽤した構成例 • サービス利⽤上のポイント • まとめ
  • 83. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 動画ストリーミングサービスの使い分け Amazon Interactive Video Sercvice AWS Elemental Media Services & Amazon CloudFront Amazon Chime / Amazon Chime SDK Amazon Kinesis Video Stream • 素早く簡単にセットアップできる マネージドライブストリーミングサービス • OTT の知識や経験がなくとも、数分でワールドワイドに ライブ配信基盤を展開可能 • 超低遅延配信 、 Timed Metadata API を利⽤することで 双⽅向コミュニケーションを容易に実現可能 • 例: インタラクティブなライブ配信 • 放送グレードの品質および柔軟な配信要件に対応可能 • ビルディングブロック、配信要件に応じて 詳細な設定変更が可能 • 例: 放送グレードのメディア配信、パッケージング、 広告挿⼊、 DRM、スケジューラー、 DVR/タイムシフト • コネクテッドカメラデバイスからクラウドへ 安全にストリーミング • 機械学習、動画再⽣、分析、その他の処理を リアルタイムもしくはバッチ駆動で処理可能 • WebRTC による低遅延の双⽅向ストリーミング • 例: スマートホーム、スマートシティ、遠隔監視、 産業⽤の⾃動処理、コネクテッドカメラ製品 • 複数の話者が登場する M : N のビデオ通話⽤途 • 双⽅向の円滑な会話のための秒未満配信遅延 • 例: ビデオ会議
  • 84. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. カメラデバイスでの SDK への認証情報の渡し⽅ AWS のアクセスキーを利⽤ • Access Key ID, Secret Access Key, (Session Token) を環境変数(もし くは引数)として設定 • 認証情報を動的に発⾏する仕組み もしくは、あらかじめ埋め込んで おく必要がある • IAM のリソース数の上限に注意が 必要 AWS IoT の証明書を利⽤ • AWS IoT Core で管理しているク ライアント証明書を利⽤して、 AWS IoT の認証情報プロバイダー から⼀時認証情報を取得 • 証明書をデバイスに埋め込む仕組 みが必要 https://docs.aws.amazon.com/ja_jp/iot/latest/developerguide /authorizing-direct-aws.html WebRTC メディア形式で収集
  • 85. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. パートナーデバイスとクイックスタート パートナーデバイスカタログ • Amazon Kinesis Video Streams 対応のカ メラ製品などが掲載 AWS IoT Camera Connector • IoTカメラ向けのサーバレス環境を1ク リックでデプロイ https://devices.amazonaws.com/ https://aws.amazon.com/jp/quickstart/archite cture/camera-connector-onica/ メディア形式で収集 設定のみでデバイスからクラウドへ動画をストリーミング
  • 86. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ⼊⾨⽤コンテンツのご紹介 Amazon Kinesis Video Streams ハンズオン https://video-streaming-and-analysis.workshop.aws/ Amazon Kinesis Video Streams WebRTC Getting Started https://docs.aws.amazon.com/ja_jp/kinesisvideostreams-webrtc- dg/latest/devguide/kvswebrtc-getting-started.html WebRTC メディア形式で収集
  • 87. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本⽇のアジェンダ • Amazon Kinesis Video Streams の概要 • Amazon Kinesis Video Streams - メディア形式で収集 1. メディアの取り込み 2. メディアの保存とインデックス 3. メディアの再⽣ 4. メディアの分析 • Amazon Kinesis Video Streams – WebRTC • Amazon Kinesis Video Streams を活⽤した構成例 • サービス利⽤上のポイント • まとめ
  • 88. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. まとめ • Amazon Kinesis Video Streams はサーバレスなフルマネージドサービスと して提供されており、何百万ものカメラデバイスと接続をして、メディア データをストリーミングし保存、再⽣や分析に利⽤可能 • Amazon Kinesis Video Streams には2つの⽅式があり、ユースケースに応じ て使い分ける • Amazon Kinesis Video Streams と他の AWS サービスを組み合わせて、IoT における様々なメディアのユースケースを容易に実現できる
  • 89. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Kinesis Video Streams 関連リンク • 公式ページ - https://aws.amazon.com/jp/kinesis/video-streams/ • ドキュメントやライブラリなどのリソース - https://aws.amazon.com/jp/kinesis/video-streams/resources/ • 各種 Producer SDK - https://docs.aws.amazon.com/ja_jp/kinesisvideostreams/latest/dg/produ cer-sdk.html • Parser Library - https://github.com/aws/amazon-kinesis-video-streams- parser-library • 各種 WebRTC SDK - https://docs.aws.amazon.com/kinesisvideostreams- webrtc-dg/latest/devguide/webrtc-sdks.html
  • 90. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Q&A お答えできなかったご質問については AWS Japan Blog 「https://aws.amazon.com/jp/blogs/news/」にて 後⽇掲載します。
  • 91. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS の⽇本語資料の場所「AWS 資料」で検索 https://amzn.to/JPArchive
  • 92. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. で[検索]AWS イベント 毎週”W-A個別技術相談会”を実施中 • AWSのソリューションアーキテクト(SA)に 対策などを相談することも可能 • 申込みはイベント告知サイトから (https://aws.amazon.com/jp/about-aws/events/) AWS Well-Architected 個別技術相談会
  • 93. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS 公式 Webinar https://amzn.to/JPWebinar 過去資料 https://amzn.to/JPArchive ご視聴ありがとうございました