How to reduce cpu usage

Victor Manuel Jáquez Leal ceyusa at gmail.com
Thu Oct 13 02:49:03 PDT 2011


On Thu, Oct 13, 2011 at 11:14 AM, Saravanan Vijayaperumal
<Saravanan.Vijayaperumal at lnties.com> wrote:
> gst-launch-0.10 -v rtspsrc location=rtsp://192.168.174.66:8554/mp3AudioTest
> ! rtpmpadepay ! mad ! audioconvert ! alsasink &
>
> But my CPU usage time is very high. Please suggest, how do i reduce the cpu
> usage? How do i optimize the gstreamer?

mad and audioconvert are very cpu intensive elements.

You would need to develop/use a mp3 decoder that use the dsp in the
omap3, or develop/use a mp3 decoder that make use of the neon
instructions instead of the generic ones, and finally get  rid of the
audioconvert, delivering the raw audio as is consumed by alsa.

Either case you'd need to develop it, or buy it, because i'm not aware
of open source version of those elements.

cheers,

vmjl


More information about the gstreamer-embedded mailing list