Documente Academic
Documente Profesional
Documente Cultură
TECH-BLOG
Recently, YouTube has changed/evolved the way it delivers video contents. It used to be a big fan of HTTP
progressive download (downloading a video file by a single request just like downloading a data file) until last
year. However, from this year, many efforts have been made by YouTube (e.g. switching to chunking and
adaptive streaming) for improved video delivery. We will focus on "switching into chunking" this time.
MP4
1080p
720p
Resolution
Encoding
Rate
1920x1080
5.812 Mbps
1280x720
2.953 Mbps
URI Parameter
Video Codec
id
itag
f5b664a7bab5f5fd
f5b664a7bab5f5fd
37
22
H.264
H.264
File Size
Device
Reqeust
175 MB
PC
PC
Android
Partial request1
iDevice
Android
Partial request1
iDevice
88.8 MB
MP4
360p
640x360
719 Kbps
f5b664a7bab5f5fd
18
H.264
21.6 MB
FLV
480p
854x480
1.229 Mbps
f5b664a7bab5f5fd
35
H.264
37.0 MB
PC
FLV
360p
640x360
885 Kbps
f5b664a7bab5f5fd
34
H.264
26.6 MB
PC
Partial request2
FLV
240p
426x240
371 Kbps
f5b664a7bab5f5fd
H.263
11.2 MB
PC
3GP
240p
320x180
228 Kbps
f5b664a7bab5f5fd
36
MPEG-4
6.86 MB
Android
Partial request1
Please note that only downloading to PCs will be discussed in this post.
Youtube provides videos in many different resolutions (1080p, 720p, 480p, 360p, 240p). With the
conventional delivery method, only the ones in 360p resolution were requested and delivered in chunks,
whereas others were downloaded as one whole file by a single request (HTTP GET).
For detailed description, please see our technical document "Analysis of YouTube video request and delivery
(360p, 720p)".
Netmanias Tech-Blog: YouTube, changing the way of delivering videos (1): Chunking and Adaptive
Streaming are In and Progressive Download is Out!
A single TCP
session
Resolution: 360p
Requesting next chunk constantly
while watching
Chunk size: Fixed 1.78MB
No automatic resolution change
A single TCP session
A single TCP
session
Netmanias Tech-Blog: YouTube, changing the way of delivering videos (1): Chunking and Adaptive
Streaming are In and Progressive Download is Out!
and then the rest at an adjusted lower rate after certain amount was delivered to the PC, by performing
appropriate pacing (throttling) during the delivery. Both i) and ii) cause high loads on the YouTube server.
The figure [AFTER] shows the patterns of requesting and delivering contents: The device made back-to-back
requests for the first 3~4 chunks to fill the receiving buffer. Then, it made requests for more chunks in about
every 20 seconds. If the user leaves without finishing the video, requests for additional chunks are not made,
allowing only about the volume actually watched to be downloaded. Eventually, the YouTube server's load
is significantly decreased.
A file (88.8MB)
40s
Streaming (Chunk-base)
220s
1080p
720p
480p
360p
240p
144p
Single File
(Video &
Audio)
Single File
(Video &
Audio)
Single File
(Video &
Audio)
Single File
(Video &
Audio)
Single File
(Video &
Audio)
Single File
(Video &
Audio)
id
f5b664a7bab5f5fd
f5b664a7bab5f5fd
f5b664a7bab5f5fd
f5b664a7bab5f5fd
f5b664a7bab5f5fd
f5b664a7bab5f5fd
After
itag
37
22
35
34
17
Delivery
HTTP Progressive
Download
(the whole file request)
HTTP Progressive
Download
(the whole file request)
media file
id
itag
Video File
f5b664a7bab5f5fd 137
Audio File
f5b664a7bab5f5fd 141
Video File
f5b664a7bab5f5fd 136
Audio File
f5b664a7bab5f5fd 141
Video File
f5b664a7bab5f5fd 135
Audio File
f5b664a7bab5f5fd 141
Chunk-based HTTP
Streaming
Video File
f5b664a7bab5f5fd 134
Audio File
f5b664a7bab5f5fd 140
HTTP Progressive
Download
(the whole file request)
Video File
f5b664a7bab5f5fd 133
Audio File
f5b664a7bab5f5fd 140
Video File
f5b664a7bab5f5fd 160
Audio File
f5b664a7bab5f5fd 140
HTTP Progressive
Download
(the whole file request)
HTTP Progressive
Download
(the whole file request)
Delivery
Chunk-based HTTP Streaming
Netmanias Tech-Blog: YouTube, changing the way of delivering videos (1): Chunking and Adaptive
Streaming are In and Progressive Download is Out!
Watching
another
video after
40 sec
After (Chunk)
Watching
another
video after
40 sec
Watching
another
video after
40 sec
User PC
Watching
another
video after
40 sec
YouTube Server
Internet or operators
network
BIG ($$$)
User PC
YouTube Server
Internet or operators
network
Small ($)
00
01
02
03
04
05
06
07
08
09
10
11
12
13
eMBMS/Mobile IPTV
CDN/Mobile CDN
Transparent Caching
BSS/OSS
Services
Cable TPS
Voice/Video Quality
IMS
Policy Control/PCRF
IPTV/TPS
LTE
Mobile
Network
Mobile WiMAX
Carrier WiFi
LTE Backaul
Data Center Migration
Carrier Ethernet
FTTH
Wireline
Network
Data Center
Metro Ethernet
MPLS
IP Routing
CDN
Transparent
Caching
Analysis
Networks
eMBMS
LTE
IMS
Infrastructure Services
Concept Design
DRM
POC
Training
Wi-Fi
protocols
IP/MPLS
Carrier Ethernet
Consulting
Future