iPod May Not Have The Horsepower For Ogg [updated] 399
An anonymous reader writes "Gizmodo has an interview with a Rio engineer who speculates that current iPods may not have enough CPU power and/or memory to decode Ogg. He concludes that the Minis might be able to do it, and the next generation iPods will certainly be able to. Of course, just because Apple can doesn't mean it will." Update: 06/06 04:44 GMT by T : csm writes with this rebuttal: "According to Monty from Xiph.org (author of the Tremor codec and OGG itself), it should very well be possible to run Ogg on older generation iPods."
Vorbis (Score:2, Informative)
The name is wrong (Score:5, Informative)
Re:No call for...... (Score:5, Informative)
Vorbis is a better codec at sticking more audio data in less space due to the years of research between itself and MPEG-1. But decoding that data doesn't come for free, and so Vorbis decoding is more memory and CPU intensive than mp3 is. But thanks to the integer decoder, that difference mainly shows up in high bitrate Vorbis files.
Re:Vorbis Support not Widely Needed (Score:5, Informative)
However, MPEG formats have always been mindful of keeping the decoding processing load low, even if that sometimes comes at the expense of encoding time or quality. The idea is that they want to keep the playback devices as cheap as possible.
Apparently OGG sounds better, but its processor load is putting it out of reach of dumber consumer devices.
Re:Apple will not (Score:5, Informative)
Why do people insist on thinking that ipods and itunes are all just about the store? The majority of ipod owners DONT use the store.
Re:Huh? (Score:3, Informative)
How exactly can the iPod encode mp3 in realtime? The audio it captures via the various 3rd party add-ons is low bitrate
~jeff
Re:The name is wrong (Score:5, Informative)
In this case, AVI is an encapsulation format... just like Ogg!
Re:Huh? (Score:5, Informative)
I believe you're referring to the Belkin Voice Recorder when you refer to 'encoding MP3s in realtime'. Not so - the voice recorder stores audio as a mono 16-bit WAV with an 8 kHz sampling rate. Is not encoding MP3s in realtime.
-T
The situation in a nutshell (Score:4, Informative)
Memory isn't a problem. The full of the iPod's memory is directly addressable, and there are even projects (including iPod Linux) which do Ogg (vorbis, really) decoding, however only at low bitrates. The CPU speed is the strangling factor here. If someone wants to do some hard work, they might be able to raise the bitrate a bit, but owing to people generally relying on VBR encodes, it's going to be difficult to fully enable people's libraries, even when they think they have mostly low-bitrate tunes.
Re:Huh? (Score:5, Informative)
So if somebody managed to get ogg to decode after loading up linux on an iPod, which is not exactly well documented hardware, Apple would not be?
Comment removed (Score:3, Informative)
Re:What is the downside of adding OGG support? (Score:3, Informative)
mild Gizmodo rebuttal from Monty (Score:5, Informative)
Did you RTFA? (Score:2, Informative)
It was hardly a "My Karma is better than your iPod" article.
Face it - It took a Rio engineer to answer the question that most of Slashdot have been asking for years. It's not like Apple have been forthcoming with it.
Read the googled information (Score:3, Informative)
This points to an issue for lossy codec design... (Score:5, Informative)
Vorbis, of course, takes much more CPU muscle to decode than mp3. The difference may be between 0.1% and 1% of my Athlon XP[1], but obviously on an iPod it matters.
Maybe it's time for some group to look at weak-CPU audio codecs? You've got to balance audio-quality-per-bitrate with expense (and power consumption!) of CPU required to decode in realtime.
There's got to be something out there that sounds better than mp3 but can still be decoded with a cheap processor using an amount of power that's not really significant compared to the amplification/transmission circuitry required to get the signal out of the device.
Ideally this could be done on the decode side: write a codec that produces Vorbis-quality results when decoded by a fast CPU, but that could be decoded by a slow processor to produce a good-enough signal. This would solve the current dilemma: do I encode in vorbis to save disk space/get better quality, or mp3 to play stuff on portables?
[1]What a stupid name for a processor.
Re:What is the downside of adding OGG support? (Score:2, Informative)
You've gotta pay to play. Just the same with MP3, just the same with WMA (though I'd guess that MS is more than willing to make a deal, in order to gain market share.)
well you know, (Score:2, Informative)
ah, but what does that guy know?
Re:Technical nitpicking (Score:3, Informative)
Re:Read the googled information (Score:3, Informative)
Re:Exactly why would Apple add in... (Score:3, Informative)
Re:This points to an issue for lossy codec design. (Score:3, Informative)
Re:Huh? (Score:5, Informative)
As well, the story is wrong about storing their code in flash. Only the bootloader is stored in flash, which bootstraps the os from the harddrive into sdram, so flash or not, its a non-issue.
--David Carne
no, it CAN. (Score:4, Informative)
Even though Apple themselves may not support Vorbis audio, ever, the community will implement it if it is possible. Go check out iPodLinux [sourceforge.net]. It has much promise in delivering the things that the Apple stock firmware fails at so miserably.
Re:Well, we know what to do! (Score:3, Informative)
http://www.apple.com/feedback/ipod.html [apple.com]
Personally, I'm more interested in letting iTunes support Ogg Vorbis. I'd rather have all my audio files in one place, and I like the iTunes interface more than any other.
Alex.
ogg can actually increase battery life, in a way (Score:5, Informative)
The sentence in the article about ogg's battery life is very misleading. Yes, it is true that "you get about 25% less battery life" on ogg vs. mp3. However this comparison is done at the same bitrate -- that is to say, 128 kbps ogg will only have 75% the battery life of 128 kbps mp3.
But, what the quote doesn't take into account is that nobody uses oggs and mp3s at the same bitrate. I for one find that ogg can match mp3 in sound quality at about 60% of the bitrate. When you use a smaller bitrate, battery life goes up, because your hard drive activity is less. My firsthand experience is that you can get 15 hrs of continuous ogg playback on the karma, if you use a lower bitrate like 64 or 72 kbps. Also, you will note that even if we hypothetically penalized this real-world measurement of 15 hours by a theoretical 25%, it would still be better battery life than an iPod.
As to your dismissal of headphone sound quality, there are a great [headphone.com] many [headphone.com] headphones [headphone.com] that are good enough to tell the difference. Even without good headphones, 72 kbps mp3 is so bad that anyone who is running out of disk space on their portable can easily justify the switch to vorbis.
Re:RTFA, though you probably won't understand it (Score:5, Informative)
okay, i will refute the guy's arguments. i am an embedded systems developer, and often deal with swapping code in from dram/flash to sram for quick execution just such as this. the guy's arguments are, well...
first, the cache is not broken. this is a common design limitation of embedded processors. running code or accessing data from external ram can be VERY slow (1 cycle delay is pretty good). however, his argument is bullshit. the support code for the codec is usually run from dram (like the "open a file, parse a bitstream part"). the core decoder loop, on the other hand, is loaded into sram for fast execution (code and data). if the ogg vorbis decoder can be squeezed into whatever apple has left of the 96kb depends mostly on the efficiency of apple's memory allocation. but i have no doubt that they could do it (they may need to optimize some tables out by computing them at runtime, and other such tricks).
having said that... adding a complex codec into such a system such as the ipod firmware is a major pain in the ass. they may want to enable vorbis support, but it is a large amount of work, and probably hard for apple engineers to justify. if someone could find a good excuse for apple marketing to justify it, i'm sure engineering could figure it out.
Re:iPod has more HP than Amiga, and Amiga can do O (Score:2, Informative)
Sure. (Score:3, Informative)
I can't see any reason why the dual ARM7 CPUs Apple fitted the beast with wouldn't be able to play vorbis files. If something has the CPU beefiness to encode MP3s (which the iPod CPU can, there's just no software for the feature) I'm confident that it's good enough to decode vorbis files.
I've played and encoded MP3s on my Quadra 660AV, which ran at a whopping 25MHz (encoding was slow); I'm pretty sure a dualie-ARM made a decade later can handle the vorbis codec, especially when the vendor of the chip Apple uses designed the chip to be a highly extensible media platform.
And now for some more! (Score:4, Informative)
Re:Critical mass (Score:1, Informative)