[gst-embedded] How to reduce gstreamer library size & startup time

Zhao Liang-E3423C E3423C at motorola.com
Wed Feb 27 17:50:55 PST 2008


Hi all,

As I am working on embedded device, my device has low cpu power, but  I
want to develop some applications, such as ringtone, which needs to
launch gstreamer quickly.
I find if we don't do any library cutting down, the gstreamer core
library is big, about 700-800 KB, but that will not match my
requirement, the time cost on loading library is long.
Another issue is that gst_init() cost much time.

So my goal is to make the best of  reducing gstreamer library size and
gst_init() time.

For library size cutting down, I have tried some ways, such as 
1. disable many unused features
2. disable debug
3, not use xml registry etc
at last, the core library size is about 350KB

For gst_init(), I also did some tunning on startup options, such as
"disable option parsing" etc.

But I think it is not the best that gstreamer can reach, maybe there are
many other ways to do these, so if we can share our experience, I think
we can get better result.

Appreciate for your comments and reply.

thanks


Best Regards
Zhao Liang 




More information about the Gstreamer-embedded mailing list