~/talk

Building a video editor and high performance rendering pipeline with Flutter

Talkat Fluttercon Europe 2023 · 2023-07-05..07-07· [flutter, web-performance]
links:none on file
slides:none on file

A MacOS video editor called Cutscenes is built in Flutter and renders frames by replacing repaint-boundary PNG dumps with a custom embedder that overrides the present callback and feeds frames directly into ffmpeg embedded libraries. Rendering moves from CPU software to OpenGL with pixel buffer objects, offloads RGB→YUV conversion to a thread pool, and bundles both x86 and ARM ffmpeg builds. The pipeline achieves about a 16x speed up versus golden-test PNG export and produces real-time or near‑real‑time MP4 exports.

AI-written summary · about

  1. 0:00Introduction and project overview
  2. 1:58How video works fundamentals
  3. 6:35Flutter as a UI framework
  4. 7:38Front end vs back end rendering
  5. 12:28Slow but simple video rendering
  6. 16:20Headless rendering with widget tests
  7. 19:12Custom Flutter embedders
  8. 24:08Using FFmpeg libraries directly
  9. 25:33GPU acceleration with OpenGL
  10. 27:19YUV color conversion challenges
  11. 29:51Mac OS specific optimizations
  12. 33:45ARM vs x86 compatibility
  13. 36:14Packaging and distribution
~/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.