Reducing CPU usage with Gstreamer

Kapil Agrawal kapil.agl at gmail.com
Fri Jun 27 04:44:40 PDT 2014


Hello,

I think your audioconvert is the main culprit, either you find a way to not
use it or optimize audioconvert.

Best
Kapil


On Fri, Jun 27, 2014 at 4:31 PM, srd srdsrd <pirpi.12345 at gmail.com> wrote:

> I have wolfson pi with raspberry pi. I am able to stream audio over
> network with gstreamer library.
> But problem is the CPU usage. It is taking almost 90% cpu usage.
>
> I am using following pipeline for this...
>
> AUDIO SERVER
>
> gst-launch alsasrc !  audioconvert !
> audio/x-raw-int,channels=1,depth=16,width=16, rate=44100 ! rtpL16pay  !
> udpsink host=127.0.0.1 port=5000
>
> AUDIO CLIENT
>
> gst-launch udpsrc port=5000 caps="application/x-rtp, media=(string)audio,
> clock-rate=(int)44100, width=(int)16, height=(int)16,
> encoding-name=(string)L16, encoding-params=(string)1, channels=(int)1,
> channel-position=(int)1, payload=(int)96" ! gstrtpjitterbuffer do-lost=true
> ! rtpL16depay ! audioconvert ! alsasink sync=false
>
> Please let me know how to reduce CPU usage with this.
>
> Thanks
> pirpi
>
> _______________________________________________
> gstreamer-embedded mailing list
> gstreamer-embedded at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded
>
>


-- 
http://www.linkedin.com/in/kapilagrawal
www.mediamagictechnologies.com
(Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms-
linux, windows, TI, android)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20140627/3be6e5f0/attachment.html>


More information about the gstreamer-embedded mailing list