[gst-devel] Initialization Time Reducing!

ensonic ensonic at hora-obscura.de
Tue Jan 16 11:05:25 CET 2007


hi,

when gstreamer is started the first time or new plugins have been installed
it creates a registry cache (e.g. ~/.gstreamer-0.10/registry.*). If it
can't write the cache the registry will be rescanned each time. Is that
happening in your case.

Next, as Edward already suggested, the binary registry will help. Build
core from cvs using --enable-binary-registry. Additionally you can search
the list archives. I previously wrote a mail about which components can be
disbled to slim down the lib sizes.

Finally, remove all plugins you don't need. 

Stefan

On 5:42:57 am 16/01/2007 Debi Prosad Dogra <debiprosaddogra at yahoo.co.in>
wrote:
>
> Hi,
>   Can anyone please help me to understand few things related to
> gstreamer initialization time?   We are trying to develop the
> gstreamer based media player for ARM based mobile platform with 64MB
> memory and 500MHz processor speed.   We use ffmpeg for the main
> source of codecs. When first time we start the application after
> switching on the mobile device it takes much time to open and start
> playing because of loading shared library files.   My questions are
> as follows:   1. Is it possible to minimize the loading time of the
> shared library files during the first booting of the machine? We have
> already checked using seperately loding shared library. It did not
> reduce the time as we wanted.   2. Is it possible to avoid loading
> all the shared library files when we need to load   only particular
> library (for example user uants to play MP4 files (mpeg4 video, aac
> audio)). When the user restart the mobile why it is required to load
> all the shared library files at a time?   Maxumum time is consumed
> here to load all those shared library files.   3. libgstffmpeg.so is
> a file which takes most time to load ( because it loads libav*.so files
> with big sizes). But when ffmpeg is used separately, for example  
> ffmpeg of ffplay it does not take much time to start the application.
> Why this happens?   Any help on those doubts is happily accepted.
>   Regards
>   Debi Prosad Dogra
>   ETRI, South Korea
>
>
>
>
>
>
> &#32;                 Here’s a new way to find what you're looking
 for - Yahoo! Answers





More information about the gstreamer-devel mailing list