# Adaptive Streaming - System Design

## Метаданные

- **Канал:** Greg Hogg
- **YouTube:** https://www.youtube.com/watch?v=7pBfs5v5wf0
- **Дата:** 24.05.2026
- **Длительность:** 1:17
- **Просмотры:** 19,511
- **Источник:** https://ekstraktznaniy.ru/video/52838

## Описание

Adaptive streaming allows video platforms like YouTube to deliver smooth playback regardless of network speed or device type.

When a creator uploads a video the system immediately kicks off a background process called transcoding.

Transcoding compresses the original massive raw video file into a highly optimized digital format.

The system does not just create one optimized file it duplicates the video into multiple different resolutions.

It generates separate versions for 144p 360p 720p 1080p and even 4K quality levels.

Each of these resolution versions is then sliced up into tiny video segments that are only a few seconds long.

A manifest file is created to act as an index map for all these different resolutions and segments.

When a user watches a video the video player reads this manifest file to understand what streams are available.

The player constantly monitors the user's live network bandwidth and device CPU usage.

If the internet speed is fast the player requests the h

## Транскрипт

### Segment 1 (00:00 - 01:00) []

If you don't know this, you suck at system design. If you've ever watched YouTube, you'll know there's different options for your video quality. So, when a creator uploads a video in say 1080p, what's going to happen is a transcoding process where YouTube will actually create all of these different resolutions on the back end. So, as system designers, we need to understand adaptive streaming, which will allow us to automatically change which resolution is best. To do this, we need to know two words. The first one is resolution, which essentially means your canvas size. Now, we all know that 1080p is say HD, 1920 by 1080p pixels. Per frame, that's going to cost you about 2 million pixels. Now, it gets interesting when you incorporate bit rate, which is typically limited by your internet speed. So, let's say you were trying to watch a 1080p video at 30 frames a second. You would actually need to process 62 million pixels every second. In order to support that, you would need a bit rate of about 7 megabits per second. So, then the key to adaptive streaming is to vary your resolution depending on your bit rate. That's going to go up and down depending on your internet quality. You basically just download different qualities depending on the bit rate that you can support. I teach this stuff every day and growing really fast, so follow along to learn
