@greghogg5: 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 high-resolution 1080p segments. If the internet connection suddenly drops the player automatically switches to fetch the lower-resolution 480p segments instead. This seamless switching prevents the video from buffering and ensures the playback never freezes for the user. Common protocols used to manage this adaptive switching include HLS by Apple and MPEG-DASH.

Greg Hogg
Greg Hogg
Open In TikTok:
Region: CA
Sunday 24 May 2026 16:03:26 GMT
29972
1462
11
64

Music

Download

Comments

shitrepostfactory
:
what resources do you reccomended to start learning system design?
2026-05-24 20:23:07
3
altcontrolstart
alt+control+start :
ah nice very insightful always did want to know what happened in the backend on how devs built this feature infotechmentor.com
2026-05-25 06:21:06
0
fitahalvata
fitahalvata :
Question, does transcoding happen during watch time or is it something that happens when a creator uploads a video to YouTube? Meaning transcoding makes copies of the same video at different resolutions and then sends it to the user or does it happen dynamically while the user plays the video and YouTube only holds the original resolution video
2026-06-13 17:38:34
0
summymozart
Olasunmade :
I learnt this the hard way when I uploaded videos to gcp and transcoded it to different resolutions
2026-07-05 19:52:10
1
devi83078
devi :
what i learned from watching multiple of this channel's videos is, i sucked at system design 😂
2026-06-22 18:23:24
1
char1tyangel
BP29 :
G P🥰
2026-05-24 23:00:08
0
el_hussain
el-hussain :
wow that's insightful 👏
2026-05-24 16:24:39
0
To see more videos from user @greghogg5, please go to the Tikwm homepage.

Other Videos


About