~/talk

Tutorial: Honey, I Shrunk GStreamer: Using Meson to Slim Down Dependencies

Talkat Open Source Summit Latin America 2022 · on Tuesday, 2022-08-23· at 13:30· ROOM 4, Virtual· [web-performance]
links:none on file
slides:none on file

Meson replaces typical autotools workflows to cross-compile GStreamer for Android using an Android NDK cross file and wrapdb subprojects, producing a minimal runtime by disabling plugins with --auto-features, installing only runtime files and stripping symbols with meson install --tag runtime and --strip, and switching to static linking (--default-library=static). A full feature build starts ~150 MB; pruning to needed plugins yields ~48 MB, stripping drops to ~11 MB, and static linking falls to ~5 MB (down to ~4 MB with extra options).

AI-written summary · about

  1. 0:00Intro
  2. 1:30Compile a simple C/C++ project
  3. 3:35Build both shared and static libraries
  4. 4:33Cross compile for target device
  5. 8:17Any Meson project can be a subproject Application using libexample
  6. 10:17WrapDB to the rescue
  7. 11:24Dependencies goes wild...
  8. 13:38Build only needed features
  9. 19:26Install only runtime files
  10. 20:32Strip binaries
  11. 21:16Static build GStreamer
  12. 26:39Remove GVariant ABI
  13. 28:12Replace GLib unicode support
~/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.