Where Does the Video on Your Phone Come From? Rewinding It Step by Step | Rewind Factory #11
Short answer
- In this example, a copy of the video clip was already waiting on the delivery server before you pressed play.
- With a copy ready, there was no need to fetch it from main storage, which makes quick delivery easier.
- 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
In the video
- 0:00Why does the wave start right away?
- 0:24Video clips and the play order
- 0:52Wi-Fi radio waves and light in the fiber
- 1:24The copy in the delivery server's drawer
- 1:48The copy was saved during an earlier playback
- 2:12Main storage, where the original is kept
- 2:28Before the video was split into clips
- 2:52The real wave beyond the lens
- 3:07Fast-forward back to your phone: where the video was waiting
- 3:35Delivery servers in different regions
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.
| Place | What happens there | Period |
|---|---|---|
| Phone | The phone reads the play order, asks for short clips and plays them in order. | Present day, during this playback |
| Home Wi-Fi and the neighborhood | Wi-Fi uses radio waves and fiber carries information as light. The neighborhood photo sets the scene. | Present day, during this playback |
| Delivery server | In 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 clips | The uploaded video is prepared as short files with a list of what to play in order. | Present day, before delivery |
| Rocky shore | A 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
- Apple Developer — HTTP Live Streaming
- AWS — How CloudFront delivers content
- AWS — Video on Demand on AWS Foundation, Architecture overview
Links
- Apple Developer — HTTP Live Streaming (and)developer.apple.com/documentation/HTTP-Live-Streaming
- Apple — Example playlists for HTTP Live Streamingdeveloper.apple.com/documentation/http-live-streaming/examp…
- AWS — Video on Demand on AWS Foundation, Architecture overview (,)docs.aws.amazon.com/solutions/latest/video-on-demand-on-aws…
- AWS — Video on demand and live streaming video with CloudFront (and)docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/…
- Apple — Using Apple’s HTTP Live Streaming toolsdeveloper.apple.com/documentation/http-live-streaming/using…
- AWS — How CloudFront delivers contentdocs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/…
- Cisco — What Is a Wi-Fi Network? (and)cisco.com/site/us/en/learn/topics/networking/what…
- Corning — Understanding Fiber Optics & Local Area Networks: Just the Technical Facts, Figure 10corning.com/catalog/coc/documents/brochures/LAN-737…
- Google — Content Served (,)support.google.com/interconnect/answer/7658599
- Google — Introduction to GGC (and)support.google.com/interconnect/answer/9058809
- Netflix — Open Connectopenconnect.netflix.com/en
- pexels.com/video/close-up-of-waves-crashing-on-roc…
- https://www.pexels.com/video/close-up-of-waves-crashing-on-rocks-10421810/ (licensepexels.com/license
- pexels.com/photo/cityscape-of-residential-district…
- commons.wikimedia.org/wiki/File:Front_of_server_racks_at_NERS…
Voice, music, art
- Voice: Kokoro (Sarah)
- Music (OpenTracks): “時計図書館” by MATSU, “考え中” by 鷹尾まさき, “海底の神殿” by KK
