SlideShare a Scribd company logo
1 of 17
Download to read offline
CONTEXT-AWARE ENCODING AND 5G
YURIY REZNIK | YREZNIK@BRIGHTCOVE.COM
© B r i g h t c o v e I n c . A l l R i g h t s R e s e r v e d .
DASH-IF WORKSHOP ON MEDIA STREAMING MEETS 5G, DECEMBER 9-10, 2019, PORTLAND, OR
© Brightcove Inc. All Rights Reserved. 2
OUTLINE
• Brief history of context-aware encoding & variants
• How it works
• Types of CAE technologies today
• CAE and standards
◦ CAE technologies that are fully compatible with existing standards & players
◦ CAE technologies that may need extensions
• Discussion
◦ CAE and 5G
• is there any overlap?
• what type of information from 5G network layer could be useful for CAE
◦ Shall there be extension of a standard?
• E.g. for per-scene ladder signaling?
© Brightcove Inc. All Rights Reserved. 3
BRIEF HISTORY OF CAE
• Early 1990s: H.261, H.263, MPEG-1/2
◦ “fixed QP” regime – the grandfather of everything “Constant Quality”
• Late 1990s-early 2000s: RealVideo 8-10
◦ “RMVB” – heavy VBR encoding regime, optimized for downloads, still in use in Asia
• Early 2010s:
◦ British Telecom “Quality-driven streaming” (Mike Nilsson, et al, June 2012)
◦ InterDigital “Quality-based streaming” proposal to MPEG-DASH (Y. Reznik et al, m25996, July 2012)
◦ Intel labs “Quality-aware streaming” (Yiting Liao, et al, 2013)
◦ “Capped-CRF” – approaches – multiple sources, 2013+
◦ Beamr “Optimizer” – second pass encoding with adjusted targets, 2013+
◦ MediaMelon “QBR streaming”, 2014
• Late 2010s:
◦ Netflix “Per-Title Encoding” blog post, Dec. 2015 – ladder of resolutions and rates according to content
◦ Brightcove “Context-Aware Encoding”, Oct. 2016 – ladder design as end-to-end optimization problem
◦ Netflix “per-scene encoding”, 2018 – same as per-title, but on scene basis
◦ Content- and context-aware solutions from Harmonic, Elemental, Ateme, Bitmovin, EpicLabs, Mux, etc.
© Brightcove Inc. All Rights Reserved. 4
STATIC ABR ENCODING PROFILES
• Define sets of encoding parameters for each rendition:
◦ Resolutions, Bitrates, Codec constraints, etc.
◦ Same for all content, networks, user devices & usage patterns, etc.
• Some examples of ABR profiles used in practice:
RealVideo (1998): Apple HLS guidelines (2018): Brightcove VideoCloud (2013-2016):
video
bitrate
decoder
bitrate
cap
decoder
buffer
size
max
frame
rate
width height
h264
profile
450 771 1028 30 480 270 baseline
700 1194 1592 30 640 360 baseline
900 1494 1992 30 640 360 main
1200 1944 2592 30 960 540 main
1700 2742 3656 30 960 540 main
2500 3942 5256 30 1280 720 main
3500 5442 7256 30 1920 1080 high
3800 6192 8256 30 1920 1080 high
© Brightcove Inc. All Rights Reserved. 5
WHY STATIC ABR PROFILES ARE BAD?
• Static encoding profiles are not accounting for:
◦ differences in video complexity: differences in networks: differences in devices & user preferences:
• A better approach is to design encoding profiles dynamically, accounting for characteristics of
◦ content → content-aware encoding (aka per-title encoding)
◦ network → network-aware encoding
◦ full context (content + network + user statistics) → context-aware encoding
Source: Netflix, 2015 Source: Brightcove VideoCloud analytics, 2019 Source: Brightcove VideoCloud analytics, 2019
© Brightcove Inc. All Rights Reserved. 6
CAE APPROACHES: “CONTENT-AWARE VBR ENCODING”
• Basically, most encoders can be configure to operate either in
◦ “CBR” mode => reduces variation of bitrates: “VBR” mode => reduces variation of quality:
• CBR is required for cable & broadcast (c.f. SCTE 128)
• VBR (with some reasonable constraints) is working reasonably well for OTT
◦ Apple HLS constraints (2018):
• Live: max bitrate < 110% of target
• VOD: max bitrate < 200% of target (in practice it is better to limit it to about 150%)
• Reasons for constraints: minimize client’s mis-predictions, likelihood of buffering, issues with analytics, etc.
© Brightcove Inc. All Rights Reserved. 7
CAE APPROACHES: “PER-TITLE” AND “PER-SCENE ENCODING”
• Primary idea: design ABR encoding profiles individually for each video sequence (or scene within a sequence)
• Secondary idea: place ladder points such that they belong to the convex hull
• Notes:
◦ Netflix “convex hull” argument provides a method for finding best resolutions for any given target bitrate, but
• it does not, say how such bitrates should be placed, or how many of them are needed!
• it constrains the problem, but it does not show how to solve it exactly!
© Brightcove Inc. All Rights Reserved. 8
CAE APPROACHES: “CONTEXT-AWARE ENCODING”
• Example deployment architecture:
• Context Aware Encoding (CAE) is basically an
◦ ABR encoding profile generator that considers:
• properties of content and
• properties of networks and devices used to receive content
Operator
Transcoder
Players
Dynamic transmux system
Playbac
k API
Device
detection
Media Files
+
Metadata
Content
URLs
Rules
Engine
Rules
API
API, orchestrator
Delivery
preferences
Media
CDNs
Manifest
CDNs
Analytics engine
Transcoders
CAE profile
generators
Media
files
Job
requests
JIT packagers +
SSAI
Manifest
generators
Collect and process network & usage statistic for
all actively used devices
© Brightcove Inc. All Rights Reserved. 9
CONTEXT-AWARE ENCODING: THE PRINCIPLE
• Quality-rate function 𝑄(𝑅): Quality delivered by streaming client: Probabilities of loading of each stream:
• Average quality for a given ladder of rates 𝑅1, …, 𝑅𝑛, quality-rate function 𝑄(𝑅), and network density 𝑝(𝑅):
𝑄 𝑅1, …, 𝑅𝑛, 𝑝 = 𝑄 𝑅1 න
𝑅1
𝑅2
𝑝(𝑅)𝑑𝑅 + 𝑄 𝑅2 න
𝑅2
𝑅3
𝑝 𝑅 𝑑𝑅 + … + 𝑄 𝑅𝑛 න
𝑅𝑛
𝑅max
𝑝(𝑅)𝑑𝑅
• A quality-optimal ladder is a set of rates ෠
𝑅1, …, ෠
𝑅𝑛, such that:
𝑄 ෠
𝑅1, …, ෠
𝑅𝑛, 𝑝 = max
𝑅min<𝑅1≤⋯≤𝑅𝑛 <𝑅max
𝑅1≤𝑅1,max
𝑄 𝑅1, …,𝑅𝑛, 𝑝
© Brightcove Inc. All Rights Reserved. 10
CONTEXT-AWARE ENCODING: EXAMPLE INPUTS
• Content: Networks:
• Quality-rate models: Network models:
Based on data from:
J. Karlsson, and M. Riback.
Initial field performance
measurements of LTE,
Ericsson review, 3, 2008.
𝑄 𝑅 =
𝑅𝛽
𝛼𝛽 + 𝑅𝛽
𝑝 𝑅 = 𝛼 𝒩
𝜇1,𝜎1
𝑅 + 1 − 𝛼 𝒩
𝜇2,𝜎2
𝑅
Content α β
Easy 0.0555 0.8550
Medium 0.0724 0.8016
Complex 0.1015 0.7364
Network α μ1 σ1 μ2 σ2
Network 1 0.584 0.996 0.564 2.554 1.165
Network 2 0.584 1.992 1.129 5.108 2.331
Resolution=720p25
Codec=H.264/Main
Quality metric=SSIM
3 video sequences:
“Easy”, “Medium”,
“Complex”
© Brightcove Inc. All Rights Reserved. 11
CONTEXT-AWARE ENCODING: EXAMPLE RESULTS
Optimal ladders for Network 1: Optimal ladders for Network 2:
where:
◦ 𝑄𝑛 = quality at top rendition [SSIM]
◦ ത
𝑄 = average quality [SSIM]
◦ 𝜉 = gap to average quality achievable with infinite number of renditions [%]
• Key observation:
◦ optimal profiles designed for different sources and networks are different!
Content N Ladder bitrates [kbps] 𝑸𝒏
ഥ
𝑸 𝝃 [%]
Easy
2 138, 803 0.909 0.867 6.58
3 100, 512, 1209 0.931 0.888 4.35
4 100, 411, 866, 1645 0.946 0.897 3.34
5 100, 349, 694, 1155, 2087 0.955 0.902 2.76
Medium
2 175, 854 0.881 0.830 7.98
3 100, 518, 1219 0.906 0.854 5.31
4 100, 416, 876, 1663 0.924 0.866 4.00
5 100, 354, 701, 1165, 2104 0.936 0.873 3.25
Complex
2 234, 931 0.825 0.769 10.2
3 145, 590, 1304 0.867 0.797 6.96
4 102, 431, 898, 1704 0.888 0.812 5.22
5 100, 363, 716, 1183, 2134 0.904 0.821 4.16
Content N Ladder bitrates [kbps] 𝑸𝒏
ഥ
𝑸 𝝃 [%]
Easy
2 232, 1457 0.940 0.906 5.14
3 116, 811, 2124 0.955 0.924 3.27
4 100, 589, 1421, 2803 0.964 0.932 2.40
5 100, 486, 1107, 1974, 3577 0.971 0.937 1.92
Medium
2 293, 1549 0.920 0.878 6.23
3 158, 893, 2216 0.939 0.899 4.04
4 100, 601, 1438, 2828 0.949 0.909 2.97
5 100, 495, 1123, 1995, 3615 0.958 0.915 2.35
Complex
2 391, 1685 0.887 0.833 7.98
3 232, 1018, 2358 0.910 0.857 5.29
4 156, 712, 1569, 3001 0.924 0.869 3.94
5 114, 537, 1179, 2060, 3727 0.935 0.877 3.11
© Brightcove Inc. All Rights Reserved. 12
CONTEXT-AWARE ENCODING: HOW MANY STREAMS ARE NEEDED?
• There are two natural limits:
(1) Set limit for quality at top rendition: (2) Set limit for quality gap:
This shows that “easy” content can be This provides effective bound on the number of renditions
encoded with much fewer renditions! for “complex” content as well.
• This way, the problem of design of optimal profiles for single codec case is now fully defined:
◦ we know how to choose rates & number of streams
◦ best choices of resolutions follow by applying resolution-specific quality-rate functions
© Brightcove Inc. All Rights Reserved. 13
CAE APPROACHES: “QUALITY-BASED STREAMING”
• Architecture:
• Pros:
◦ Allows per-segment adaptation
◦ Allows clients to use advanced user- and context-aware adaptation strategies
• Cons:
◦ Requires modifications of the standard
◦ Quality-adaptive work in MPEG-DASH has not provided exact mechanism for enabling it
Encoder
Stream 1
Stream 2
Stream N
Quality data
Manifest
Origin CDN Client
Implements
decision logic
based on quality
metadata
...
© Brightcove Inc. All Rights Reserved. 14
CAE TYPES: SUMMARY
CAE type Example solutions What it affects Impact on standards
VBR encoding x264/x265 “capped CRF”,
Beamr CABR, Harmonic EyeQ,
Elemental QVBR
Encoders
Players need to be tested to
operate reliably under VBR
streams
Clarifications on the extent of VBR
variation allowed may be useful.
Per-title
encoding
Netflix per-title, Ateme CAE,
Bitmovin’ per-title, Cambria, etc.
Encoders only
Streams can be CBR or VBR
None
Context-aware
encoding
Brightcove CAE,
EpicLabs LightFlow,
Mux “audience-aware encoding”
Encoders only
Streams can be CBR or VBR
None
Per-scene
encoding
Netflix per-scene encoding Encoders, players Needs seamless multi-period
option (ability to switch to new
manifest on a per-scene basis)
Quality-based
streaming
MediaMelon QBR,
Bitmovin’ per-scene adaptation
Encoders, players Needs exact means of signaling of
quality annotations and definition
of anticipated client behavior (both
in cases of quality-aware and
legacy clients).
© Brightcove Inc. All Rights Reserved. 15
DISCUSSION TOPICS: CAE AND 5G
Main Questions:
• CAE / ABR ladder design and 5G:
◦ is there an overlap?
◦ if networks are improving, do we still need ABR?
• 5G network characteristics and their impact on streaming:
◦ are there any significant differences in shape of network throughput CDF in 5G vs older networks?
◦ is there any way clients can be advised by the core network about current load and hence shape of network
bandwidth PDFs and other relevant statistics?
© Brightcove Inc. All Rights Reserved. 16
DISCUSSION TOPICS: CAE AND STANDARDS
Two CAE architectures likely need standards support:
• Per-scene encoding:
◦ this requires clients to be able to adapt to a new encoding manifest provided on a per-scene basis
◦ what is needed is basically a “seamless multi-period” option in DASH
• could be constrained to: same codec, same number of streams, but bitrates will definitely be different
• Quality-driven streaming
◦ this needs exact means of signaling of quality annotations
• MPEG-B “carriage of timed metadata” spec is a good start, but its use for the purpose is not defined
anywhere
◦ what also needs to be understood and enabled is backwards-compatible regime of operation
• If new clients know nothing about quality metadata, they must be able to deliver same content as
reliably as new players, but perhaps less efficiently.
THANK YOU!
YURIY REZNIK | YREZNIK@BRIGHTCOVE.COM
© B r i g h t c o v e I n c . A l l R i g h t s R e s e r v e d .
17

More Related Content

Similar to 03-Reznik-DASH-IF-workshop-2019-CAE.pdf

IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...Christopher Diamantopoulos
 
Evaluation and Analysis of Rate Control Methods for H.264/AVC and MPEG-4 Vide...
Evaluation and Analysis of Rate Control Methods for H.264/AVC and MPEG-4 Vide...Evaluation and Analysis of Rate Control Methods for H.264/AVC and MPEG-4 Vide...
Evaluation and Analysis of Rate Control Methods for H.264/AVC and MPEG-4 Vide...IJECEIAES
 
QoS for Media Networks
QoS for Media NetworksQoS for Media Networks
QoS for Media NetworksAmine Choukir
 
ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...
ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...
ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...Reza Farahani
 
CassandraSummit2015_Cassandra upgrades at scale @ NETFLIX
CassandraSummit2015_Cassandra upgrades at scale @ NETFLIXCassandraSummit2015_Cassandra upgrades at scale @ NETFLIX
CassandraSummit2015_Cassandra upgrades at scale @ NETFLIXVinay Kumar Chella
 
IBM VideoCharger and Digital Library MediaBase.doc
IBM VideoCharger and Digital Library MediaBase.docIBM VideoCharger and Digital Library MediaBase.doc
IBM VideoCharger and Digital Library MediaBase.docVideoguy
 
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERSROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERSDeepak Shankar
 
Building High Quality Video Operations in the Cloud - Synacor
Building High Quality Video Operations in the Cloud - SynacorBuilding High Quality Video Operations in the Cloud - Synacor
Building High Quality Video Operations in the Cloud - SynacorAmazon Web Services
 
Introduction to architecture exploration
Introduction to architecture explorationIntroduction to architecture exploration
Introduction to architecture explorationDeepak Shankar
 
Thesis arpan pal_gisfi
Thesis arpan pal_gisfiThesis arpan pal_gisfi
Thesis arpan pal_gisfiArpan Pal
 
Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...
Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...
Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...Intel IT Center
 
口試投影片(詹智傑) Final
口試投影片(詹智傑) Final口試投影片(詹智傑) Final
口試投影片(詹智傑) Final詹智傑
 
Webinar Renesas - IoT é Segura? Com Renesas Synergy sim! E o SSP 1.5 tornou a...
Webinar Renesas - IoT é Segura? Com Renesas Synergy sim! E o SSP 1.5 tornou a...Webinar Renesas - IoT é Segura? Com Renesas Synergy sim! E o SSP 1.5 tornou a...
Webinar Renesas - IoT é Segura? Com Renesas Synergy sim! E o SSP 1.5 tornou a...Embarcados
 
Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)
Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)
Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)Ontico
 
A Dataflow Processing Chip for Training Deep Neural Networks
A Dataflow Processing Chip for Training Deep Neural NetworksA Dataflow Processing Chip for Training Deep Neural Networks
A Dataflow Processing Chip for Training Deep Neural Networksinside-BigData.com
 
Reconfigurable Coprocessors Synthesis in the MPEG-RVC Domain
Reconfigurable Coprocessors Synthesis in the MPEG-RVC DomainReconfigurable Coprocessors Synthesis in the MPEG-RVC Domain
Reconfigurable Coprocessors Synthesis in the MPEG-RVC DomainMDC_UNICA
 
Webinar: BlueNRG-LP - Bluetooth 5.2 de longo alcance para aplicações industriais
Webinar: BlueNRG-LP - Bluetooth 5.2 de longo alcance para aplicações industriaisWebinar: BlueNRG-LP - Bluetooth 5.2 de longo alcance para aplicações industriais
Webinar: BlueNRG-LP - Bluetooth 5.2 de longo alcance para aplicações industriaisEmbarcados
 
SoC Solutions Enabling Server-Based Networking
SoC Solutions Enabling Server-Based NetworkingSoC Solutions Enabling Server-Based Networking
SoC Solutions Enabling Server-Based NetworkingNetronome
 

Similar to 03-Reznik-DASH-IF-workshop-2019-CAE.pdf (20)

IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
 
Evaluation and Analysis of Rate Control Methods for H.264/AVC and MPEG-4 Vide...
Evaluation and Analysis of Rate Control Methods for H.264/AVC and MPEG-4 Vide...Evaluation and Analysis of Rate Control Methods for H.264/AVC and MPEG-4 Vide...
Evaluation and Analysis of Rate Control Methods for H.264/AVC and MPEG-4 Vide...
 
QoS for Media Networks
QoS for Media NetworksQoS for Media Networks
QoS for Media Networks
 
ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...
ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...
ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...
 
CassandraSummit2015_Cassandra upgrades at scale @ NETFLIX
CassandraSummit2015_Cassandra upgrades at scale @ NETFLIXCassandraSummit2015_Cassandra upgrades at scale @ NETFLIX
CassandraSummit2015_Cassandra upgrades at scale @ NETFLIX
 
IBM VideoCharger and Digital Library MediaBase.doc
IBM VideoCharger and Digital Library MediaBase.docIBM VideoCharger and Digital Library MediaBase.doc
IBM VideoCharger and Digital Library MediaBase.doc
 
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERSROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
 
Building High Quality Video Operations in the Cloud - Synacor
Building High Quality Video Operations in the Cloud - SynacorBuilding High Quality Video Operations in the Cloud - Synacor
Building High Quality Video Operations in the Cloud - Synacor
 
Introduction to architecture exploration
Introduction to architecture explorationIntroduction to architecture exploration
Introduction to architecture exploration
 
Thesis arpan pal_gisfi
Thesis arpan pal_gisfiThesis arpan pal_gisfi
Thesis arpan pal_gisfi
 
Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...
Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...
Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...
 
Basavanthrao_resume_vlsi
Basavanthrao_resume_vlsiBasavanthrao_resume_vlsi
Basavanthrao_resume_vlsi
 
H263.ppt
H263.pptH263.ppt
H263.ppt
 
口試投影片(詹智傑) Final
口試投影片(詹智傑) Final口試投影片(詹智傑) Final
口試投影片(詹智傑) Final
 
Webinar Renesas - IoT é Segura? Com Renesas Synergy sim! E o SSP 1.5 tornou a...
Webinar Renesas - IoT é Segura? Com Renesas Synergy sim! E o SSP 1.5 tornou a...Webinar Renesas - IoT é Segura? Com Renesas Synergy sim! E o SSP 1.5 tornou a...
Webinar Renesas - IoT é Segura? Com Renesas Synergy sim! E o SSP 1.5 tornou a...
 
Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)
Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)
Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)
 
A Dataflow Processing Chip for Training Deep Neural Networks
A Dataflow Processing Chip for Training Deep Neural NetworksA Dataflow Processing Chip for Training Deep Neural Networks
A Dataflow Processing Chip for Training Deep Neural Networks
 
Reconfigurable Coprocessors Synthesis in the MPEG-RVC Domain
Reconfigurable Coprocessors Synthesis in the MPEG-RVC DomainReconfigurable Coprocessors Synthesis in the MPEG-RVC Domain
Reconfigurable Coprocessors Synthesis in the MPEG-RVC Domain
 
Webinar: BlueNRG-LP - Bluetooth 5.2 de longo alcance para aplicações industriais
Webinar: BlueNRG-LP - Bluetooth 5.2 de longo alcance para aplicações industriaisWebinar: BlueNRG-LP - Bluetooth 5.2 de longo alcance para aplicações industriais
Webinar: BlueNRG-LP - Bluetooth 5.2 de longo alcance para aplicações industriais
 
SoC Solutions Enabling Server-Based Networking
SoC Solutions Enabling Server-Based NetworkingSoC Solutions Enabling Server-Based Networking
SoC Solutions Enabling Server-Based Networking
 

More from JunZhao68

1-MIV-tutorial-part-1.pdf
1-MIV-tutorial-part-1.pdf1-MIV-tutorial-part-1.pdf
1-MIV-tutorial-part-1.pdfJunZhao68
 
GOP-Size_report_11_16.pdf
GOP-Size_report_11_16.pdfGOP-Size_report_11_16.pdf
GOP-Size_report_11_16.pdfJunZhao68
 
02-VariableLengthCodes_pres.pdf
02-VariableLengthCodes_pres.pdf02-VariableLengthCodes_pres.pdf
02-VariableLengthCodes_pres.pdfJunZhao68
 
MHV-Presentation-Forman (1).pdf
MHV-Presentation-Forman (1).pdfMHV-Presentation-Forman (1).pdf
MHV-Presentation-Forman (1).pdfJunZhao68
 
CODA_presentation.pdf
CODA_presentation.pdfCODA_presentation.pdf
CODA_presentation.pdfJunZhao68
 
http3-quic-streaming-2020-200121234036.pdf
http3-quic-streaming-2020-200121234036.pdfhttp3-quic-streaming-2020-200121234036.pdf
http3-quic-streaming-2020-200121234036.pdfJunZhao68
 
NTTW4-FFmpeg.pdf
NTTW4-FFmpeg.pdfNTTW4-FFmpeg.pdf
NTTW4-FFmpeg.pdfJunZhao68
 
Practical Programming.pdf
Practical Programming.pdfPractical Programming.pdf
Practical Programming.pdfJunZhao68
 
Overview_of_H.264.pdf
Overview_of_H.264.pdfOverview_of_H.264.pdf
Overview_of_H.264.pdfJunZhao68
 
20160927-tierney-improving-performance-40G-100G-data-transfer-nodes.pdf
20160927-tierney-improving-performance-40G-100G-data-transfer-nodes.pdf20160927-tierney-improving-performance-40G-100G-data-transfer-nodes.pdf
20160927-tierney-improving-performance-40G-100G-data-transfer-nodes.pdfJunZhao68
 
Wojciech Przybyl - Efficient Trick Modes with MPEG-DASH.pdf
Wojciech Przybyl - Efficient Trick Modes with MPEG-DASH.pdfWojciech Przybyl - Efficient Trick Modes with MPEG-DASH.pdf
Wojciech Przybyl - Efficient Trick Modes with MPEG-DASH.pdfJunZhao68
 
100G Networking Berlin.pdf
100G Networking Berlin.pdf100G Networking Berlin.pdf
100G Networking Berlin.pdfJunZhao68
 
20230320-信息技术-人工智能系列深度报告:AIGC行业综述篇——开启AI新篇章-国海证券.pdf
20230320-信息技术-人工智能系列深度报告:AIGC行业综述篇——开启AI新篇章-国海证券.pdf20230320-信息技术-人工智能系列深度报告:AIGC行业综述篇——开启AI新篇章-国海证券.pdf
20230320-信息技术-人工智能系列深度报告:AIGC行业综述篇——开启AI新篇章-国海证券.pdfJunZhao68
 
3 Open-Source-SYCL-Intel-Khronos-EVS-Workshop_May19.pdf
3 Open-Source-SYCL-Intel-Khronos-EVS-Workshop_May19.pdf3 Open-Source-SYCL-Intel-Khronos-EVS-Workshop_May19.pdf
3 Open-Source-SYCL-Intel-Khronos-EVS-Workshop_May19.pdfJunZhao68
 
2020+HESP+Technical+Deck+-+HESP+Alliance.pdf
2020+HESP+Technical+Deck+-+HESP+Alliance.pdf2020+HESP+Technical+Deck+-+HESP+Alliance.pdf
2020+HESP+Technical+Deck+-+HESP+Alliance.pdfJunZhao68
 
5 - Advanced SVE.pdf
5 - Advanced SVE.pdf5 - Advanced SVE.pdf
5 - Advanced SVE.pdfJunZhao68
 

More from JunZhao68 (16)

1-MIV-tutorial-part-1.pdf
1-MIV-tutorial-part-1.pdf1-MIV-tutorial-part-1.pdf
1-MIV-tutorial-part-1.pdf
 
GOP-Size_report_11_16.pdf
GOP-Size_report_11_16.pdfGOP-Size_report_11_16.pdf
GOP-Size_report_11_16.pdf
 
02-VariableLengthCodes_pres.pdf
02-VariableLengthCodes_pres.pdf02-VariableLengthCodes_pres.pdf
02-VariableLengthCodes_pres.pdf
 
MHV-Presentation-Forman (1).pdf
MHV-Presentation-Forman (1).pdfMHV-Presentation-Forman (1).pdf
MHV-Presentation-Forman (1).pdf
 
CODA_presentation.pdf
CODA_presentation.pdfCODA_presentation.pdf
CODA_presentation.pdf
 
http3-quic-streaming-2020-200121234036.pdf
http3-quic-streaming-2020-200121234036.pdfhttp3-quic-streaming-2020-200121234036.pdf
http3-quic-streaming-2020-200121234036.pdf
 
NTTW4-FFmpeg.pdf
NTTW4-FFmpeg.pdfNTTW4-FFmpeg.pdf
NTTW4-FFmpeg.pdf
 
Practical Programming.pdf
Practical Programming.pdfPractical Programming.pdf
Practical Programming.pdf
 
Overview_of_H.264.pdf
Overview_of_H.264.pdfOverview_of_H.264.pdf
Overview_of_H.264.pdf
 
20160927-tierney-improving-performance-40G-100G-data-transfer-nodes.pdf
20160927-tierney-improving-performance-40G-100G-data-transfer-nodes.pdf20160927-tierney-improving-performance-40G-100G-data-transfer-nodes.pdf
20160927-tierney-improving-performance-40G-100G-data-transfer-nodes.pdf
 
Wojciech Przybyl - Efficient Trick Modes with MPEG-DASH.pdf
Wojciech Przybyl - Efficient Trick Modes with MPEG-DASH.pdfWojciech Przybyl - Efficient Trick Modes with MPEG-DASH.pdf
Wojciech Przybyl - Efficient Trick Modes with MPEG-DASH.pdf
 
100G Networking Berlin.pdf
100G Networking Berlin.pdf100G Networking Berlin.pdf
100G Networking Berlin.pdf
 
20230320-信息技术-人工智能系列深度报告:AIGC行业综述篇——开启AI新篇章-国海证券.pdf
20230320-信息技术-人工智能系列深度报告:AIGC行业综述篇——开启AI新篇章-国海证券.pdf20230320-信息技术-人工智能系列深度报告:AIGC行业综述篇——开启AI新篇章-国海证券.pdf
20230320-信息技术-人工智能系列深度报告:AIGC行业综述篇——开启AI新篇章-国海证券.pdf
 
3 Open-Source-SYCL-Intel-Khronos-EVS-Workshop_May19.pdf
3 Open-Source-SYCL-Intel-Khronos-EVS-Workshop_May19.pdf3 Open-Source-SYCL-Intel-Khronos-EVS-Workshop_May19.pdf
3 Open-Source-SYCL-Intel-Khronos-EVS-Workshop_May19.pdf
 
2020+HESP+Technical+Deck+-+HESP+Alliance.pdf
2020+HESP+Technical+Deck+-+HESP+Alliance.pdf2020+HESP+Technical+Deck+-+HESP+Alliance.pdf
2020+HESP+Technical+Deck+-+HESP+Alliance.pdf
 
5 - Advanced SVE.pdf
5 - Advanced SVE.pdf5 - Advanced SVE.pdf
5 - Advanced SVE.pdf
 

Recently uploaded

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 

Recently uploaded (20)

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 

03-Reznik-DASH-IF-workshop-2019-CAE.pdf

  • 1. CONTEXT-AWARE ENCODING AND 5G YURIY REZNIK | YREZNIK@BRIGHTCOVE.COM © B r i g h t c o v e I n c . A l l R i g h t s R e s e r v e d . DASH-IF WORKSHOP ON MEDIA STREAMING MEETS 5G, DECEMBER 9-10, 2019, PORTLAND, OR
  • 2. © Brightcove Inc. All Rights Reserved. 2 OUTLINE • Brief history of context-aware encoding & variants • How it works • Types of CAE technologies today • CAE and standards ◦ CAE technologies that are fully compatible with existing standards & players ◦ CAE technologies that may need extensions • Discussion ◦ CAE and 5G • is there any overlap? • what type of information from 5G network layer could be useful for CAE ◦ Shall there be extension of a standard? • E.g. for per-scene ladder signaling?
  • 3. © Brightcove Inc. All Rights Reserved. 3 BRIEF HISTORY OF CAE • Early 1990s: H.261, H.263, MPEG-1/2 ◦ “fixed QP” regime – the grandfather of everything “Constant Quality” • Late 1990s-early 2000s: RealVideo 8-10 ◦ “RMVB” – heavy VBR encoding regime, optimized for downloads, still in use in Asia • Early 2010s: ◦ British Telecom “Quality-driven streaming” (Mike Nilsson, et al, June 2012) ◦ InterDigital “Quality-based streaming” proposal to MPEG-DASH (Y. Reznik et al, m25996, July 2012) ◦ Intel labs “Quality-aware streaming” (Yiting Liao, et al, 2013) ◦ “Capped-CRF” – approaches – multiple sources, 2013+ ◦ Beamr “Optimizer” – second pass encoding with adjusted targets, 2013+ ◦ MediaMelon “QBR streaming”, 2014 • Late 2010s: ◦ Netflix “Per-Title Encoding” blog post, Dec. 2015 – ladder of resolutions and rates according to content ◦ Brightcove “Context-Aware Encoding”, Oct. 2016 – ladder design as end-to-end optimization problem ◦ Netflix “per-scene encoding”, 2018 – same as per-title, but on scene basis ◦ Content- and context-aware solutions from Harmonic, Elemental, Ateme, Bitmovin, EpicLabs, Mux, etc.
  • 4. © Brightcove Inc. All Rights Reserved. 4 STATIC ABR ENCODING PROFILES • Define sets of encoding parameters for each rendition: ◦ Resolutions, Bitrates, Codec constraints, etc. ◦ Same for all content, networks, user devices & usage patterns, etc. • Some examples of ABR profiles used in practice: RealVideo (1998): Apple HLS guidelines (2018): Brightcove VideoCloud (2013-2016): video bitrate decoder bitrate cap decoder buffer size max frame rate width height h264 profile 450 771 1028 30 480 270 baseline 700 1194 1592 30 640 360 baseline 900 1494 1992 30 640 360 main 1200 1944 2592 30 960 540 main 1700 2742 3656 30 960 540 main 2500 3942 5256 30 1280 720 main 3500 5442 7256 30 1920 1080 high 3800 6192 8256 30 1920 1080 high
  • 5. © Brightcove Inc. All Rights Reserved. 5 WHY STATIC ABR PROFILES ARE BAD? • Static encoding profiles are not accounting for: ◦ differences in video complexity: differences in networks: differences in devices & user preferences: • A better approach is to design encoding profiles dynamically, accounting for characteristics of ◦ content → content-aware encoding (aka per-title encoding) ◦ network → network-aware encoding ◦ full context (content + network + user statistics) → context-aware encoding Source: Netflix, 2015 Source: Brightcove VideoCloud analytics, 2019 Source: Brightcove VideoCloud analytics, 2019
  • 6. © Brightcove Inc. All Rights Reserved. 6 CAE APPROACHES: “CONTENT-AWARE VBR ENCODING” • Basically, most encoders can be configure to operate either in ◦ “CBR” mode => reduces variation of bitrates: “VBR” mode => reduces variation of quality: • CBR is required for cable & broadcast (c.f. SCTE 128) • VBR (with some reasonable constraints) is working reasonably well for OTT ◦ Apple HLS constraints (2018): • Live: max bitrate < 110% of target • VOD: max bitrate < 200% of target (in practice it is better to limit it to about 150%) • Reasons for constraints: minimize client’s mis-predictions, likelihood of buffering, issues with analytics, etc.
  • 7. © Brightcove Inc. All Rights Reserved. 7 CAE APPROACHES: “PER-TITLE” AND “PER-SCENE ENCODING” • Primary idea: design ABR encoding profiles individually for each video sequence (or scene within a sequence) • Secondary idea: place ladder points such that they belong to the convex hull • Notes: ◦ Netflix “convex hull” argument provides a method for finding best resolutions for any given target bitrate, but • it does not, say how such bitrates should be placed, or how many of them are needed! • it constrains the problem, but it does not show how to solve it exactly!
  • 8. © Brightcove Inc. All Rights Reserved. 8 CAE APPROACHES: “CONTEXT-AWARE ENCODING” • Example deployment architecture: • Context Aware Encoding (CAE) is basically an ◦ ABR encoding profile generator that considers: • properties of content and • properties of networks and devices used to receive content Operator Transcoder Players Dynamic transmux system Playbac k API Device detection Media Files + Metadata Content URLs Rules Engine Rules API API, orchestrator Delivery preferences Media CDNs Manifest CDNs Analytics engine Transcoders CAE profile generators Media files Job requests JIT packagers + SSAI Manifest generators Collect and process network & usage statistic for all actively used devices
  • 9. © Brightcove Inc. All Rights Reserved. 9 CONTEXT-AWARE ENCODING: THE PRINCIPLE • Quality-rate function 𝑄(𝑅): Quality delivered by streaming client: Probabilities of loading of each stream: • Average quality for a given ladder of rates 𝑅1, …, 𝑅𝑛, quality-rate function 𝑄(𝑅), and network density 𝑝(𝑅): 𝑄 𝑅1, …, 𝑅𝑛, 𝑝 = 𝑄 𝑅1 න 𝑅1 𝑅2 𝑝(𝑅)𝑑𝑅 + 𝑄 𝑅2 න 𝑅2 𝑅3 𝑝 𝑅 𝑑𝑅 + … + 𝑄 𝑅𝑛 න 𝑅𝑛 𝑅max 𝑝(𝑅)𝑑𝑅 • A quality-optimal ladder is a set of rates ෠ 𝑅1, …, ෠ 𝑅𝑛, such that: 𝑄 ෠ 𝑅1, …, ෠ 𝑅𝑛, 𝑝 = max 𝑅min<𝑅1≤⋯≤𝑅𝑛 <𝑅max 𝑅1≤𝑅1,max 𝑄 𝑅1, …,𝑅𝑛, 𝑝
  • 10. © Brightcove Inc. All Rights Reserved. 10 CONTEXT-AWARE ENCODING: EXAMPLE INPUTS • Content: Networks: • Quality-rate models: Network models: Based on data from: J. Karlsson, and M. Riback. Initial field performance measurements of LTE, Ericsson review, 3, 2008. 𝑄 𝑅 = 𝑅𝛽 𝛼𝛽 + 𝑅𝛽 𝑝 𝑅 = 𝛼 𝒩 𝜇1,𝜎1 𝑅 + 1 − 𝛼 𝒩 𝜇2,𝜎2 𝑅 Content α β Easy 0.0555 0.8550 Medium 0.0724 0.8016 Complex 0.1015 0.7364 Network α μ1 σ1 μ2 σ2 Network 1 0.584 0.996 0.564 2.554 1.165 Network 2 0.584 1.992 1.129 5.108 2.331 Resolution=720p25 Codec=H.264/Main Quality metric=SSIM 3 video sequences: “Easy”, “Medium”, “Complex”
  • 11. © Brightcove Inc. All Rights Reserved. 11 CONTEXT-AWARE ENCODING: EXAMPLE RESULTS Optimal ladders for Network 1: Optimal ladders for Network 2: where: ◦ 𝑄𝑛 = quality at top rendition [SSIM] ◦ ത 𝑄 = average quality [SSIM] ◦ 𝜉 = gap to average quality achievable with infinite number of renditions [%] • Key observation: ◦ optimal profiles designed for different sources and networks are different! Content N Ladder bitrates [kbps] 𝑸𝒏 ഥ 𝑸 𝝃 [%] Easy 2 138, 803 0.909 0.867 6.58 3 100, 512, 1209 0.931 0.888 4.35 4 100, 411, 866, 1645 0.946 0.897 3.34 5 100, 349, 694, 1155, 2087 0.955 0.902 2.76 Medium 2 175, 854 0.881 0.830 7.98 3 100, 518, 1219 0.906 0.854 5.31 4 100, 416, 876, 1663 0.924 0.866 4.00 5 100, 354, 701, 1165, 2104 0.936 0.873 3.25 Complex 2 234, 931 0.825 0.769 10.2 3 145, 590, 1304 0.867 0.797 6.96 4 102, 431, 898, 1704 0.888 0.812 5.22 5 100, 363, 716, 1183, 2134 0.904 0.821 4.16 Content N Ladder bitrates [kbps] 𝑸𝒏 ഥ 𝑸 𝝃 [%] Easy 2 232, 1457 0.940 0.906 5.14 3 116, 811, 2124 0.955 0.924 3.27 4 100, 589, 1421, 2803 0.964 0.932 2.40 5 100, 486, 1107, 1974, 3577 0.971 0.937 1.92 Medium 2 293, 1549 0.920 0.878 6.23 3 158, 893, 2216 0.939 0.899 4.04 4 100, 601, 1438, 2828 0.949 0.909 2.97 5 100, 495, 1123, 1995, 3615 0.958 0.915 2.35 Complex 2 391, 1685 0.887 0.833 7.98 3 232, 1018, 2358 0.910 0.857 5.29 4 156, 712, 1569, 3001 0.924 0.869 3.94 5 114, 537, 1179, 2060, 3727 0.935 0.877 3.11
  • 12. © Brightcove Inc. All Rights Reserved. 12 CONTEXT-AWARE ENCODING: HOW MANY STREAMS ARE NEEDED? • There are two natural limits: (1) Set limit for quality at top rendition: (2) Set limit for quality gap: This shows that “easy” content can be This provides effective bound on the number of renditions encoded with much fewer renditions! for “complex” content as well. • This way, the problem of design of optimal profiles for single codec case is now fully defined: ◦ we know how to choose rates & number of streams ◦ best choices of resolutions follow by applying resolution-specific quality-rate functions
  • 13. © Brightcove Inc. All Rights Reserved. 13 CAE APPROACHES: “QUALITY-BASED STREAMING” • Architecture: • Pros: ◦ Allows per-segment adaptation ◦ Allows clients to use advanced user- and context-aware adaptation strategies • Cons: ◦ Requires modifications of the standard ◦ Quality-adaptive work in MPEG-DASH has not provided exact mechanism for enabling it Encoder Stream 1 Stream 2 Stream N Quality data Manifest Origin CDN Client Implements decision logic based on quality metadata ...
  • 14. © Brightcove Inc. All Rights Reserved. 14 CAE TYPES: SUMMARY CAE type Example solutions What it affects Impact on standards VBR encoding x264/x265 “capped CRF”, Beamr CABR, Harmonic EyeQ, Elemental QVBR Encoders Players need to be tested to operate reliably under VBR streams Clarifications on the extent of VBR variation allowed may be useful. Per-title encoding Netflix per-title, Ateme CAE, Bitmovin’ per-title, Cambria, etc. Encoders only Streams can be CBR or VBR None Context-aware encoding Brightcove CAE, EpicLabs LightFlow, Mux “audience-aware encoding” Encoders only Streams can be CBR or VBR None Per-scene encoding Netflix per-scene encoding Encoders, players Needs seamless multi-period option (ability to switch to new manifest on a per-scene basis) Quality-based streaming MediaMelon QBR, Bitmovin’ per-scene adaptation Encoders, players Needs exact means of signaling of quality annotations and definition of anticipated client behavior (both in cases of quality-aware and legacy clients).
  • 15. © Brightcove Inc. All Rights Reserved. 15 DISCUSSION TOPICS: CAE AND 5G Main Questions: • CAE / ABR ladder design and 5G: ◦ is there an overlap? ◦ if networks are improving, do we still need ABR? • 5G network characteristics and their impact on streaming: ◦ are there any significant differences in shape of network throughput CDF in 5G vs older networks? ◦ is there any way clients can be advised by the core network about current load and hence shape of network bandwidth PDFs and other relevant statistics?
  • 16. © Brightcove Inc. All Rights Reserved. 16 DISCUSSION TOPICS: CAE AND STANDARDS Two CAE architectures likely need standards support: • Per-scene encoding: ◦ this requires clients to be able to adapt to a new encoding manifest provided on a per-scene basis ◦ what is needed is basically a “seamless multi-period” option in DASH • could be constrained to: same codec, same number of streams, but bitrates will definitely be different • Quality-driven streaming ◦ this needs exact means of signaling of quality annotations • MPEG-B “carriage of timed metadata” spec is a good start, but its use for the purpose is not defined anywhere ◦ what also needs to be understood and enabled is backwards-compatible regime of operation • If new clients know nothing about quality metadata, they must be able to deliver same content as reliably as new players, but perhaps less efficiently.
  • 17. THANK YOU! YURIY REZNIK | YREZNIK@BRIGHTCOVE.COM © B r i g h t c o v e I n c . A l l R i g h t s R e s e r v e d . 17