Reducing CPU usage with Gstreamer

srd srdsrd pirpi.12345 at gmail.com
Fri Jun 27 04:01:14 PDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20140627/a2fc09d1/attachment.html>


More information about the gstreamer-embedded mailing list