Tamelabo 日本語

Rewind Factory#11

Where Does the Video on Your Phone Come From? Rewinding It Step by Step | Rewind Factory #11

Short answer

  1. In this example, a copy of the video clip was already waiting on the delivery server before you pressed play.
  2. With a copy ready, there was no need to fetch it from main storage, which makes quick delivery easier.
  3. The copy had been saved on the delivery server when someone else watched the same clip earlier.

Also calledhow video streaming workswhat is a CDNwhy videos start instantlywhere do online videos come fromvideo caching

Video

Pressing play loads the YouTube player on this page. Watch on YouTube

Explained

Why can a video start playing as soon as you tap Play? In this example, we rewind a clip from your phone to the server that had a copy ready, then back to the moment the wave was filmed.

This is one example route.

PlaceWhat happens therePeriod
PhoneThe phone reads the play order, asks for short clips and plays them in order.Present day, during this playback
Home Wi-Fi and the neighborhoodWi-Fi uses radio waves and fiber carries information as light. The neighborhood photo sets the scene.Present day, during this playback
Delivery serverIn this example it kept a copy during an earlier request and serves that copy now.Present day, earlier playback and this playback
Main storage (origin server)It stores files prepared for streaming. In this example, it supplied the file in response to an earlier request.Present day, before this playback
Splitting into clipsThe uploaded video is prepared as short files with a list of what to play in order.Present day, before delivery
Rocky shoreA camera records waves breaking on the rocks.Present day, when the footage was recorded

What you'll learn

  • A video can play as its clips arrive in order.
  • A server with a copy ready can send it without fetching it from main storage.
  • Viewers in different regions can get the same footage from different servers.

Shorts

Sources

Where the facts and numbers in the video and on this page come from.

References

  1. Apple Developer — HTTP Live Streaming
  2. AWS — How CloudFront delivers content
  3. AWS — Video on Demand on AWS Foundation, Architecture overview

Links

  1. Apple Developer — HTTP Live Streaming (and)developer.apple.com/documentation/HTTP-Live-Streaming
  2. Apple — Example playlists for HTTP Live Streamingdeveloper.apple.com/documentation/http-live-streaming/examp…
  3. AWS — Video on Demand on AWS Foundation, Architecture overview (,)docs.aws.amazon.com/solutions/latest/video-on-demand-on-aws…
  4. AWS — Video on demand and live streaming video with CloudFront (and)docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/…
  5. Apple — Using Apple’s HTTP Live Streaming toolsdeveloper.apple.com/documentation/http-live-streaming/using…
  6. AWS — How CloudFront delivers contentdocs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/…
  7. Cisco — What Is a Wi-Fi Network? (and)cisco.com/site/us/en/learn/topics/networking/what…
  8. Corning — Understanding Fiber Optics & Local Area Networks: Just the Technical Facts, Figure 10corning.com/catalog/coc/documents/brochures/LAN-737…
  9. Google — Content Served (,)support.google.com/interconnect/answer/7658599
  10. Google — Introduction to GGC (and)support.google.com/interconnect/answer/9058809
  11. Netflix — Open Connectopenconnect.netflix.com/en
  12. pexels.com/video/close-up-of-waves-crashing-on-roc…
  13. https://www.pexels.com/video/close-up-of-waves-crashing-on-rocks-10421810/ (licensepexels.com/license
  14. pexels.com/photo/cityscape-of-residential-district…
  15. commons.wikimedia.org/wiki/File:Front_of_server_racks_at_NERS…

Voice, music, art

  • Voice: Kokoro (Sarah)
  • Music (OpenTracks): “時計図書館” by MATSU, “考え中” by 鷹尾まさき, “海底の神殿” by KK

More

More from Rewind Factory

New in other series

Subscribe on YouTube