How to reduce cpu usage

Stuart Gray stuart68 at gmail.com
Fri Oct 14 17:13:38 PDT 2011


Hi,

I would add a queue element just after the rtspsrc. I have a similar
pipeline running on an omapl-138 and it can decode mp3, flac, ALAC , aiff
and wav with no issues within the software domain. I use

       souphttpsrc ! queue2 ! decodebin2 ! audioconvert ! audioresample !
alsasink

It works extremely well with CPU running at 372mHz.

  I am streaming mp3 audio file from host to AM1808 BOARD using gstreamer
> and RTP server, I am able to stream using the following command.
>
> 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?
>
>
I did not have to do any optimizations to gstreamer, just play around with
the queue2 settings.

Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20111015/3cfbe396/attachment.html>


More information about the gstreamer-embedded mailing list