~/talk

Rendering Video: A Detailed Look at Video Playback on Android

Talkat Android Makers 2019 · on Wednesday, 2019-04-24· [android]
slides:none on file

Explains why inline autoplay feeds drop frames and which pipelines actually cost time: SurfaceView vs TextureView differences, native YCbCr buffers that avoid conversion, MediaCodec/Stagefright buffer queue behavior and observable double/triple buffering at 60 fps. Shows concrete tools and artifacts: adb shell dumpsys SurfaceFlinger, systrace traces, Android open‑source Pixel 3 debug, and Grafika tests. Recommends actionable fixes that work: codec warm‑up, network prefetch, pooling or reusing SurfaceTexture and keeping decoder surfaces alive.

AI-written summary · about

  1. 0:00Start
  2. 2:54What Is Surface View
  3. 3:21The System Compositor
  4. 4:24Android Browser
  5. 6:593d Rendering
  6. 7:47What Is this Surface Texture
  7. 8:13Buffer Queue
  8. 9:15Update Text Image
  9. 10:22360 Video Rendering
  10. 11:52Sample Code
  11. 12:46Media Codecs
  12. 14:48Render Thread
  13. 15:39Graphic Buffer
  14. 18:21Adb Shell Dumps
  15. 21:17Systrace
  16. 23:28App Window
  17. 28:30Optimizing for Video Feed Scrolling Performance
  18. 30:18Media Codec Initialization
  19. 30:40Orientation Change
  20. 31:20Orientation Change Transition
  21. 32:09Improve Video Feed Performance
  22. 33:05Pool Surface Textures
  23. 33:26Video Player Server
~/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.