Slashdot Mirror


iPod May Not Have The Horsepower For Ogg [updated]

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."

51 of 399 comments (clear)

  1. The name is wrong by iriefrank · · Score: 5, Informative

    Not to be a smartass, but Ogg is just the name of the larger project. The actual audio compression format is called "Vorbis."

    1. Re:The name is wrong by Whyrph · · Score: 5, Funny

      They could've said "Ogg Vorbis", but they wanted to avoid superflous vorbisity.

      Yes, I know I spelled it wrong. And yes, you can beat me up. Here's the lunch money.

    2. Re:The name is wrong by LostCluster · · Score: 5, Insightful

      Well, true, but nobody ever says "MPEG Layer 3 Audio Only File" instead of just calling it "MP3". The tradition of having a three-letter file type extention usually sticks, and since Vorbis files are .ogg files, "Ogg" is the word that sticks.

    3. Re:The name is wrong by Bloater · · Score: 4, Insightful

      Yeah, but so are my FLAC files, and my Speex files, I've also got some video (theora) files that are named with .ogg.

      I've also got some of each that don't have any file suffixes beginning with dot

    4. Re:The name is wrong by Jugalator · · Score: 4, Informative

      So why don't we speak of "Avi movies" instead of DivX movies? They're rarely named MyMovie.divx, but instead MyMovie.avi.

      In this case, AVI is an encapsulation format... just like Ogg!

      --
      Beware: In C++, your friends can see your privates!
  2. Re:What is the downside of adding OGG support? by Anonymous Coward · · Score: 4, Insightful
    I mean really, Apple, what do you have to lose?


    Developer time and support time, mainly.


    The more important question: What do they have to gain?

  3. Huh? by Wyatt+Earp · · Score: 5, Insightful

    An engineer for a company in direct competition with Apple rips on Apple's hardware. Oh, he's speculating on it.

    "Engineer Hugo Fiennes took a break from his day job as a hardware and firmware designer at Rio Audio (maker of the iPod competitor Karma player, among other things)"

    That's news?

    What's next, someone at Microsoft doesn't like Aqua? Ford engineer says Corvette "not as good as new Mustang"? Fiat engineers doesn't care for Ford Focus?

    1. Re:Huh? by MarcQuadra · · Score: 3, Insightful

      Yeah, this guy seems full of shit, the iPod can ENCODE MP3 in realtime if it has to, it's got a nice beefy ARM CPU, I'm sure it can play Vorbis files if it had a codec.

      And as for memory, the thing has 32MB last I heard, it usually buffers the next two or three entire tracks, so it's got plenty for decoding Vorbis formats.

      --
      "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    2. Re:Huh? by Theaetetus · · Score: 4, Informative
      Yeah, this guy seems full of shit, the iPod can ENCODE MP3 in realtime if it has to, it's got a nice beefy ARM CPU

      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

    3. Re:Huh? by in7ane · · Score: 4, Informative

      Did anybody (rio guy, poster?) at least bother to google this? iPods CAN play ogg: (ok under Linux) and not far out of alpha it seems.

      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?

    4. Re:Huh? by limited · · Score: 4, Interesting

      Just because the ipod may have 32MB of buffer for data, doesn't mean it could decode Ogg Vorbis files. As the engineer states in the article, the PP5002 has a relatively small cache, with a relatively expensive penalty if the instruction is not found in the cache but rather in the permanent memory(ROM) of the ipod. Wheter or not the Ogg codec can be optimized to fit in the cache is a different story, and definitely something to be explored before claiming that the gen1-3 iPod's can't handle the job.
      Technical details aside, this guy works for a competing business, and would bad mouth it regardless. Its like posting a story that Rush Limbaugh doesn't like John Kerry- big surprise.

    5. Re:Huh? by tedu · · Score: 4, Insightful

      not sure about you, but i like my music playing back at realtime, not 80% realtime. linux can decode vorbis sure, but i don't count that as playing.

    6. Re:Huh? by busonerd · · Score: 5, Informative

      Speaking as a member of the ipodlinux project, there is a lot of room for optimization. 80% of realtime refers to running a decoder and linux on only 1 of the two cores ( the other is only running a dma-engine) currently. One of the next big tasks is to put both cores to work (for technical reasons, smp is most likely impossible).

      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

  4. Exactly why would Apple add in... by HBI · · Score: 5, Insightful

    ...a standard that doesn't have a lot of real-world support? I mean, if you go onto one of the p2p systems, you find that everything is still pretty much mp3. So there is some incentive there for Apple to provide mp3 support. Why would they want to promote an alternative standard that they aren't selling, though?

    Seems to me that Apple wouldn't benefit much from ogg or flac support. So why bother - besides, the article makes it clear that the processor in the older ipods probably won't even support the decoding of ogg due to cpu limitations.

    Barking up the wrong tree here, sadly. Ogg has to get some critical mass before Apple would even consider it.

    --
    HBI's Law: Frequency of calling others Nazis is directly correlated with the likelihood of the accuser being Communist.
    1. Re:Exactly why would Apple add in... by beckett · · Score: 4, Interesting
      Apple has .ogg waiting in the wings. People have found .ogg and WMA icons in the OSX iTunes .app package.

      i do agree with you though, there are just not enough people using ogg for apple to care.

    2. Re:Exactly why would Apple add in... by LostCluster · · Score: 3, Insightful

      It'd be very interesting if iTunes and the iPod were to suddenly support the WMA format... because aside from Apple's iTune's Music Store and RealNetwork's offerings, every other major downloadable music store is using WMA for DRM.

      If the iPod were suddenly to support WMA files, wouldn't that mean that iPod owners would be able to comparison shop all of the music stores for the best price on any given track? BuyMusic.com and WalMart.com have already staked their claims at selling for less than 99 cents on the most popular tracks.

  5. My Opinion by luigi22_ · · Score: 4, Insightful

    Adding OGG support would be more than enough to convince me to buy an iPod. I can't really see the downside except for increased strain on the system memory, if what the article claims is true.

    --
    On /., first you get the karma, then you get the power, then you get the women.
  6. Vorbis Support not Widely Needed by caffeinefiend · · Score: 3, Insightful

    Apple may offend certain groups, such as Linux Users, by not supporting the Ogg Vorbis system, however the majority of computer users will never even consider using this codec. I submit this for consideration: What Operating system has the largest desktop user market share? Windows, obviously, Apple does not need to support Vorbis because Windows users, in general, have no need for this.

    1. Re:Vorbis Support not Widely Needed by Geoffreyerffoeg · · Score: 4, Insightful

      By your logic, Apple does not need to support itself because Windows users, in general, have no need for it.

      Why don't you try running a successful large company and get a feel for not being a producer, not a consumer?

    2. Re:Vorbis Support not Widely Needed by LostCluster · · Score: 4, Informative

      There's no reason why they couldn't put the FairPlay wrapper around Ogg Vorbis files the same way they do around Advanced Audio Codec files now.

      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.

  7. This has always been known ... by phoxix · · Score: 4, Interesting

    http://www.designchain.com/coverstory.asp?issue=su mmer02

    Nothing new folks ... that article is almost 2 years old now?

    Sunny Dubey

  8. source ? by kayen_telva · · Score: 3, Funny

    in other news, an ipod competitor says ipod not up to snuff. news at 11

  9. Why OGG? by Anonymous Coward · · Score: 5, Insightful

    This article indicates precisely why OGG Vorbis probably isn't a good idea on your ipod or mp3 player... namely, you get 25% LESS battery life. In a non portable, that's fine, but for a portable player with limited battery life... why in the world would anyone choose to get 75% performance with a negligable increase in sound quality (from headphones)?

    1. Re:Why OGG? by mcgroarty · · Score: 5, Insightful
      why in the world would anyone choose to get 75% performance with a negligable increase in sound quality (from headphones)?
      It's not really a linear scale from worse to better. Setting aside the dogmatic choices a lot of the free software people make, the compression artifacts and failures of the MPEG layer 3 and vorbis CODECs is fairly different.

      Even at higher bitrates, mp3 (or its encoders) tend to have a lot of difficulty producing tuned white noise, especially in harmony with better-formed sounds. A breathy voice or a flute can be murder to reproduce. There's also a kind of "glistening" that happens when it tries to represent overtones near the high end of the encoding frequency.

      On the other hand, vorbis seems to more often fail with balances of the frequency range, making some components of sounds louder and others softer than the original, especially with the earlier encoders. Sometimes this merely gives you a too-tuned and prounounced bass range while bands in higher frequencies become too soft. At other times, more complex instruments can lose their character altogether. Steel guitar strings lose the harsher-defined overtones and sound more like nylon, for example.

      Personal preference determines which kind of loss people will choose. Some even pick specific formats to best represent specific styles of music.

  10. Can't Linux on iPod Do This? by Anonymous Coward · · Score: 4, Interesting

    I thought that the Linux on iPod project managed to get Ogg playback working ?

    Sure - it may not be at 100 percent realtime, but I bet Apple engineers (vs the noble folks who had to reverse engineer the iPod) could manage.

  11. Re:No call for...... by tuffy · · Score: 5, Informative
    Does OOG have much more memory requirements than other formats ? If so, why ?

    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.

    --

    Ita erat quando hic adveni.

  12. Re:What is the downside of adding OGG support? by MikeXpop · · Score: 3, Insightful

    Credibility in AAC, mostly.

    Y'know, the "better than mp3" codec Apple's trying to push?

    --
    Etiquette is etiquette. He kills his mother but he can't wear grey trousers.
  13. Technical nitpicking by mike260 · · Score: 4, Interesting

    [...] This means that running code that doesn't fit in the internal 96kbyte SRAM of the player is very inefficient, both in terms of CPU cycles and power. MP3 and AAC just about squeeze into the internal memory (one at a time, obviously!), but anything that didn't would result in a big power hit - my guess is 30-40%+.

    Surely only code in external RAM would incur this hit. Vorbis decoders spend most of their time doing discrete cosine transforms, which would easily fit into 96K. As would a lot of other performance-critical routines, I'd imagine. So we're talking about a 40% hit on 5% of execution time, which seems pretty trivial, right? Or am I missing something?

  14. Re:Apple will not by mindstrm · · Score: 5, Informative

    AAC and MP3 do not have DRM either.. the DRM layer was added for the iTunes music STORE, which is a recent addition.... people bought ipods LONG before the iTMS existed.....

    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.

  15. title should read: by Anonymous Coward · · Score: 3, Funny

    "ipod may not care about ogg's cpu-hungry obscure geek-only format"

    1. Re:title should read: by fr0dicus · · Score: 3, Insightful
      Yeah, or 'trade storage space for battery life? No thanks!'

      Or 'seriously, 99% of people don't care',

      or 'it's still compressed you fools, so what if it supposedly sounds 1% better',

      or 'Rio thinks using ogg will make them cooler than Apple'.

      I feel a bit better now. Seriously now though, portable devices are mainly designed to be portable and easy to use. Musical fidelity, albeit important, is really not going to shine through with the crappy little in-ear headphones that people will invariably choose to use. The fidelity is irrelevant and this claim by the Rio chap is more of a drawback of Ogg Vorbis than the iPod in my eyes.

  16. The situation in a nutshell by mcgroarty · · Score: 4, Informative
    The iPod doesn't rely on its CPU to do the decoding for its mpeg formats. The bulk of that is done by a special coprocessor. Whether this is to cut power use or because the slower clock and coprocessor are cheaper than a faster general purpose CPU, I don't know.

    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.

  17. Critical mass by Julian+Morrison · · Score: 4, Interesting

    Is it just me or is Ogg becoming quite popular - as a movie format? I've seen lots of .ogm files on Suprnova.

  18. What's in it for Apple? by StrawberryFrog · · Score: 3, Insightful

    Exactly. Mod parent up. Etc.

    Why would Apple want to support the Ogg Vorbis format? Call me cynical, and I've said this before, but what's in it for Apple?

    Apple support MP3 because it's vital to their business model to get people with MP3 collections on board. Apple supports their own DRM-encumbered format so that they can sell you tunes via iTunes that you can't then share for free.

    What's in it for Apple to support a new format that has no DRM? DRM where they want you to go. MP3 is just the bait.

    --

    My Karma: ran over your Dogma
    StrawberryFrog

  19. Jobs on Vorbis by typhoonius · · Score: 3, Informative

    Found this while looking for a shot of the icon:

    Arik Hesseldahl: Had a small profit. OK. Any interest whatsoever, since in the open source OGG Vorbis format?

    Steve Jobs: We're certainly not getting any requests from customers for it.

    Cite. Basically what everyone already knows; they're unlikely to support Vorbis because consumers are unlikely to want it. Most of my music is in Ogg, so this is the main reaosn why I'm not interested in the iPod (even though the touchwheel thing is so damn slick), but I'm certainly not representative of the majority.

  20. Re:What is the downside of adding OGG support? by Anonymous Coward · · Score: 3, Informative

    Apparently it would require more memory and a faster CPU on the iPod. I mean, that's what the article was about.

  21. Ogg by Err · · Score: 4, Interesting

    iPod support for Vorbis would be cool.

    What I would truly love would be iPod support for Ogg Speex. I download quite a few audio lectures/interviews, and if the iPod supported Speex, I'd buy one ASAP and go on a campaign to get a few organizations I deal with to put their stuff out in Speex, not just mp3 and wma. For that matter, I'd love to be able to encode my audio books in Speex and have then on the go.

  22. Rio Karma is WONDERFUL (from a GNU/Linux user) by donfede · · Score: 4, Interesting

    Forget the ipod, the Rio Karma is wonderful from a GNU/Linux users perspective!

    It plays all my ogg files without problems (a friends iriver could only handle lower bitrate ogg files).

    I could upload music to it quickly and easily from my linux desktop using their java gui and connecting to the rio karma across my lan.

    As I use this player to drive my car speakers (I only have an amp, no head unit), it was very important that the interface be user friendly. This is where I had seen the ipod shine, and where I was doubtful about getting the rio karma (as I knew no owners of one and had not seen a showroom model). However I (and several passengers) found the rio karma interface to be as friendly, if not more so, than the ipod.

    The rio karma was cheaper than the ipod, has more features, and is more cross platform. I have no regrets and strongly recomend it to music fans.

    donfede

  23. *Why?* by adun · · Score: 5, Insightful

    Seriously, who cares about Vorbis outside the faction of *nix users with +1 Amulets of OSS Awe?

    Apple's primary market are the throngs of not-quite-but-almost-technologically-literate end users out there who see gadgets as tools, not lifestyles. Does this afforementioned throng care about Vorbis? No. Should Apple therefore care about Vorbis? No.

    Get the fuck over it, already.

  24. mild Gizmodo rebuttal from Monty by xiphmont · · Score: 5, Informative
    I sent a mild rebuttal to Gizmodo about Hugo's article back when Gizmodo first ran it. As it hasn't appeared on Gizmodo, here's the text:

    Hi there; it's interesting to see one's software being talked about by others as if it fell from the sky :-)

    First off, the original iPod does indeed have the horsepower for Ogg; the original Tremor codec written in C used approximately 40MHz of a Cirrus Maverick (720TDMI), an ARM7 chip somewhat more underpowered than the chip in the iPod. What the Maverick often has that many other DSPs don't have is access to alot of memory. This was indeed a stumbling block for a while.

    Since then, we've made three mostly seperate branches of the Tremor codec line (used in the Rio), each tailored to specific CPU and memory structural differences found in different DSP architectures. Hugo Fiennes didn't mention which he was using... or if he was aware there are multiple different branches today (although I expect he is aware, it's worth mentioning).

    From the story:

    "The 5002 has a "broken" cache (1 wait state per access for program or data, meaning you effectively have half the effective clock rate when running code from external memory). This means that running code that doesn't fit in the internal 96kbyte SRAM of the player is very inefficient, both in terms of CPU cycles and power."

    He didn't say if he meant code, data or both, but modern Tremor can fit both comfortably into this space. This is still substantially faster than the ARM7 DRAM-based access Tremor was originally designed for (using SRAM as a random-replacement cache with 7-14 wait-states on a cache miss).

    Also, he says it uses more power but also says they didn't optimize much and so, they're mostly using the stock ANSI C Tremor decoder, written by a single engineer (me) in a month as a 'starting point' to help other engineers write a Vorbis decoder for their own platforms. The mp3 playback is likely handcoded assembly written by a professional team focused on only that task. This is in fact astounding! It's also a testement to the power of good modern compilers. I smile every time GCC soundly beats me at optimizing.

    I agree that the newer iPods are more likely to decode Ogg and Vorbis with ease. I do, however, strongly believe the original iPods can also do so with room and cycles to spare.

    Monty
    TD, Xiph.Org

  25. This points to an issue for lossy codec design... by Entropius · · Score: 4, Informative

    Most codecs are designed to simply give the best audio per kilobyte, and recent tests point to (a retuning of) Ogg Vorbis as near the top of the heap. It's certainly achieved what it set out to do: a Free audio codec with fairly wide acceptance that sounds better than mp3/wma under most circumstances.

    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.

  26. iPod has more HP than Amiga, and Amiga can do Ogg by chaoskitty · · Score: 5, Interesting
    Amiga programmers (yes, I know Amiga's dead (long live Amiga!)) can get Ogg Vorbis playback in real time on a 50 MHz m68060. They can also get >10 fps out of the Quake 2 engine on an '060, too. Considering that the ARM is quite a bit faster, it can certainly be done if someone puts in the effort.

    John Klos
    Running Amigas for more than a decade.

  27. Re:What is the downside of adding OGG support? by williwilli · · Score: 3, Insightful
    -I mean really, Apple, what do you have to lose?

    Developer time and support time, mainly.

    The more important question: What do they have to gain?

    this pretty much sums it up from Apple's perspective, but let me expound upon this -- Vorbis is dead for noncommercial use.

    Don't get me wrong, I think Vorbis is an admirable project for a variety of technical and nontechnical reasons. I released music* exclusively in Ogg Vorbis for a while. But most people who are using digital music services are encountering it at the level of iTunes or another similar media player, often bundled with hardware or software. iTunes and others have paid Fraunhofer for the rights to use mp3, so people aren't ever confronted with the copyright issues surrounding mp3 when using iTunes or a similar player. As I recall there are freeware mp3 implementations not related to Fraunhofer as well. Further, when explaining Vorbis to an end user it is often compared to MP3.. (it's like mp3 but better) Vorbis is simply not as compatible as MP3 or WAV, though, so content providers are simply not as likely to provide content in this format natively. I really don't have time to encode, tag, test, upload, link 3 seperate copies of every song I want to release (MP3, OggVorbis, OggFLAC), so I choose MP3 and OggFLAC -- the most compatible 'fast' download and most capable 'broadband' formats, respectively (IMO). If you want Vorbis, you can encode them yourselves from the FLAC. But because of these compatibility and content issues, combined with the 'playing catch-up' position Vorbis has in the compressed codec field and the end-user transparency of the mp3 copyright issue, I just really think Vorbis is dead for noncommercial use. I could be wrong, but it might be a better use of resources for people to just accept this and move on to other projects or unadopted standards... ;-)

    I do think Vorbis will continue to live on in commercial uses where the licensing really becomes an advantage, like using it to compress videogame soundtracks, or as a backend library in various types of computer software, or whatever. I do think it's possible that Apple could open up the iPod to accept 3rd party codecs, and that such a move could be beneficial if the implementation managed to keep end user support issues from becoming overwhelming. I don't know how long it will take Apple and the rest of the digital media industry to realize they can't forcibly and totally control the media fileformat playing field, and that some of the industry moves are hurting consumers (and thus the adoption and sales of these technologies!), but time will tell..

    Somewhat off topic, but anyone wanna bet Apple's 'lossless' codec is just their DRM wrapped around FLAC? And yet it was a 30MB+ download!...

    * Music server will be back online soon! New album in development! Visit my forums, music games video technology politics science recipes, etc.! Blah blah blah blah blah!

    My new forum RSS feed!

  28. Re:What is the downside of adding OGG support? by rattler14 · · Score: 3, Insightful

    I mean really, Apple, what do you have to lose?

    probably been said before. But if the current iPod doesn't have enough oomph, then it can be argued that playing an ogg file probably consumes more power. How much more to decode? I don't rightly know. This may be a trivial arguement, but what if playing ogg files shaves an hour of battery lifetime. Then, you have people bitching about the battery life sucking.

    just a thought. I'm sure there are better ones.

    --
    my last sig was too controversial... now, a new and improved useless sig!
  29. Re:This points to an issue for lossy codec design. by adolf · · Score: 4, Interesting

    Let us assume that it really is a CPU horsepower vs. file size vs. sound quality issue.

    Looking at two extremes:

    Realaudio files used to play justfine, Back In The Day, on a slowish 486. It sounded like shit, but it worked fine. Of course, this same 486 was incapable of playing MP3s. For that, you generally needed a Pentium, and preferably a fast(ish) one.

    And of course, these days, it just doesn't matter. MP3 playing consumes so little CPU time that nobody gives a thought to it running in the background. In other words, the hardware finally caught up (some time ago, really).

    Fast forward, and things are the same, only portable. MP3 files play justfine, on just about everything. My old Riovolt SP-250, after a lot of effort from the Xiph folks and iRiver, is able to play some Vorbis without a hiccup.

    Newer units play all Vorbis justfine, though. They use even less power doing it, and cost less than my SP-250 did. In other words, the hardware is already caught up.

    Sufficient CPU power to play such new-ish formats as Vorbis will eventually creep into more products as the cost of CPU power decreases (eg. Moore's Law).

    I'd like to forecast that it'll be easier, cheaper, faster, and better to simply wait for CPU power to catch up across the board, than to go ahead and invent a scalable codec. By the time you're done making the thing, no matter how brilliant it is, CPUs and DSPs will have advanced the price/performance ratio sufficiently that your efforts will fade into obscurity, just like intel's indeo video format[1] of more than a decade ago.

    Meanwhile, any foolish manufacturers or software developers who jumped on your scalable codec-bandwagon will watch their efforts fizzle and die, as people regroup to support formats that Don't Suck, like our existing OGG Vorbis.

    That said, if you must tinker with software, do feel free to help improve Vorbis. Make it faster, make it smaller. Make it shit golden eggs, whatever. But don't reinvent the wheel without first examining where the rest of the world will be by the time you get done.

    [1]: indeo was created as a high-ish quality, high-bitrate video format, designed to be encoded once and played anywhere. Framerate and quality would drop on low-end devices, while things would be more pristine on faster machines, all from the same source file. It died a quiet death when inevitable increases CPU speed made it a non-issue. Subsequently, better and more-intensive codecs like MPEG1 took over. The near-universal playability, and use, of the previously-hideously-intensive DivX family of codecs drive this point home.

  30. no, it CAN. by gotr00t · · Score: 3, Informative
    Both the iPod's processors are embedded within a single IC, produced by PortalPlayer. This unit _is capable_ of encoding MP3 audio in realtime, but its just that Apple did not implement this into their software.

    Even though Apple themselves may not support Vorbis audio, ever, the community will implement it if it is possible. Go check out iPodLinux. It has much promise in delivering the things that the Apple stock firmware fails at so miserably.

  31. ogg can actually increase battery life, in a way by David+Jao · · Score: 4, Informative
    for a portable player with limited battery life... why in the world would anyone choose to get 75% performance with a negligable increase in sound quality (from headphones)?

    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 many headphones 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.

  32. Re:What is the downside of adding OGG support? by Durandal64 · · Score: 4, Insightful
    Somewhat off topic, but anyone wanna bet Apple's 'lossless' codec is just their DRM wrapped around FLAC? And yet it was a 30MB+ download!...
    I'll bet you $1000 that it's not.

    The codec is independent of the DRM, and the files generated by Apple's lossless encoder are AAC lossless files with no DRM. Thank you for demonstrating that you have no idea what you're talking about.

    Please send a me $1000 dollar check.
  33. Re:RTFA, though you probably won't understand it by pchan- · · Score: 5, Informative
    So unless you're just another ignorant Apple fanboy, refute the guy's arguments.

    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...

    The 5002 has a "broken" cache (1 wait state per access for program or data, meaning you effectively have half the effective clock rate when running code from external memory). This means that running code that doesn't fit in the internal 96kbyte SRAM of the player is very inefficient, both in terms of CPU cycles and power. MP3 and AAC just about squeeze into the internal memory (one at a time, obviously!), but anything that didn't would result in a big power hit - my guess is 30-40%+. This would be a bad user experience, considering the already short gen3 battery life.


    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.
  34. You down with OGG? by telstar · · Score: 3, Insightful

    Yeah, you know me!

    I think OGG's major hurdle is that it's trying to solve a problem that most people aren't aware exists. Storage is cheap, and getting cheaper. For the vast majority of listeners ... they're happy with the sound quality. MP3 is huge 'cause it was first and it was free. ACC is huge because it's tied to iTunes and iTunes is the first pay-per-use DRM system. Unless OGG can offer something new, it'll have a hard time gaining support.

  35. And now for some more! by MarcQuadra · · Score: 3, Informative

    I just found that the 'tremor' vorbis player for integer-only CPUs (like the ARM used in the iPods) is playing-back media at 80% of realtime on uCLinux iPods, and that's a non-assembler, non-optimized player running on a general-purpose Linux kernel. If you think that a currently neglected OSS player could net a 25% performance boost from being reimplemented in assembler, being tailored for the ARM CPU, and/or running on Apples proprietary iPod OS, raise you hand! ::raises hand enthusiastically::

    --
    "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails