maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   N900 OGG vorbis drains the battery? (https://talk.maemo.org/showthread.php?t=43874)

dantonic 2010-02-09 13:44

N900 OGG vorbis drains the battery?
 
Hello, I apologize if this has been answered. couldn't find it when searching.
With the Extra Decoders Support package, I can play my .ogg audio files, however the battery drain is considerable. when displaying processes with the top command, i see the cpu gets bogged down to 50%. The n900 gets warm and drains fast.

I've installed mplayer and kmplayer, and when playing music on kmplayer using mplayer as the selected player, cpu utilization is around 10%.

Is there a solution for the battery drain with the regular media player? can I force it to use mplayer and if so how? are there any differences in sound quality between mplayer and the regular osso codecs?

Thanks for any input.

ruskie 2010-02-09 16:17

Re: N900 OGG vorbis drains the battery?
 
Wouldn't know with the mediaplayer. I'm running xmms2 and had it running nonstop for 13 hours straight playing oggs before it drained.

dantonic 2010-02-09 21:07

Re: N900 OGG vorbis drains the battery?
 
I was looking for a way to achieve similar battery life as when playing mp3s... 20+ hours.

I read here that ffvorbis is more efficient, but I am not sure if it is available and how to install that.

bobbydoedoe 2011-02-09 04:56

Re: N900 OGG vorbis drains the battery?
 
interested in giving ffvorbis a shot, anyone know where we can get it?

Joorin 2011-02-09 07:03

Re: N900 OGG vorbis drains the battery?
 
After having had a quick look on the Wikipedia page for Vorbis, I'd say that something like Tremor (fixed point arithmetic implementation) mixed with Lancer (platform specific SIMD instruction implementation) would be the best bet.

That'd make it, I'd guess, the easiest to get something that could use the DSP to decode the audio, moving computation away from the CPU. This would give more decoded data per cycle spent and thus giving better battery time.

There might already be such an implementation out there, since the OMAP3 is used by so many, but I haven't taken the time to look for it.

If the oggvorbis library that "Extra decoders" supplies is the reference implementation from Xiph.org, it will be all CPU bound (as far as I can tell) and it will make your CPU very busy, resulting in the drain you've observed.

ymartin59 2011-02-09 07:26

Re: N900 OGG vorbis drains the battery?
 
Found in another forum than Extra codecs are bad for battery life - media indexing requires also more CPU.
Have you tested MediaBox ? Really a great app.


All times are GMT. The time now is 16:51.

vBulletin® Version 3.8.8