코로나가 장기화되면서 일상에 여러 변화가 오고있습니다. 그 중에서 비대면이 일상화되고 있는데요. 콘텐츠를 쉽고 빠르게 제작 및 처리하고 전송하고 싶을 때 하드웨어와 같은 과중한 업무는 AWS에 맡기고, 오직 뷰어를 기쁘게 하는데만 전념할 수 있도록 전세계 청중에게 Live/VOD 콘텐츠를 효율적으로 제공할 수 있는 방법을 Elemental 미디어 서비스 데모와 함께 알아봅니다.
5. 일반적인 영상 서비스 워크플로우
Live Channel
Source
Media Source
Files
CDN
DISTRIBUTION
DEVICES
Live Encoder
REAL-TIME
PROCESSING
Origination
JUST IN TIME
PACKAGING
CONTRIBUTION
Encoder
File-based
media
STORAGE
File-Based
Conversion
FILE-BASED
PROCESSING
Server-side ad
insertion
AD INSERTION
CDN
DISTRIBUTION
Workflow &
Orchestration
POST
PROCESSING
Origination
VOD ORIGIN
Optimized
media storage
STORAGE
Live Channel
SOURCE
6. AWS 미디어 서비스를 이용한 워크플로우
AWS
Elemental
MediaLive
Live Video
Processing
AWS
Elemental
MediaPackage
Origination and
JIT Packaging
Live Channel
Source
AWS
Elemental
MediaStore
Media-Optimized
Storage and Origin
AWS
Elemental
MediaTailor
Personalization
and Monetization
AWS
Elemental
MediaConvert
File-Based
Video Processing
Devices
AWS
Elemental
LiveOn-Premises
Encoding
Amazon
CloudFront
CDN
Amazon
CloudFront
CDN
Amazon S3
Storage
Amazon S3
VOD Origin
AWS Elemental
MediaConnect
Live Video
Transport
AWS Step
Functions
WorkflowMedia Source
Files
11. Professional Production & Contribution
카메라
비디오 믹서
인코더
라이브 장소
RTMP over
AWS Direct
Connect
Processing & Distribution
Amazon
S3
Amazon
CloudFront
users
AWS CloudCorporate
data center
12. Consumer Production & Contribution
방송하는 사람의 위치
모바일
RTMP over public
Internet
Amazon
S3
Amazon
CloudFront
Processing & Distribution
데스크탑
users
AWS CloudCorporate
data center
18. AWS Elemental MediaLive
몇번 의 클 릭만으로 라이브
방송 시작
무제한의 라 이 브
채널 확 장
방송 수준의 라이브 영 상
서비스 제공
텔레비전이나 디바이스로 전달할 라이브 영상을 인코딩
19. 어떻게 동작하나?
SOURCE
Input A
Input B
Output Group
Output 1
Output 2
Output 3
Output 4
Output A
Output B
Source Content AWS Elemental MediaLive
an AWS Elemental MediaLive channel
converts redundant live inputs into two
streams of multiple compressed outputs.
Origination and Packaging
- AWS Elemental MediaStore
- AWS Elemental MediaPackage
CDN
Amazon CloudFront
and/or other CDNs
deliver video to output
devices
users
MediaPackage Amazon
CloudFront
CDNOrigin
20. Input – 클라우드로 영상 가져오기
CDN DISPLAY
DEVICES
AWS CLOUD REGION
AWS Elemental
MediaLive
INTEGRATED VIDEO
PROCESSING AND DELIVERY
SOURCE
LIVE
FILE
AWS Elemental
MediaStore
ORIGIN
RTMP push (TCP)
RTP push (UDP)
CDN DISPLAY
DEVICES
AWS CLOUD REGION
AWS Elemental
MediaLive
INTEGRATED VIDEO
PROCESSING AND DELIVERY
SOURCE
Video
Streaming
Server
AWS Elemental
MediaStore
ORIGIN
HLS pull – progressive download
RTMP pull (TCP)
PUSH – Client sends video to Cloud
PULL – AWS Elemental MediaLive download video
21. Channel – Input에서 받은 영상을 트랜스코딩/패키징하여 Output으로 전달
SOURCE
LIVE
FILE
AWS CLOUD REGION
Input A
Input B
Channel
Global Settings
Output Group
Output Group
Archive
Output
HLS
Smooth
UDP
RTMP
Input
22. Output Group 종류
SOURCE
LIVE
FILE
AWS CLOUD REGION
Input A
Input B
Channel
Global Settings
Output Group
Output Group
Archive
Output
HLS
Smooth
UDP
RTMP
Input
Archive
Save to S3 Bucket
HLS
Apple HTTP Live Streaming, stream to AWS
Elemental MediaStore, AWS Elemental
MediaPackage as origin. Or other CDN
services.
Send to origin or CDN
Smooth
UDP
RTMP
Broadcast live stream via RTP/UDP
RTMP destination such as Facebook,
YouTube etc.
23. 추가적인 기능
캡션/자막
광고 삽입 (SCTE-35)
광고 passthrough (SCTE-35)
오디오 믹싱
정적 키 암호화
AWS
Elemental
MediaLive
24. AWS Elemental MediaPackage
하 나의 소스에서 다양한
디 바이스로 영상 전송
D R M연동으로
콘텐츠 보호
D VR 기능 탑재
JITP 를 이용하여 디바이스에 맞는 컨텐츠를 보내고 DRM으로 보호
29. MediaPackage and JITP
Audio
400kbps
5Mbps
3Mbps
1.4Mbps
1Mbps
600kbps
Apple HLS
ENCODERS
ANDROID & IOS
Apple HLS
STB & CONNECTED TV
MPEG DASH
CDN
3rd Party CDN
AWS Elemental
MediaPackage
ORIGINATION AND
JUST-IN-TIME
PACKAGING
Amazon
CloudFront
WINDOWS PC & MAC
MS Smooth
Channel
Input
EndpointEndpointEndpoint
34. 컨텐츠 보호
Digital Rights Management (DRM)
• Secure Package and Encoder Key Exchange
(SPEKE)
• Apple FairPlay, Microsoft PlayReady,
Google Widevine
35. AWS 솔루션 구현 - 라이브 영상 스트리밍
Features
• Support for RTP, RTMP, and HLS inputs
• Dual input and built-in redundancy
• Multiple variable bitrate outputs from 1080p through 270p
• HLS, DASH, and MSS outputs
• Leverages the highly available and scalable
features of AWS Elemental MediaLive and MediaPackage
• Leverages Amazon CloudFront for Global distribution.
• Automated deployment through CloudFormation and AWS
Lambda
Amazon
S3
Live Channel
Source
AWS Elemental
MediaPackage
Origination and
JIT Packaging
AWS Elemental
MediaLive
Live Video
Processing Multiple OTT
Devices
Just-in-Time package of the
MediaLive output into HLS,
DASH and MSS
Global Distribution for the
HLS, DASH and MSS versions
of the live stream
Playback for the live stream
supported on multiple devices
Ingest the live feed and transcodes
into multiple bitrate HLS
Dual Ingest Support
Demo HLS
Source Stream
Amazon
CloudFront
Amazon
S3
Demo Player
Preview
Content Delivery
Network
https://aws.amazon.com/solutions/implementations/live-streaming-on-aws
40. AWS Elemental MediaConvert Terms
• Job
▪ Primary unit of work, specifies input and output
• Job Template
▪ Collection of commonly used job settings
▪ Useful when processing a collection of inputs to produce a fixed set of outputs
▪ Output Preset - Settings to create a single output
• Queue
▪ All jobs are submitted to a queue
▪ Allows user to separate or group jobs for processing
▪ Jobs within a queue are processed in parallel, and queues are processed in parallel
41. MediaConvert 워크플로우
JOB 1
INPUT 1
INPUT FILE 1
INPUT
CONFIGURATION
HLS OUTPUT GROUP
OUTPUT 1
OUTPUT 2
OUTPUT n
METADATA
OTHER
JOB
CONFIG.
QUEUE(S)
Manage resources for parallel
processing of jobs
NOTIFICATIONS AND METRICS
DOWNSTREAM
PROCESSING
TRANSCODED MEDIA IN S3
Amazon
CLOUDWATCH
HTTP/HTTPS
Email
SMS
Application
LAMBDA
SQS
43. Output Groups
JOB 1
INPUT 1
INPUT FILE 1
INPUT
CONFIGURATION
OUTPUT GROUP
OUTPUT 1
OUTPUT 2
OUTPUT n
44. Job Settings
JOB 1
INPUT 1
INPUT FILE 1
INPUT
CONFIGURATION
OUTPUT GROUP
OUTPUT 1
OUTPUT 2
OUTPUT n
METADATA
OTHER
JOB
CONFIG.
• Queue for Submission
• IAM Role to Assume
• Job Metadata Association
• Ad Blanking / Timing
• Nielsen & Other Metadata
47. Working with Job Templates
INPUT MEDIA ASSET(S)
JOB 1
INPUT 1
INPUT FILE 1
INPUT
CONFIGURATION
HLS OUTPUT GROUP
OUTPUT 1
OUTPUT 2
OUTPUT n
METADATA
OTHER
JOB
CONFIG.
QUEUE(S)
Manage resources for parallel
processing of jobs
NOTIFICATIONS AND METRICS
DOWNSTREAM
PROCESSING
TRANSCODED MEDIA IN S3
Amazon
CLOUDWATCH
HTTP/HTTPS
Email
SMS
Application
LAMBDA
SQS
JOB TEMPLATE
METADATA
OTHER
JOB
CONFIG.
INPUT 1
INPUT
CONFIGURATION
HLS OUTPUT GROUP
PRESET 1
PRESET 2
PRESET n
48. 추가적인 기능
Ultra-High-Definition 4K & HEVC
High-Dynamic-Range (HDR)
돌비 디지털 오디오 인코딩
오디오 매핑 및 믹싱
Audio Normalization
Input Clipping & Concatenation
광고 Pass-through (SCTE-35)
Timecode & Image Insertion/Overlay
AWS
Elemental
MediaConvert
49. AWS 솔루션 구현 – VoD
Features
• Serverless architecture
• 1080p through 270p HLS and DASH outputs
• 4K, HD and SD H.265 MP4 outputs
• SNS notifications on ingest encoding and
complete
• Workflow details and asset metadata stored
in DynamoDB
• Error handling
• Options for source Archiving to Glacier
Source
INGEST PROCESSING FILE-BASED PROCESSING PUBLISHING
1. Supporting Group
Title
Amazon
CloudWatch
AWS
Lambda
Amazon
DynamoDB
Amazon
SNS
CLOUD MONITORING
PUBLISHING AND
NOTIFICATIONS
ERROR HANDLER FLEXABLE DATABASE
AWS Step
Functions
AWS Step
Functions
AWS Step
Functions
AWS Elemental
MediaConvert
Workflow
Amazon
CloudFront
Amazon
S3
Amazon
S3
MP4 OUTPUT
ABR OUTPUT
CDN
https://aws.amazon.com/solutions/implementations/video-on-demand-on-aws
Amazon
Glacier
Amazon
S3
1. Supporting Group
Title
Optional group supporting
product description