~/talk

How a Modern Video Player Works

TalkinRussianat HolyJS 2025 Spring · 2025-04-07..04-08· [web-platform, web-performance]
links:none on file
slides:none on file

Explains how modern video players work by covering video protocols, formats, container formats and codecs, and their differences. Shows building a basic player in the browser with MediaSourceExtensions: downloading, parsing, buffering, demuxing, playing a stream, doing adaptive bitrate switching and memory cleanup; also outlines core algorithms for adaptive quality selection, track switching and buffer management.

AI-written summary · about

  1. 0:00Modern players intro
  2. 5:15Building your own player
  3. 7:43Video codecs and containers
  4. 11:56Adaptive video principles
  5. 16:08Media Source Extension role
  6. 18:58DASH manifest breakdown
  7. 23:37Configuring MSE for playback
  8. 25:47Parsing EBML and Matroska
  9. 33:14First video segment playback
  10. 33:59Player main loop and buffer
  11. 36:50Video quality algorithms
  12. 40:21Quality switching and seeking
  13. 44:15Buffer cleanup and memory
  14. 46:00Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.