[gst-devel] CPU Load bcoz of Gstreamer plugin
mail at renestadler.de
Tue Sep 8 10:54:02 CEST 2009
rakesh sharma schrieb:
> I have written mp4sp encoder and its tacking 99% cpu load for all
> Can anyone suggest solution for this ?
> Is that i have to release cpu using some gstreamer api ?
> Please help me its urgent.....
Obvious question, but: Is it that you run this with a non-live pipeline? E.g.
videotestsrc ! mp4spenc ! ... or transcoding. In this case it is natural for
the pipeline to take up 100% of CPU since it runs as fast as possible... You
need to limit the rate at the source by using a live source (like videotestsrc
is-live=true) or have the sink perform time sync (encoder ! fakesink sync=true
will do, assuming you forward the input timestamps correctly).
More information about the gstreamer-devel