List Info

Thread: gstreamer core optimizations.




gstreamer core optimizations.
user name
2007-04-04 06:40:45
Hi ,

I want to run gstreamer as a embedded multimedia framework. But I feel its no so good for embedded platforms as it memory footprint is big as well as it consumes lot of cpu. Hence ,I am trying to optimize the core , but unable to find the starting point.
     ;      Can someone help, as to how can gstreamer be used effectively on embedded platforms? or may be give few pointers as to how can one go around , for optimizations.

Thanks

cheers
Kapil
Re: gstreamer core optimizations.
user name
2007-04-04 07:30:53
Hi,

for sure you won't be able to run on an embedded platform each and every GStreamer plugin. But, by simply cutting out plugins you don't need, you can end up with a suitable embedded-friendly Gstreamer framework. Nokia 770 and N800 devices are running Gstreamer without a problem.

In our experience Gstreamer is not CPU hungry, on the contrary. For example, you could not notice any CPU load difference comparing a mad-based mp3 application decoder using gstreamer and madplay.



David S.



Kapil Agrawal wrote:
mail.gmail.com" type="cite">Hi ,

I want to run gstreamer as a embedded multimedia framework. But I feel its no so good for embedded platforms as it memory footprint is big as well as it consumes lot of cpu. Hence ,I am trying to optimize the core , but unable to find the starting point.
     ;      Can someone help, as to how can gstreamer be used effectively on embedded platforms? or may be give few pointers as to how can one go around , for optimizations.

Thanks

cheers
Kapil

------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________ gstreamer-devel mailing list lists.sourceforge.net">gstreamer-devellists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

Re: gstreamer core optimizations.
user name
2007-04-04 07:56:58
On 4/4/07, David SIORPAES <david.siorpaesst.com> wrote:
>
>  Hi,
>
>  for sure you won't be able to run on an embedded
platform each and every
> GStreamer plugin. But, by simply cutting out plugins
you don't need, you can
> end up with a suitable embedded-friendly Gstreamer
framework. Nokia 770 and
> N800 devices are running Gstreamer without a problem.

The N700 and N800 are not small devices. 128Mb/256Mb of
flash
respectively is much larger than most consumer electronics
devices
which are more likely to ship with 4-8Mb of flash total
(that's
megabytes btw).

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gstreamer-devel mailing list
gstreamer-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstream
er-devel

Re: gstreamer core optimizations.
country flaguser name
Spain
2007-04-04 08:42:40
Yes, but at that point you requirements from GStreamer are
also quite
small so maybe all you need is 2-3 audio decoding plugins
for instance.

Christian

On Wed, 2007-04-04 at 13:56 +0100, Will Newton wrote:
> On 4/4/07, David SIORPAES <david.siorpaesst.com> wrote:
> >
> >  Hi,
> >
> >  for sure you won't be able to run on an embedded
platform each and every
> > GStreamer plugin. But, by simply cutting out
plugins you don't need, you can
> > end up with a suitable embedded-friendly Gstreamer
framework. Nokia 770 and
> > N800 devices are running Gstreamer without a
problem.
> 
> The N700 and N800 are not small devices. 128Mb/256Mb of
flash
> respectively is much larger than most consumer
electronics devices
> which are more likely to ship with 4-8Mb of flash total
(that's
> megabytes btw).
> 
>
------------------------------------------------------------
-------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to share your
> opinions on IT & business topics through brief
surveys-and earn cash
> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devellists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstream
er-devel


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gstreamer-devel mailing list
gstreamer-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstream
er-devel

Re: gstreamer core optimizations.
country flaguser name
Finland
2007-04-04 08:54:57
Hi,

you can slim down the core a bit by disabling features. Try
enabling  
the binary registry, disabling loadsave,index,trace. You can
also  
optimize on the glib level by doing adding these to you
cflags for a  
release build:
   G_DISABLE_ASSERT, G_DISABLE_CHECKS,
G_DISABLE_CAST_CHECKS

Then of course only ship the plugins you need.

Stefan

Quoting Kapil Agrawal <kapil.aglgmail.com>:

> Hi ,
>
> I want to run gstreamer as a embedded multimedia
framework. But I feel its
> no so good for embedded platforms as it memory
footprint is big as well as
> it consumes lot of cpu. Hence ,I am trying to optimize
the core , but unable
> to find the starting point.
>           Can someone help, as to how can gstreamer be
used effectively on
> embedded platforms? or may be give few pointers as to
how can one go around
> , for optimizations.
>
> Thanks
>
> cheers
> Kapil



------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gstreamer-devel mailing list
gstreamer-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstream
er-devel

Re: gstreamer core optimizations.
country flaguser name
United States
2007-04-04 21:07:29
On Wed, 2007-04-04 at 14:30 +0200, David SIORPAES wrote:
> Hi,
> 
> for sure you won't be able to run on an embedded
platform each and
> every GStreamer plugin. But, by simply cutting out
plugins you don't
> need, you can end up with a suitable embedded-friendly
Gstreamer
> framework. Nokia 770 and N800 devices are running
Gstreamer without a
> problem.
> 
> In our experience Gstreamer is not CPU hungry, on the
contrary. For
> example, you could not notice any CPU load difference
comparing a
> mad-based mp3 application decoder using gstreamer and
madplay.

unless it needs to resample .... in which case it might burn
30% of the
total CPU on a moderately modern opteron. sometimes,
licenses hurt in
deep ways ...

--p



------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gstreamer-devel mailing list
gstreamer-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstream
er-devel

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )