[gst-devel] CPU consumption when decoding mp3
Vincent Meserette
vmeserette at gmail.com
Tue Mar 16 11:20:14 CET 2010
Hi all,
I am writing an audio player application which runs on a AMD Geode @500MHz
processor.
If I use the libgstflump3dec plugin for mp3 decoding, it takes 25% of the
CPU for reading one file, against 15% with the libgstffmpeg default plugin.
Do you know if it is normal to have such a difference ?
Moreover, I made a little test by launching several mp3 at same time with
the following commands :
gst-launch-0.10 playbin "uri=file:///home/mymp3_1.mp3" &
gst-launch-0.10 playbin "uri=file:///home/mymp3_2.mp3" &
gst-launch-0.10 playbin "uri=file:///home/mymp3_3.mp3" &
gst-launch-0.10 playbin "uri=file:///home/mymp3_4.mp3" &
gst-launch-0.10 playbin "uri=file:///home/mymp3_5.mp3" &
I reach almost 100% of CPU consumption, the playing stops, but the threads
are not killed.
Do you know if there is a way to specify to gstreamer in my application to
not launch the playing when i reach too much CPU consumption ?
Thanks in advance for your reply
Kind regards
--
View this message in context: http://n4.nabble.com/CPU-consumption-when-decoding-mp3-tp1594647p1594647.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list