android
Go Back   abi>>forums > Software & Media > Software

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-07-2010, 10:39 AM
Marvin the Martian's Avatar
Marvin the Martian Marvin the Martian is offline
Ultra Senior Member
 
Join Date: Oct 2008
Location: east central NY state
Posts: 10,602
Help What is the most battery-sucking LOSSY codec?

From what I understand, MP3 is the easiest for devices to decode. Then you have AAC, Vorbis, and WMA which supposedly can deliver better SQ at low bitrates(step back ABX Nazis....this isn't about which sounds best) but apparently are harder to decode....so which is the most battery-intensive to decode?
__________________
iPod Touch 5G 32GB, Touch 4G 32GB, Clip Sport 8GB. Rockbox-> Clip Zip 4GB, iPod Nano 2G 4GB, iPod 5.5G 80GB
2012 Nexus 7 32GB, Asus MeMoPad 8 16+64GB, LG Optimus G Pro, Nokia Lumia 900 and Lumia 520

Last edited by Marvin the Martian; 01-07-2010 at 11:42 PM.
Reply With Quote

Advertisement [Remove Advertisement]

  #2  
Old 01-07-2010, 04:49 PM
ZenChick's Avatar
ZenChick ZenChick is offline
Ultra Senior Member
 
Join Date: Jul 2006
Location: Right... Behind... You...
Posts: 7,427
Default

Hmmmmm.... How to Godwin a thread in the first post...

Anyway, back on topic: In my experience, WMA significantly reduces the battery life in many players, so I would chalk this up as the hardest to decode.
__________________
ZenChick - The one them iPod-owners warned you about!
Creative Zen Vision:M 30GB * Creative MuVo N200 1GB * Philips GoGear Vibe 4GB
Resident Linux Geekette ** Got IRC? Look me up on irc.freenode.net #AnythingButiPod
Reply With Quote

  #3  
Old 01-07-2010, 04:55 PM
dfkt's Avatar
dfkt dfkt is offline
Moderator
 
Join Date: May 2006
Location: Vienna, Austria
Posts: 15,330
Default

APE high profile should be among the least efficient ones. One of the many reasons why FLAC is better.

I bet Saratoga could contribute a lot to this topic.

EDIT: I think the topic title didn't say LOSSY large enough for me to comprehend its meaning.
__________________
Please don't PM me with questions that can be answered in a forum thread. Don't be an idiot.
My Gear and Reviews | My RMAA Tests | IRC: #anythingbutipod on Freenode | Last.fm | Album Art Exchange | Rockbox | Replaygain
Reply With Quote

  #4  
Old 01-07-2010, 09:45 PM
saratoga saratoga is offline
Rockbox Developer / Moderator
 
Join Date: Apr 2007
Posts: 3,582
Default

Quote:
Originally Posted by Marvin the Martian View Post
From what I understand, MP3 is the easiest for devices to decode.
I don't agree with that. IMO MP3 is probably a bit harder to decode the WMA, AAC or Vorbis. The decode process for MP3 is actually quite complicated with a lot of stupid, needless crap that wastes CPU time. Optimizing it is not much fun compared to simpler formats.

Quote:
Originally Posted by Marvin the Martian View Post
so which is the most battery-intensive to decode?
Probably AAC-HE (or its DOA brother AAC-Main). Its so bad the spec actually defines a "low accuracy" mode that incompletely decodes the files in order to get CPU load down to something that a normal AAC-LC device could handle. Its downright nasty.

You have to decode a normal AAC file, then do a sort of subband decomposition on your own decoded file, mirror the bands to higher frequencies, and then recompose the subbands. Its something like like decoding an AAC file, then encoding an mp3, and finally decoding the mp3 and adding it back to the AAC.

In second place would probably be ATRAC3. Its very much like MP3 except worse.

Interestingly, all three of these codecs are MDCT based transform codecs that have found a way to incorporate a QMF or PQF filterbank, thus allowing them to waste large amounts of CPU time. All of the fast ones you mention are pure MDCT codecs.
Reply With Quote

  #5  
Old 01-07-2010, 09:48 PM
saratoga saratoga is offline
Rockbox Developer / Moderator
 
Join Date: Apr 2007
Posts: 3,582
Default

The fastest two codecs I've optimized are probably WMA standard and Cook. They're very similar, and very simple. Basically the absolute minimum needed to efficiently encode audio with very little added junk.
Reply With Quote

  #6  
Old 01-07-2010, 11:23 PM
Marvin the Martian's Avatar
Marvin the Martian Marvin the Martian is offline
Ultra Senior Member
 
Join Date: Oct 2008
Location: east central NY state
Posts: 10,602
Default

Quote:
Originally Posted by saratoga View Post
The fastest two codecs I've optimized are probably WMA standard and Cook. They're very similar, and very simple. Basically the absolute minimum needed to efficiently encode audio with very little added junk.
Would it be fair to assume this could vary between different manufacturers as well, with their different firmware implementations?
__________________
iPod Touch 5G 32GB, Touch 4G 32GB, Clip Sport 8GB. Rockbox-> Clip Zip 4GB, iPod Nano 2G 4GB, iPod 5.5G 80GB
2012 Nexus 7 32GB, Asus MeMoPad 8 16+64GB, LG Optimus G Pro, Nokia Lumia 900 and Lumia 520
Reply With Quote

  #7  
Old 01-07-2010, 11:42 PM
Marvin the Martian's Avatar
Marvin the Martian Marvin the Martian is offline
Ultra Senior Member
 
Join Date: Oct 2008
Location: east central NY state
Posts: 10,602
Default

Quote:
Originally Posted by ZenChick View Post
Hmmmmm.... How to Godwin a thread in the first post...
It worked though, didn't it?

Quote:
Originally Posted by dfkt View Post
APE high profile should be among the least efficient ones. One of the many reasons why FLAC is better.
Well, we are in agreement on our lossless codec of choice.

Quote:
Originally Posted by dfkt View Post
I bet Saratoga could contribute a lot to this topic.
I also suspected that he would have some answers, and it seems that he does.

Quote:
Originally Posted by dfkt View Post
EDIT: I think the topic title didn't say LOSSY large enough for me to comprehend its meaning.
Fixed!
__________________
iPod Touch 5G 32GB, Touch 4G 32GB, Clip Sport 8GB. Rockbox-> Clip Zip 4GB, iPod Nano 2G 4GB, iPod 5.5G 80GB
2012 Nexus 7 32GB, Asus MeMoPad 8 16+64GB, LG Optimus G Pro, Nokia Lumia 900 and Lumia 520
Reply With Quote

  #8  
Old 01-08-2010, 09:02 AM
saratoga saratoga is offline
Rockbox Developer / Moderator
 
Join Date: Apr 2007
Posts: 3,582
Default

Quote:
Originally Posted by Marvin the Martian View Post
Would it be fair to assume this could vary between different manufacturers as well, with their different firmware implementations?
Implementation matters a lot. You can always make an efficient format slow.

A good example is the Fuze, where battery life is halved if you use FLAC, even though FLAC is probably one of the fastest formats ever in widespread use. I estimated that the Sandisk firmware takes about 60 MHz to decode a file, while Rockbox on the same player uses about 15 MHz. The decoder they use is just really, really bad.

I suspect MP3 will always be one of the fastest formats on mostplayers (except maybe on some Sony players that do ATRAC) since thats what everyone uses when they calculate battery life.
Reply With Quote

  #9  
Old 01-17-2010, 02:09 AM
JK98 JK98 is offline
Ultra Senior Member
 
Join Date: Jan 2008
Posts: 3,982
Default

Is mp3 the most power efficient, or are there more power efficient formats? Years ago storage was expensive and in short supply. Now battery life is often the limiting factor.
Reply With Quote

  #10  
Old 01-17-2010, 08:45 PM
saratoga saratoga is offline
Rockbox Developer / Moderator
 
Join Date: Apr 2007
Posts: 3,582
Default

Quote:
Originally Posted by JK98 View Post
Is mp3 the most power efficient, or are there more power efficient formats? Years ago storage was expensive and in short supply. Now battery life is often the limiting factor.
Scroll up.
Reply With Quote

  #11  
Old 01-17-2010, 08:48 PM
Marvin the Martian's Avatar
Marvin the Martian Marvin the Martian is offline
Ultra Senior Member
 
Join Date: Oct 2008
Location: east central NY state
Posts: 10,602
Default

Quote:
Originally Posted by JK98 View Post
Is mp3 the most power efficient, or are there more power efficient formats? Years ago storage was expensive and in short supply. Now battery life is often the limiting factor.
Quote:
Originally Posted by saratoga View Post
Scroll up.
__________________
iPod Touch 5G 32GB, Touch 4G 32GB, Clip Sport 8GB. Rockbox-> Clip Zip 4GB, iPod Nano 2G 4GB, iPod 5.5G 80GB
2012 Nexus 7 32GB, Asus MeMoPad 8 16+64GB, LG Optimus G Pro, Nokia Lumia 900 and Lumia 520
Reply With Quote

Reply

Tags
aac, batteries, m4a, vorbis, wma

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 05:58 AM.