Squeezing a gstreamer video pipeline into the smallest footprint possible
Patrick Doyle
wpdster at gmail.com
Tue Apr 8 16:03:19 PDT 2014
I have a ridiculously pinhole sized memory footprint into which I
would like to squeeze a gstreamer based video pipeline. I am looking
for tips on what I can do to minimize the footprint as much as
possible for my Yocto based system.
Looking at the rootfs, I see that libgstaudio is included. Can
anybody give me any tips on how I might exclude that from my system?
At worst, I suppose I could write a post install task that simply
removes it from the rootfs, but that feels unduly hackish to me.
Also, I tried adding a .bbappend file with --disable-theora,
--disable-vorbis, etc... added, but when I looked at the resulting
config.status file, I found my --disable-theora & --disable-vorbis
options in ac_cs_config, followed by --enable-theora and
--enable-vorbis.
Adding insult to injury, the resulting compressed rootfs was 100 bytes
longer than before :-) (The part of me that enjoys ironic humor,
laughed heartily at that. The part of me that is just trying to
squeeze this image into my 6MB partition wept.)
Is there a way to configure gstreamer with just the set of 3 or 4
plugins I really need? Can I compile static libraries and link them
into into my own static application?
Any tips?
Thanks.
--wpd
More information about the gstreamer-embedded
mailing list