~/talk

Building a Video Player for iOS from Scratch

TalkinRussianat Mobius 2025 Spring · 2025-04-09..04-10· [ios]
links:none on file
slides:none on file

A practical guide to building an iOS video player from scratch that replaces AVPlayer for cases needing prefetch, custom formats, and fine-grained load control. Covers a simple player architecture, MP4 container parsing to extract tracks and build CMFormatDescription, decoding samples with Apple media frameworks, A/V sync for rendering and audio, seeking and latency handling, and optimizations enabled by full control over playback.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Why write a player
  3. 8:14Player structure
  4. 10:47Video loading
  5. 11:48MP4 format
  6. 14:17Container parsing
  7. 16:45Core Media for player
  8. 18:29Video decoding
  9. 21:20Video Toolbox
  10. 27:40Frame display
  11. 28:02Audio decoding
  12. 31:11Audio Converter
  13. 35:49Audio playback
  14. 37:15Audio Queue Services
  15. 40:45Player architecture
  16. 41:29ExoPlayer example
  17. 47:44SE player implementation
  18. 50:39Self-built player benefits
  19. 51:41When to write a player
~/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.