Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Hyderabad Campus
Multimedia
Abhishek Thakur
Computing
CSIS
BITS-Pilani, Hyderabad
Campus
BITS Pilani
Hyderabad Campus
Multimedia Computing
Modern Multimedia Systems
Module -9 (of 10)
BITS Pilani
Hyderabad Campus
Online materials
Modules
Module
Coverage
1. Introduction
2. Data Compression
4. Video / Audio
Fundamentals
5. Video Compression
6. Audio and
Synchronization
7. Storage and
Communication Basics
8. Multimedia
Communication
9. Modern Multimedia
Systems
9.1 DASH
Dynamic Adaptive Streaming using HTTP
Ref: Prof. Klara Nahrstedt, CS Department UIUC and Thomas
Stockhammer, Qualcomm and Wikipedia
Multimedia Computing
10/4/16
Slide 5
10/4/16
Slide 6
Multimedia Computing
10/4/16
Slide 7
APPLICATION
DASH
SIP
RTSP
RSVP
(H.264, MPEG-4)
Layer 5
(Session)
RTCP
RTP
HTTP
KERNEL
TCP
DCCP
UDP
IP Version 4, IP Version 6
AAL5
AAL3/4
MPLS
ATM/Fiber Optics
Ref: CS 414 - Spring 2014
Prof. Prof. Klara Nahrstedt
, CS Department UIUC
Layer 4
(Transport)
Layer 3
(Network)
Layer 2
(Link/MAC)
Ethernet/WiFi
Low Quality of
Experience
Long start-up
latency
Frequent
rebuffering
Low playback
quality
No lip-sync
10/4/16
Slide 10
Growth of Mobile
Internet/Video
Thomas Stockhammer, Qualcomm, DASH Design Principles and Standards , MMSys 2011
Adaptive Streaming
One approach to tackle
problems/challenges
10/4/16
Slide 13
Adaptive Streaming
Standardization History
10/4/16
Slide 15
Server
Can be standard
web server
Media segment can
be prepared in-line
or off-line
Ref: CS 414 - Spring 2014
Prof.
Prof. Klara Nahrstedt, CS D
epartment UIUC
Client
Sends series of HTTP
GET segment requests
and receives segments
Performs rate adaptation
before sending a new
GET segment request
Client-centric approach
Client has best view of network conditions
No session state in network
Redundancy
Scalability
Faster innovation and experimentation
But, relies on client for operational metrics
Only client knows what really happens
10/4/16
Slide 17
10/4/16
Slide 18
10/4/16
Slide 19
DASH Client
Information Classification
DASH uses MPD (Media Presentation Descriptor) and
Index Information as metadata for DASH Access Client
Initialization and Media Segments for Media Engine
Reuse of existing container format
Source: MMSys11
CS 414 - Spring 2014
Multimedia Computing
10/4/16
Slide 21
MPD Information
Includes redundant information of media streams to initially
select or reject groups or representations
Includes access and timing information
Content addressing via HTTP-URLs
Byte range for each accessible segment
Segment availability start and end time in wall-clock time
Approximate media start time and duration
Instructions on starting playout (for live service)
Includes switching relations across representations
Ref: CS 414 - Spring 2014
Prof.
Prof. Klara Nahrstedt, CS D
epartment UIUC
Multimedia Computing
10/4/16
Slide 23
10/4/16
Slide 24
advantages
Short duration
Long duration
- Small number of
files
- Small number of
URLs
- High switching
granularity
- Flexible request
sizes
- Improved cache
Multimedia Computing
10/4/16
disadvantages
Slide 25
Segment Indexing
Provides information in ISO box structure on
Accessible units of data (e.g., frames) in media segment
Byte range in segments (easy access through HTTP
GET)
Accurate presentation duration (seamless switching)
Presence of representation access positions
10/4/16
Slide 26
DASH Capabilities
Enables live, on-demand and time-shift services
Allows independency of request sizes and segment sizes
Allows segment formats that are
ISO base media formats ISO BMFF or MPEG-2 TS
ISO BMFF - .. File Format (extensions)
MPEG-2 TS - .. Transport Stream (extensions)
Multimedia Computing
10/4/16
Slide 28
MPEG-DASH Summary
Is rich and simple at the same time
Supports both un-chunked and chunked
Supports both separate and combined AV
Index formats for efficient byte range operation
ISO base media file format w/common encryption
Many useful stream and track annotations
Currently best candidate for open standard
for adaptive streaming
Ref: CS 414 - Spring 2014
Prof.
Prof. Klara Nahrstedt, CS D
epartment UIUC
10/4/16
Slide 29
Conclusion
Metadata used by DASH and session mobility approach
use MPEG-21 international standard
Facilitates MPEG-21 Digital Item
Leverages existing media repositories such as UPnP
One possible implementation of DASH
http://www-itec.uni-klu.ac.at/dash
10/4/16
Slide 30
9.2 CDN
Heard of Akamai Networks?
How does YouTube / Facebook scale?
Most of the content is Write/Create once Read / Consume / Play
multiple times.
Access may happen across Geographical areas and at different
times.
Content Distribution Networks
Multimedia Computing
10/4/16
Slide 31
10/4/16
Slide 32
Multimedia Computing
10/4/16
Slide 33
How to Do CDN
Origin server based optimization by modifying HTTP/HTML
response.
DNS based optimization (e.g. edns-client-subnet EDNS0 option
to accurately localize DNS resolution responses to
geographical vicinity.
Access network based optimization e.g. Telco CDN
Other options P2P CDN, Enterprise CDN (local caching proxy
etc.)
Multimedia Computing
10/4/16
Slide 34
10/4/16
Slide 35
Multimedia Computing
10/4/16
Slide 36
Source: http://www.youtube.com/t/press_statistics
Multimedia Computing
10/4/16
Slide 39
Performance
Location
Cost
Redundant Array of
Independent
(Inexpensive) Disks
Can we have
optimizations lower
in the stack?
Multimedia Computing
10/4/16
Slide 40
Multimedia Computing
10/4/16
Slide 41
10/4/16
Slide 42
10/4/16
Slide 43
Multimedia Computing
10/4/16
Slide 44
Multimedia Computing
10/4/16
Slide 45
Big Table
BigTable maps two arbitrary string values (row key and column key) and timestamp (hence three-
into an associated arbitrary byte array. It is not a relational database and can be better defined as
a sparse, distributed multi-dimensional sorted map.
dimensional mapping)
Scales into the petabyte range across "hundreds or thousands of machines, and to make it easy to add
more machines [to] the system and automatically start taking advantage of those resources without any
reconfiguration
Table has multiple dimensions (one of which is a field for time, allowing for versioning and garbage collection).
Tables are optimized for Google File System (GFS) by being split into multiple tablets segments
of the table are split along a row chosen such that the tablet will be ~200 megabytes in size.
When sizes threaten to grow beyond a specified limit, the tablets are compressed using the
algorithms which are a less space-optimal but more efficient in terms of computing time.
Apache Accumulo is a similar release in open source.
Googles Spanner is a successor to Big Table in the sense that it adds Transactional capabilities.
Multimedia Computing
10/4/16
Slide 46
Thank You !!
Multimedia Computing
10/4/16
Slide 47