[gst-devel] Hi all, and a question

Giuliano Pochini pochini at shiny.it
Tue Jun 22 06:52:20 CEST 2004


On 22-Jun-2004 Benjamin Otte wrote:
> On Sun, 20 Jun 2004, Giuliano Pochini wrote:
>> Another little thing: cpu usage seems pretty high: ~1.2% playing mp3's and
>> flac's, and with mp3's it's even worse. Is it normal ?  With xmms cpu usage
>> is under 0.1%.
>
> GStreamer uses mad for decoding mp3s, xmms uses a different mp3 decoder (
> I think mpg123 or similar). This might be the reason. You could try
> madplay to know exactly.

Yes, but libflac is the same and wav's don't need decoding at all.


> But feel free to profile our code, nobody has done it yet, especially not
> in the <2% CPU usage cases.

Sure, but not now :)  I first want learn the API and write a very simple
sound player.



--
Giuliano.




More information about the gstreamer-devel mailing list