Reducing CPU usage with gstreamer library

srd pirpi.12345 at gmail.com
Thu Jun 19 06:05:06 PDT 2014


I have wolfson pi with raspberry pi. I am able to stream live audio over
network using gstreamer library. But when i will start  

streaming audio the cpu usage will be almost 100%. I just want to keep cpu
usage as low as possible. 

Here is the pipeline I am using for audio streaming.

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

Is their any way to achieve this? 

 



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Reducing-CPU-usage-with-gstreamer-library-tp4667578.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list