Slashdot Mirror


The Future of Ogg Vorbis

Brett writes "The author of MAD, the fixed point MP3 decoder comments on what is wrong with Ogg Vorbis, with a response from jack, one of the founders of the format. "Ogg Vorbis may be the holy grail of patent-free audio compression, but there are some serious issues blocking its path to widespread acceptance. Unfortunately most of us are powerless to correct the situation; the problems must be addressed by Vorbis' creators. " The rest of the of the story is currently running on K5." And Jack's response is enlightening as well.

91 of 227 comments (clear)

  1. Does OV run on Be? by satanami69 · · Score: 2

    As a consumer, it's more important that the standard that are adopted for me don't interfer with my daily life. Using Mp3 or OV or just plain WAV isn't going to be my decisions anyway. I can only vote with my dollars, but I won't be paying for any of these system regardless. This is one decision the slashdot crowd should not make. Do some consumer or gallop polls.

    --
    I really hate Dan Patrick.
  2. Fixed point MP3 decoder by Ed+Avis · · Score: 2

    Fixed point MP3 decoder? Is that like Fractint on the PC, which was much faster than anything else because it used integer operations?

    What is the fastest MP3 decoder (assuming output quality is moderately important, but not everything)?

    --
    -- Ed Avis ed@membled.com
    1. Re:Fixed point MP3 decoder by mukund · · Score: 4, Informative

      Fractint was fast with integer operations, cause in those days, integer operations were traditionally much faster than floating point operations on the x86 platform.

      The fixed point implementation of Vorbis would be very useful for embedded hardware where floating point support is usually not available on its CPUs.

      --
      Banu
    2. Re:Fixed point MP3 decoder by Toraz+Chryx · · Score: 2

      so what exactly is the SSE instruction set that intel intro'd with the P3?..

      (which the AthlonXP/MP/4 supports btw)

    3. Re:Fixed point MP3 decoder by Toraz+Chryx · · Score: 2

      sse2 can do a single double precision fpu calc per cycle or two single precision (rather than one single precision) IIRC

      (Note: It was a rhetorical question)

  3. Emacs by zerosignal · · Score: 3, Funny
    Sorry for the rambling. Writing in this little box is a little difficult and is not nearly as much fun as Emacs :). If anyone has any questions regarding you can contact emmett@xiph.org or myself if I don't respond to here.
    Can someone please teach this guy how to use 'copy and paste'!
    1. Re:Emacs by dasunt · · Score: 2

      Well, I'm not sure what browser he's using, but ctl-e ctl-e under lynx launches your default browser, and I'd be willing to bet that some of the other browsers out there have the same functionality.

    2. Re:Emacs by ZxCv · · Score: 2

      In Windows 2000 (and XP), in a command prompt, do:

      + right-click anywhere in the window, and select "Mark"
      + use the mouse to select whatever text you want to copy
      + right-click again to copy the selected text to the clipboard

      If you're using command.com and not cmd.exe, you'll need to click the control menu in the very top left corner of the window, select Edit and select Mark from that menu--from there, its the same. Not the most intuitive of processes, but it works, and works well in my experience.

      --

      Perl - $Just @when->$you ${thought} s/yn/tax/ &couldn\'t %get $worse;
    3. Re:Emacs by dasunt · · Score: 2

      Links is better, save for the low resolution on my laptop, where Lynx saves the day in console (since it ignores tables).

      Btw, I have a win32 version of Lynx, but does anyone know of a win32 version of Links?

  4. Mentality by jeroenb · · Score: 4, Insightful

    From the Vorbis guy's response it's clear what the problem is: The idea is great, the plan is good, but the deliverables just take time to materialize. Nothing bad about that, it's true for practically every piece of software (or related, like the Ogg Vorbis specification.)

    Regardless of whether the author of the K5 piece is right about the points he discusses, the Ogg Vorbis creators should take his criticism to heart instead of dismissing it. It's not about whether all those points are valid, so trying to prove that they are not doesn't accomplish anything. They should understand that apparantly they have a problem communicating their plans to their possible supporters from the development community and that what they are doing apparantly makes a strange impression.

    They should be glad someone took the time to actually write this down and complain instead of just forgetting about their project and doing something else.

    1. Re:Mentality by phreak404 · · Score: 3

      Yea, I agree. MAD is easily the BEST software mpeg audio decoder currently available. Its quality is simply amazing, so I can't see why the OGG people wouldn't do what they could to help him implement the same for their format.

    2. Re:Mentality by Dominic_Mazzoni · · Score: 4, Interesting

      > How does MAD compare to mpg123 ? Is it much better?

      MAD is more portable, higher quality (outputs 24-bit samples instead of 16-bit samples if you want) and an order of magnitude faster.

      Is that good enough for you?

    3. Re:Mentality by iabervon · · Score: 3, Interesting

      Jack mentions that one of the implementations only plays files up through beta 4. That means that something changed at that point in the file format. In part, they didn't release a full specification, most likely, because then their later versions would break compatibility with it. It makes sense to only release an official specification with your version 1.0 release, where you have worked on it enough to believe that you can avoid breaking compatibility in the future. Similarly for getting standard bodies involved; there are plenty of things where there's a "official standard" that is not quite right, because not all issues had been resolved when the standard was made.

      Also, it seems like the Ogg Vorbis people will only write up a specification if they think anyone is interested in reading it. It's obviously a lot of work, and, if they didn't think their format would be implemented by other people, they would just work more on their own implementations instead. It's not particularly useful for people to complain about the lack of a specification (since they know it hasn't gotten done), although it is probably useful to hear that people still care.

    4. Re:Mentality by 56ker · · Score: 2

      Yes but you knowing that - and enough people knowing that to convince the other to keep on supporting it are two seperate things.

    5. Re:Mentality by dublin · · Score: 2

      Actually, you can make an argument that OV is showing up to the party just as the police are chasing everyone off and no one cares for party tricks any more. (Maybe that part about the police is a little *too* good an analogy...)

      In any case the reality is that I'm not sure the world needs another audio compression method. I'm not even sure the ones we've got will be anything but a curiosity in another year or two: With Moore's law still making networking faster and storage bigger and cheaper, it's possible that the preferred audio format may simply be raw WAV rips of the CD Audio tracks. The nice thing about that is that even the technologically illiterate can ow play high-quality audio without having to concern themselves with codecs or optimized encoding parameters to ensure good quality when ripping/encoding. The best way to make the encoding problem go away is simply to make encoding go away. With cheap 160 GB drives already on the market, this *will* happen: audiophiles first, then many of the rest of us as prices continue to fall...

      --
      "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
    6. Re:Mentality by zapfie · · Score: 2

      Those wishing for MAD quality and mpg123 compatibility may wish to check out mpg321, a drop in replacement for mpg123 that uses MAD for its MP3 decoding.

      I, as well, can vouch for MAD's extreme sexiness, by the way. Try it and you'll never go back.

      --
      slashdot!=valid HTML
  5. Barriers to acceptance by lushman · · Score: 5, Interesting

    I can see one main way for Ogg to gain widespread acceptance quickly - as the sound track of your run-of-the-mill, MPAA-angering DiVX. MP3 soundtracks only allow for 2 channels, whereas Ogg will allow for n. The main thing that pisses me off about DiVX is the lack of 5.1.

    Imagine how widespread Ogg would be if it was the favored soundtrack of the DiVX generation.

    1. Re:Barriers to acceptance by sessine · · Score: 2, Interesting

      Widespread acceptance? Yes, making OggVorbis the audio standard for divx would make that... 5.1 would be nice.

      However, is this what 'we' really want? Because if Ogg becomes associated with DivX and associated and therefore ends up getting noticed by those sweet lads and lasses at RIAA... then what chance is there of seeing widespread use of Ogg in commercial applications?

      I mean, its all well and nice that the quality is better and all the rest... but if your appliance dont work with it, then its mucho useless, no? How many people apart from the few 'in the know' actually use it?
      The hard truth is that companies will stay away from anything divx-related like it's the black death.

      The way I see it, Ogg needs all the support it can get by all the manufacturers.
      If that means no surround sound on DivX, so be it

      --
      ~I am not as think as you drunk I am~
    2. Re:Barriers to acceptance by zbuffered · · Score: 2

      I disagree that a clean, easy-to-use DivX implementation would not be a Good Thing. It would instantly be adopted by those who traffic in DivX, and as such would gain quite a foothold in the PC industry. If it works well, it will gain a reputation as a Killer App, and you'll see it adopted the world over. Technology will continue to evolve, not because of something the RIAA did, but because new technology is often better than old tech, and when it is better, it is adopted. Nobody is going to start renting videotapes or installing programs on floppies when they can rent DVDs or install from CDs. Why? Speed, quality. The same goes for music. If Sony comes out with headphones that can stream music via PCS or GSM or whatever, from your PC, that sounds really good, and is cheap, you're going to want it, and nothing the RIAA can do is going to stop that. Theirs is to adopt and move forward, because as you can plainly see, they're unable to hold us back.

      --
      Synergy is your friend
    3. Re:Barriers to acceptance by wirefarm · · Score: 2

      I think the "Barriers to Acceptance" are even smaller:
      3 years ago, Joe User had never heard of even an MP3. Then some friend of his showed him Napster. "So how do I play one of these here MP3s?"
      "Go get WinAmp."
      So now Joe User is skilled in MP3..

      Skip ahead to 2002. "So I got $DownloaderOfTheWeek and searched for my songs, but all I got was these Ogg files - how do I hear them?"
      "Go get the Winamp Plugin..."
      I was never particularly interested in Ogg. I thought it was a stupid name for an unneeded format. (I never understood their logo, either - it looks like Jesus beating the hell out of a snake...)
      But then I put Mandrake on my ThinkPad and ripped a CD using Grip - It used to be with Grip, you got the program, then went out and downloaded BladeEnc or Lame to actually do the ripping, but this version comes with an Ogg ripper.So I tried it out and DAMN, but they sound good. As long as I can get all of my players to play them, I'm in business. Probably, a lot of other people will come to accept Ogg this way, too - MP3s are not so old to most people that they have some sort of strong loyalty - if the stuff they want to hear is in Ogg - they wil download the plugin for their player and go about their downloading. As for ripping and distribution, if Ogg is free and people are somewhat familiar with it, rippers will use it by default - they may even install the WinAmp plugin for you at the same time...
      Just my 2 yen...
      Jim in Tokyo

      --
      -- My Weblog.
  6. Re:arrogance by Zachary+DeAquila · · Score: 5, Insightful

    Actually, I got the impression that the author was very frustrated at trying to do an independent 'from-spec' implementation of Ogg... which is impossible since there's no spec.

    Code defines an implementation, not a specification, and using code as a spec leads to 'bug compatible' further implementations (ie. Yeah, that's feature's done really poorly, but it has to in order to be compatible with the bug(s) in the original)
    This is ungood.

    --Z

  7. My iPod by Zo0ok · · Score: 5, Informative

    Sorry to say it, but I cannot use it on my iPod and with iTunes. I ripped my 125+ audio-cds to MP3 as when I got my iPod.

    I hate it when people comes up with this kind of reasons for not switching to a free format and making the world a better place... but now I do it myself. It is a pity. It is a shame.

    But maybe I am wrong? Has anyone installed Ogg in iTunes, and is there any chans to hack the iPod?

    1. Re:My iPod by foniksonik · · Score: 5, Informative

      There is Ogg for iTunes!!!!

      http://www.macosxhints.com/article.php?story=200 20 424233612407

      and more directly:

      http://qtcomponents.sourceforge.net/

      "This site is dedicated to open source QuickTime development for popular open source audio and video codecs. We are currently working on Ogg Vorbis, an audio codec developed by Xiphophorus, and MNG, an animation video codec.

      We have just begun the project, expect many changes over the next few weeks. We will offer a site for developers, as well as one for end-users interested in using our software. At the moment, some areas of our site are not yet implemented. "

      --
      A fool throws a stone into a well and a thousand sages can not remove it.
    2. Re:My iPod by Dominic_Mazzoni · · Score: 2

      This is totally relevant to the article. The reference Ogg Vorbis encoder is not capable of being run on an iPod. If we want to see Ogg Vorbis on embedded hardware, we need a fixed-point decoder, and if we want a fixed-point decoder, we need complete specs from the Xiph team. That's exactly what Rob Leslie was complaining about.

      On the other hand, there's no technical reason why we shouldn't be able to have Ogg decoding in iTunes. It'll use a little more of your processor than MP3, but it'll work fine.

  8. Re:arrogance by Saint+Aardvark · · Score: 3, Insightful
    Hm, I didn't get that at all. The impression I had was of two people sitting on different sides of the issue, explaining things forcefully but respectfully. If the first guy (sorry, it's like 5.30am) had truly thought the worst of Xiph, he would've compared 'em to Microsoft, or announced he was reporting them to the FSF, or said that they poison wells and steal children.

    I thought they both had valid points. What really struck me (it's all about me :-) was that Xiph guy responded to his points. Compare and contrast with the guy from ... oh crap it's early ... Redmond Linux? the one who didn't have source for his Linux distro in the beta CDs. He ducked all attempts at answering the points that were raised against him, and just whined about the Linux community "eating its young" or some such. That left a bad taste in my mouth -- side step the questions, throw mud around -- whereas with this I came out w/respect for both people and both points of view.

    Of course, I could be wrong. I remember the last time it happened. It was a Monday...

  9. Re:Isn't the problem the GPL ? by truthsearch · · Score: 2

    license fees don't matter in commercial software

    They don't? I would assume the fees do matter because they raise the price of commercial software. I don't know any more than the average person about the commercial software industry, so please explain. I'm not trolling, I'm genuinely curious.

  10. Not arrogance by yem · · Score: 3, Insightful

    Its not arrogance. We all want Ogg to be in wider use and to appear in portable players. From this discussion it is very clear that Ogg Vorbis is still very much in development and needs to be much more stable before anyone starts making software and hardware Ogg players. An incomplete specification and a reference implementation is not sufficient.

    I use madplay and I'd like to see a version for Ogg, but at this stage it doesn't seem like Xiph are ready for developers. As they say, wait for 1.0 final and the promised complete documentation.

    --
    No, I did not read the f***ing article!
  11. Re:The author of that article needs some cheese... by Zachary+DeAquila · · Score: 4, Insightful

    What kind of embedded system would have an Ogg player? How about a car stereo? Like, say.. an empeg? Which doesn't have a much in the way of CPU, including the fine lack of a floating point processor?

  12. wtf? by SuiteSisterMary · · Score: 5, Insightful
    In regards to the standards bodies, there are really two well known ones, the IETF and the W3C.
    Why, pray tell, would you try to submit an audio codec to the Internet Engineering Task Force, or the World Wide Web Consortium? Why not submit it to one of the 'really well known' and yet APPROPRIATE standards bodies?
    --
    Vintage computer games and RPG books available. Email me if you're interested.
    1. Re:wtf? by Explo · · Score: 3, Funny

      Why, pray tell, would you try to submit an audio codec to the Internet Engineering Task Force, or the World Wide Web Consortium? Why not submit it to one of the 'really well known' and yet APPROPRIATE standards bodies?


      Yes, they should submit to the Microsoft, the standards body that has done good work to correct Kerberos, HTML and several other standards from their initially flawed state;)

      --
      Everyone who makes generalizations should be shot.
    2. Re:wtf? by SuiteSisterMary · · Score: 2

      This isn't streaming sound and music for Internet broadcasting. It's an audio codec, that HAPPENS to include provisions for streaming over a packet network.

      --
      Vintage computer games and RPG books available. Email me if you're interested.
    3. Re:wtf? by barberio · · Score: 2

      Er... Actualy, yes, Data Formats are Network Standards.

      Check the 'Presentation Layer' of the well known seven layer model. Thus, its perfectly rational to have an audio format aimed at network use be standardised in this way.

      Please also note that MPEG is a Network Standard.

    4. Re:wtf? by sharkey · · Score: 3, Funny

      Check the 'Presentation Layer' of the well known seven layer model.

      The Taco Bell 7-Layer model? The Presentation Layer is the Cheese, if I am not mistaken.

      --

      --
      "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
    5. Re:wtf? by dublin · · Score: 2

      The OSI 7-layer model is useless. It reflects no real-world network implementation other than X.25, which was designed to fit it rather than the other way around (despite the fact that it's a reference model, not an implementation model - anyone who's worked with X.25 knows what a pain some of these decisions created.)

      True story: Dave Clark, of MIT and one of the fathers of TCP/IP, used to teach a class on "The art and engineering of protocol performance" at Interop (back when it only had one name and fit easily in the small San Jose convention center.)
      In one of these classes, someone asked why mapping the 7-layer OSI model to the real-world TCP/IP model was so awkward. He told this true story (he was a member of one of the committees nivolved at the time): When the OSI decided to study the networking problem, they formed seven study commitees, pretty much arbitrarily, to research the problem. They were NEVER intended to define boundaries. But in typical ISO "politics taking precedence over reality", when they got back together, they could not agree on how and where to create interface divisions, so to avoid deadlock, they finally decided to just use the ones they had for the study committees. So there you have it - there are seven layers because there were seven study committees, and that goes a long way to explaining the uselessness of the OSI model.

      Personally, I think we should exorcise this horror of French bureaucracy from every network textbook on the planet. The number of man-hours that have been wasted trying to apply it to the real world (especially since TCP/IP trounced OSI permanently almost 10 years ago now) is staggering. It would be hard to identify a single more damaging and bone-headed idea in the world of networking than the OSI model. It should die, along with pretty nearly all other ISO standards relating to networking and communications. (And yes, I realize that is quite a strong statement from me, but it's true.)

      --
      "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
    6. Re:wtf? by Wesley+Felter · · Score: 2

      The W3C issued PNG as a standard, since they are interested in file formats that are used in the Web. Why not Vorbis?

  13. Too bad my moderation points expired.. by Daniel · · Score: 4, Informative

    ..because I could correct the idiot who moderated this Interesting. Is there a "Misinformative" rating?

    Anyway, not to interrupt a fun GPL thread, but Ogg Vorbis is BSD-licensed precisely to encourage adoption.

    Daniel

    --
    Hurry up and jump on the individualist bandwagon!
  14. A little confused... by BigBadPete · · Score: 2, Interesting

    Near the very end of Jack's reply, he says something to the effect of, "If you'd like us to get the spec done sooner, here's where you can send money."

    I'm not too sure how throwing money at the problem will solve it, as it seems to me that time is the real issue. Of course everyone says that time==money, but perhaps in this case not for all reasonable values of "time"?

    -Peter

    1. Re:A little confused... by Diabolical · · Score: 2

      If they have enough money they can hire someone to do the documentation.. shows how little developers normally care about documentation. I know, because i maintain a HOWTO for developers who do not like documentation.. to much work... well.. i can't code.. so then i document.. problem
      is.. i'm not technically enough informed regarding material like OGG's specs and it's use.

      So if someone want's to pick up the gauntlet....

    2. Re:A little confused... by jgerman · · Score: 2

      I don't think he was clear enough. From what I understand, they need cash to operate, so if they aren't getting enough from donations, they have to spend manpower trying to generate some money, instead of doing the things that are prioritized independent of the need for money.

      --
      I'm the big fish in the big pond bitch.
  15. Re:Isn't the problem the GPL ? by Bartab · · Score: 3, Informative

    As open source Ogg Vorbis is released under the GPL/LGPL. However doesn't this prevent companies to integrate the sources into their software ?

    Except... Ogg Vorbis isn't released under the GPL/LGPL. The license is basically BSD in form, but different wording.

    To quote Jack, which wouldn't be necessary if you had read the linked message:

    It's actually Free-er than most Free Software in some ways, siince we chose to prioritize adoption rather than require everyone buy into the LGPL. In essence by giving up a few freedoms with the more lax license, we are preserving freedom because the world will adopt Ogg, the only audio codec right now of it's kind that can be freely implemented.

    --
    Any sufficiently advanced technology is indistinguishable from a rigged demo.
  16. multichannel divx by 2br02b · · Score: 3, Interesting

    Not really, divx only specifies the video format. You can plug in any sound codec you want to, including AC3. Here's a nice guide

    1. Re:multichannel divx by phreak404 · · Score: 2, Interesting

      Multichannel DivX with OGG is not all that its cracked up to be. Good multichannel surround sound will take a bitrate similar to the original AC3 bitrate, so you're transcoding for virtually no space savings, secondly, what exactly will you play this multichannel OGG on? I suppose you can use the Multichannel DirectShow filter and map it to your computer speakers manually, but its going to be a while before you can output it via SPDIF and play it on something 'real'. Hence the advantage of AC3. For 2 channel tracks, I suppose if you like the sound of OGG better, or wanted to use a lower bitrate, that would work, except for all of the lame bugs in OGM files.

    2. Re:multichannel divx by zbuffered · · Score: 2

      Okay, this is interesting, tell me more. Does ogg not encode at a lower bitrate with acceptable quality versus AC3? And if not, why do you say that the bitrate would be similar? What if we were to merge the two surround channels, or use a lower bitrate in the rear speakers, or do joint stereo, or something? All these would lower quality, but if you're watching a DivX movie, you accept a slightly lower-quality version, compared to DVD. Still a big step up from 2 channels. The big thing for me is getting that center channel going, the rest is just a bonus.
      Also, how would you go about getting the 5 channels out of an SPDIF connector using ogg? Shouldn't part of the spec be to be able to do this? Would it have to decode and re-encode in DD format in able to do this? If this were the case, I could possibly see the advantage of AC3, as the original source would be encoded in AC3, you decode and re-encode in ogg, then decode and re-encode in AC3 again... Quite an ordeal to save a few megs. But getting 5-channel audio working for movies would be a great feat for the Vorbis team, and I think it's a goal worth shooting for. Who knows, maybe three years into the future the MPAA will be streaming movies to your TV in 5.1 with OGG and DivX. It could be done.

      --
      Synergy is your friend
  17. Re:Isn't the problem the GPL ? by rknop · · Score: 5, Informative

    As open source Ogg Vorbis is released under the GPL/LGPL. However doesn't this prevent companies to integrate the sources into their software ?

    This is wrong.

    The spec is public domain-- it's not well documented, evidently, but the format itself is public domain.

    The utilities are GPLed, so you have to distribute the source to anything that encompases them.

    The libraries themselves, however, are under BSD.

    See The Ogg Vorbis FAQ.

    -Rob

  18. Re:The author of that article needs some cheese... by PunchMonkey · · Score: 3, Interesting

    Honestly...what kind of embedded system would have an Ogg player in it? Your microwave? A candy dispenser?

    Seems silly now, but what if someone makes a talking microwave, or a talking candy dispenser. Compressing the audio files, even if it is just a voice, would save space.

    --
    I'll have something intelligent to add one of these days...
  19. Re:Isn't the problem the GPL ? by psamuels · · Score: 3, Informative
    As open source Ogg Vorbis is released under the GPL/LGPL. However doesn't this prevent companies to integrate the sources into their software ?

    Where did you hear that Ogg Vorbis [by which I assume you mean the reference implementation libraries] was released under the GPL/LGPL?

    The sample tools are GPL - but the libraries are under a license similar to the 3-clause [ie old] BSD. This is specifically to encourage widespread adoption of the standard. Think about it: if you want to add Ogg Vorbis support to your application or embedded box, you won't be borrowing the command-line tools, just the libraries.

    --
    "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
  20. Most embedded systems don't have an FPU by pslam · · Score: 4, Insightful
    See my comment here.

    For example, I am not aware of any flash portable pocket player that has an FPU. That's because it's entirely possible to do MP3/WMA in integer. Nobody is going to fit an expensive and battery draining processor into their product just to support an extreme minority codec.

    By using floating point for the algorithms, libvorbis is ruled out from nearly all embedded devices. At the moment it pretty much only runs (in real time) on PC/Mac systems.

    1. Re:Most embedded systems don't have an FPU by Skuto · · Score: 5, Insightful

      >Nobody is going to fit an expensive and battery draining processor into their product just to support an extreme minority codec.

      >By using floating point for the algorithms, libvorbis is ruled out from nearly all embedded
      >devices. At the moment it pretty much only runs (in real time) on PC/Mac systems.

      The way you state this sounds like as if Vorbis can't be done with integer-only artihmetic, which is false.

      The reference implementation uses floats, because it makes the code easier to understand (that's what the article indirectly is about!), but there's no reason why you can't have integer decoders (and they already exist...)

      --
      GCP

    2. Re:Most embedded systems don't have an FPU by pslam · · Score: 3, Interesting
      The way you state this sounds like as if Vorbis can't be done with integer-only artihmetic, which is false.

      Sorry, didn't mean to have that impression come across. The main problem is that it's going to take a long time to rewrite all of the algorithms for integer. It's a shame really, because it would have taken just about as long to write it in integer in the first place. Floating point isn't the magic bullet everyone makes it out to be - it doesn't eliminate truncation and it certainly doesn't eliminate word size issues.

      Actually, I find DSP code written in integer easier to understand because you can see exactly where the author is taking care of those issues much more clearly. In floating point it's all a bit magic, and in most cases they just didn't realise what's actually going on.

      There's integer decoders for MP3 and WMA (and all sort of other codecs), so I agree there's no particular reason Vorbis couldn't be either. In fact, there are integer implementation of Vorbis - the trouble is Xiph want to sell them. Fair enough, but hardly anyone's going to buy it, and you've got to weigh that against the market penetration you'd get if it were free. Maybe they've got it right, but it still annoys me that, for example, I couldn't add Vorbis to an empeg car player because integer Vorbis isn't free, and I don't have the spare time to write an integer version.

    3. Re:Most embedded systems don't have an FPU by jonathan_ingram · · Score: 2, Interesting
      There's good news about the empeg - it looks like they're going to be granted a free licence to the Vorbis integer code, so you'll be seeing Vorbis support on the empeg quite soon.

      See http://www.xiph.org/archives/vorbis/200204/0300.ht ml for more information.

  21. Re:Unfortunately... by dinivin · · Score: 2


    What's your point? I copy and pasts in Galeon all the time.

    Dinivin

  22. Expectations by morhoj · · Score: 2, Insightful

    The entire point in this statement/response is setting expectations. The programmers expects to recieve the same support about the format that he got when he was developing MAD... the format developers, not being commercially funded, spend their time working on the tangible aspects of the application (bugs, libs, etc) and not the supplemental portions (specs). They expect that people would rather have the software to use over some dry RFC...

  23. Re:Unfortunately... by dinivin · · Score: 2


    Is the problem that some people are too stupid to figure out how to copy and paste in X?

    Dinivin

  24. Re:The author of that article needs some cheese... by psamuels · · Score: 2, Informative
    I mean honestly... if you're going to make a player for music, you really should have the hardware support. (They don't rip the computers out of a microwave and try to adapt them to portable MP3 players.

    For embedded, you want as cheap as possible while still able to do the job. The CPUs commonly used in embedded designs often don't have floating point capabilities - too much silicon, too little need. Complexity means not only unit cost but power usage and cooling requirements.

    Sure, you can ship a machine with a 486DX instead of an ARM, but the optimal solution is to figure out how to use fixed point. Software-emulated floating point won't cut it either - too inefficient. In the embedded world, "inefficient" doesn't mean "oh well, just so long as the CPU is fast enough to handle it", it means "unit cost is higher than necessary since we should have been able to get away with a slower CPU".

    --
    "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
  25. Re:The author of that article needs some cheese... by p3d0 · · Score: 3, Insightful
    Honestly...what kind of embedded system would have an Ogg player in it?
    How about a car stereo? How about a portable Nomad-type Vorbis player?
    --
    Patrick Doyle
    I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
  26. Open-source speech coding by jmv · · Score: 2, Informative

    Shameless plug... For some who might be interested in compression voice for VoIP, there's also the Speex voice codec. For voice (not music) it provides good quality at lower bit-stream than Vorbis.

  27. Too little, too late by NiftyNews · · Score: 4, Insightful

    The problem with OV is that it doesn't make enough of a jump in compression from its predecessor, the MP3 format.

    MP3s will continue to rein supreme, Iron Chef style, until someone releases a new compression algorythm that saves at least 10x more space. It is too much work to convince MOST people to use other forms of music compression when there is negligable savings (in quality and size) for the average user.

    1. Re:Too little, too late by Kamel+Jockey · · Score: 2

      MP3s will continue to rein supreme, Iron Chef style, until someone releases a new compression algorythm that saves at least 10x more space

      That reminds of back when ARJ came out as a compression format for DOS. ARJ was superior to PKZIP, but only in a numerical sense. Its compression was only marginally better than PKZIP, which is probably the same reason it did not become a compression standard. On the other hand, if you compare GIFs and JPGs, your premise is confirmed, not only did JPGs blow away GIFs in terms of compression of data, but they also beat out GIFs in other respects as well (JPGs having support for more than 256 colors comes to mind). As a result, JPGs eventually replaced GIFs as a dominant standard for reasonably good image presentation.

      --
      In case of fire, do not use elevator. Use water!
    2. Re:Too little, too late by shren · · Score: 3, Insightful

      until someone releases a new compression algorythm that saves at least 10x more space.

      An order of magnitude more space? Take an mp3 file, and turn it into one tenth as many bits at the same quality level? I doubt that's even possible.

      --
      Maybe the state's highest function is to grind out insoluble problems. (Zelazny, Hall of Mirrors)
  28. Re:The author of that article needs some cheese... by Zachary+DeAquila · · Score: 2, Informative

    And what does 'Audio Decompression Hardware' mean to you? You rezlize that any such hardware would be format-specific, right? You realize that only very large corps can really afford to get ASICs fab'd, right? And you realize that it's likely much more cost effective, as well as much more *flexible*, to shove the latest-generation embedded CPU (which is probably $20 in quantity) into the machine, and do your audio decomp in software? Well, obviously you don't realize one of those or you wouldn't have asked the question...

    --Z

  29. Reasons by moonboy · · Score: 5, Insightful


    • The name. Cool for geeks, but for the general public, it sounds funny. It gives no indication whatsoever about the product and what it's used for. Granted 'mp3' isn't much better, but that leads to the next point.
    • mp3 was "first to market". It is deeply entrenched .
    • Ogg may be better sound quality-wise, but for the majority of mp3 users, mp3's "sound good enough" and Ogg doesn't offer enough of an improvement for people to encode all of their stuff over again.
    • Yes Ogg is FREE but again, the average Joe could care less about Free or Open Source software.

    Sorry if I sound like I'm trolling. I'm not. I'm just being honest.
    --

    Co-founder and designer at Music Nearby: http://musicnearby.com
    1. Re:Reasons by Dephex+Twin · · Score: 3, Insightful

      Excellent points. I can ask any of my non-geek friends about Ogg Vorbis and almost guarantee they have no idea what it is. And you are absolutely right about "good enough"-- once they know what it is, they won't really care all that much. Heck, I'd guess even most geeks here don't have any plans in the near future to move everything over to Ogg.

      I think the best hope for Ogg Vorbis is if it is accept alongside MP3. So if every (hardware and software) MP3 player can play .ogg, any encoder/decoder can handle .ogg, etc. (or most of them at least), then people won't have to care about all the MP3 stuff they have going on already. It could eventually evolve to be that Ogg is the higher quality MP3.

      I think that is THE way to get Ogg in the mainstream. Make Ogg and MP3 exist together in perfect harmony.

      mark

      --

      If you want to make an apple pie from scratch, you must first create the universe. -- Carl Sagan
    2. Re:Reasons by PCM2 · · Score: 2
      The name. Cool for geeks, but for the general public, it sounds funny.
      Yeah. Kinda like "Starbuck's." Wasn't that some guy on Battlestar Galactica? Whoah, I feel like a nerd just making that reference. And let's not forget some other lame-sounding geek brands that made no sense and so never took off, like "Napster" and "Vaio."
      mp3 was "first to market". It is deeply entrenched
      That's a good point, but market share matters more when you're talking about tangible goods. A store is going to devote more shelf space to the market-leading product, compounding that product's advantage. But MP3 and Ogg are intangibles, and for them market share isn't a zero-sum game. Player manufacturers don't need to pick -- they can have both.
      Ogg may be better sound quality-wise, but for the majority of mp3 users, mp3's "sound good enough"
      That may be true for right now, but I've seen bit rates of MP3s on file-sharing networks climbing steadily. It seems 128kbit isn't good enough sound quality for most serious traders these days, which means somebody must be re-encoding something. (I know my own ears have gotten sensitive to the "jingle" artifacts in low-bitrate MP3s.) Plus, there's more new stuff to rip every day...
      Yes Ogg is FREE but again, the average Joe could care less about Free or Open Source software
      This has to be the weirdest argument yet. Pay for it / Free. Pay for it / Free. Hmmmmmm. Seriously, OK we're only talking "as in beer" here, but that means a whole lot to a lot of people.

      I was recently visiting some friends in Detroit -- about as "your average Joe" as you can get. They told me, point blank, that they don't buy CDs anymore. They download and burn. The music they listened to was mainly mainstream Top 40 and dance type of stuff, and they were tired of paying the price of a full CD for the one single on it that was any good. So you tell me whether cost matters or not. If recording companies start putting pressure on the people who make MP3 codecs to pay kickbacks in the form of "piracy surcharges," you think nobody will start looking at Ogg?

      --
      Breakfast served all day!
    3. Re:Reasons by Mr_Silver · · Score: 2
      True enough... but if they're encoding for the first time and have the choice between a standard mp3 and a smaller, better sounding ogg -- each of which is equally playable thanks to winamp -- then ...

      They'll encode with mp3.

      You forgot that fact that players are widely available and most of their music loving friends who understand and use this sort of thing will more than likely be using mp3. So why encode with something different?

      The trade off of a (small) amount of disk space pales into insignificance compaired to the hardware support for and sheer availablility of mp3's.

      Remember that outside of the slashdot-type crew, Ogg Vobis is pretty much unknown.

      --
      Avantslash - View Slashdot cleanly on your mobile phone.
  30. Standards bodies? by phil+reed · · Score: 2

    The Ogg reply says that the only two standards bodies they know about are IETF and W3C. Well, what about IEEE? What about SMPTE? Those are technical bodies that deal with these kinds of standards all the time.

    --

    ...phil
    "For a list of the ways which technology has failed to improve our quality of life, press 3."
  31. Ogg Vorbis is in Winamp 2.80 by eddy · · Score: 5, Informative

    Personally I thought the news that Ogg Vorbis is now shipped with Winamp 2.80 was the news of they day. Any guess as to how many times over this will double the installed base of computers capable of playing Vorbis-files?

    --
    Belief is the currency of delusion.
    1. Re:Ogg Vorbis is in Winamp 2.80 by Webmonger · · Score: 2

      That's because there's no free fixed-point implementation.

      There's a hole in the bucket, dear Liza. :-)

  32. Re:a rose is but a rose... by SoupIsGoodFood_42 · · Score: 2, Funny

    If they dropped the Ogg part it sounds OK. Vorbis for the long name, and .VRB for the file name. 'Vee are bee' doesn't sound too bad. Or maybe .VBS (hmmm... I'm sure if seen that somewhere before, maybe skip that one).

  33. Somewhat offtopic remark by Skuto · · Score: 3, Interesting

    This is somewhat besides the point, but in case noone had noticed, the latest Winamp 2.80 ships with Vorbis support by default.

    This is very nice because:

    a) no more explaining how to install plugins to less-literate users

    b) it seems that the legal team of AOL considers Vorbis to be patent-safe (they looked into the matter, which is why this lasted so long)

    c) some of the WinAmp developers have become Vorbis freaks :)

    --
    GCP

  34. Re:arrogance by Anonymous Coward · · Score: 2, Insightful

    Well, he's definitely right about the importance of a spec.

    There's a world of difference between something that's defined by its implementation and something that is defined by a specification.

    Open source efforts suffer from the tendency to primarily have an implementation and secondarily, maybe, a specification. Depending on what the thing is, this may make it less useful. There are several open source languages that have this problem, but this is a lesser problem than for a codec. If you want perl you know where to get it. No sane person would want to reimplement it.

    But having a single implementation makes things worse, even for programming languages. People will tend to rely on the exact way things just happen to work in that implementation, and quirks can become features. Too often, end up requiring a specific version of the implementation. Proper languages change far less frequently.

  35. Re:The author of that article needs some cheese... by dr_connector · · Score: 4, Informative

    I totally agree. As the hardware developer on a portable mp3 player I can tell you that unless you want to use a hardware decoder (the MAS... chip) and get locked into a particular format (MP3) you're need an software implementation sans floating point. While it is possible to get embedded proc's with floating point capability, the price is simply not worth it in most cases. For instance an EP7312 with no floating point costs about $20, an EP9312 with floating point costs more like $50. Which is why small companies with a low budget like mine choose the cheaper proc's. We are totally open to supporting Ogg, but our first release will support MP3 only because we do have a free library that runs on our proc and runs on it well (well we pay 25 cents per player to Fraunhoffer, but I think that's entirely reasonable)

  36. How about you look up which CPUs they use? by pslam · · Score: 5, Informative
    I think I could answer that far more accurately (see my user info page). Guess what, most of the "good" MP3 players use ARM based CPUs:
    • empeg/Rio car player: StrongARM 220MHz, roughly equivalent to a Pentium 133 without FPU/MMX. Plays MP3s fine at a tiny fraction of CPU.
    • iPod - Portal player dual ARM-7 core 74MHz, roughly equivalent to a 486-100 without FPU/MMX.
    • Rio Receiver: Cirrus 7212 ARM7-TDMI 74MHz. Plays MP3/WMA.
    • Rio Central: StrongARM 220MHz. Plays MP3/WMA.

    They are decent processors - you can do MP3/WMA/Whatever without an FPU. Hell, you can play Quake on them at a reasonable speed. Same goes for Vorbis - it "just" needs an integer implementation, which is rather a large task that nobody in the public domain wants to take on, and no business wants to spend development time on.

  37. Re:trashtalking helps no one by jgerman · · Score: 2

    if you dont have people that get money for their work on the product the quality decreases


    Hmmm, I have to disagree. Most people who don't get money for their work, and do it anyway
    are doing it for the joy of it, usually as a labor of love. The end product is usually BETTER than the work they get paid for, since it's generally not something they care about. Nor do they feel compelled to go above and beyond what they're required to do.


    Money, while a necessary evil (well sort of), degrades a product's quality. One needs only to look to MS for a real world example.

    --
    I'm the big fish in the big pond bitch.
  38. Here's how to gain widespread acceptance by DrXym · · Score: 3, Insightful
    If you want to see Ogg succeed then the easiest way is write a plugin for the "Copy Music" feature in windows media player. Media player uses the stinky WMA by default and has lousy MP3 support (on purpose). Write a plugin encoder/decoder for it and distribute it far and wide. And don't forget ask the user during installation if they want to make it the default.


    It would also help to lobby people like Winamp, LimeWire, WinMX etc. to include Ogg as a recognized format by default making it easier to locate and play music.

    1. Re:Here's how to gain widespread acceptance by AJWM · · Score: 2

      That's a very significant point. (Mod him up! ;-) And the floating-point reference version would be an acceptable start because Media Player isn't likely to be running on any integer-only embedded processors.

      Which, of course, leaves us with the obvious question: how available are the specs for writing WMP plug-ins?

      --
      -- Alastair
  39. Specifications more important than Implementation by inquis · · Score: 4, Insightful

    What I'm going to say is what software engineers already know.

    The specifications for software are much, much more important than your implementation. If the specifications are written completely and well, the design of said software project will "fall" from the specifications, and the implementation will "fall" from the design. "Specification" isn't something you can do after-the-fact; at best, you will have an incomplete specs document (because of developers who incompletely document their own code), and at worst you will have WRONG specs (because a developer makes an innocent typo that doesn't get caught).

    Sure, the ogg stream format and the vorbis audio format have been frozen for a year; however, code is not self-documenting. One of my wisest professors said that the only man he has known that writes self-documenting code is Knuth, and you might be a good hacker, but you are NOT Knuth. Every mortal man needs specifications and design documents to be able to make ANYTHING out of ANY piece of code; hell, I have some relatively simple Java apps I hacked together six months ago that would read like Greek if I didn't have my specs and my design documents.

    How can anyone expect to reasonably use an undocumented format?

  40. Re:Ogg is not finalized by Derkec · · Score: 3, Insightful

    Either way, it's generally a good idea to have spec done prior to completing your product. I know the hackers out there will balk at this simple minded engineer, but some people out there think that writing down what you're going to do before you do it, might be a decent way to get it done. But let's face it, writing specs isn't always the sexiest work.

  41. Oggs Killer app not here yet by evilned · · Score: 2

    I love ogg vorbis, it sounds great, and it being free makes it even better. I will be sooo happy when I can flash upgrade my iRiver Slim X and my wifes iPod to play them, but that may be awhile. The one aspect of Ogg that seems to be the killer app for me is the automatic bitrate reduction. I rip all of my stuff at 320 mp3 for use on my desktop machine, but when I'm jogging, the Slim X has a tendency to skip when playing files of that bitrate. I long for the day when I can downsample the file automatically to 128 for skip protection. Its part of the implementation of ogg vorbis from the beginning, but noone has made an app to do that. For me that would be Ogg Vorbis's killer app, and something that would get me to re rip my cd's into ogg.

    --

    "My head hurts, My feet stink, and I dont love Jesus." -Jimmy Buffett

  42. Re:Winamp 2.80 by questionlp · · Score: 2, Informative
    I think it will help a little bit, but for those who aren't tech savvy and use the new version of WinAmp won't know the difference... unless if somebody sends them or if they find a file encoded in O/V. Other than that, those people will only care about MP3's.

    Still, it's a nice step in the right direction...

  43. Re:Ogg is not finalized by MikeTheYak · · Score: 2

    Actually, I think the goal is to have version 1 of the spec and version 1 of the implementation released at the same time. Trying to finalize the spec first is all well and good, but creating a reference implementation can help point out the problems you didn't think of when writing the spec. It's always a good idea to know where you're going before you try to get there, but trying to completely freeze a specification before letting your hands get dirty can lead to disaster.

  44. Re:arrogance by vidarh · · Score: 2
    Yeah. Right. You go out and write an audio compression algorithm specification and then implement it to see whether it works, and repeat until you have something reasonable. And the rest of us will keep on doing that kind of development by prototyping and refining the prototype and actually get results instead.

    Design comes first when you have a clearly defined tasks for which it is easy to develop a working system once you have comprehensive requirements.

    For something where the implementation method isn't well understood, that is going to fail miserably.

  45. I have to agree by j09824 · · Score: 2

    I was looking at doing some audio hacks with a compressed format. I was trying hard to find an Ogg Vorbis specification but couldn't find any. Eventually, I gave up and used MP3. Even if I had reverse-engineered the Ogg Vorbis en/decoder, without an official specification, there would have been no guarantee that things would have remained compatible or that I wouldn't have missed some important subtlety.

  46. Previous discussion on the fixed point decoder... by RadioheadKid · · Score: 2

    I had a discussion on /. with Emmett Plant from xiph.org about the fixed point decoder a couple of weeks ago, thought it might be relevant, you can find it here. He makes some interesting, but sometimes short-sighted points about the fixed point decoder.

    --
    "Karma can only be portioned out by the cosmos." -Homer Simpson
  47. Re:The author of that article needs some cheese... by salmo · · Score: 2, Interesting

    Hey, at my school they just built a new dorm last year that has apartment-like rooms in it. When I moved in I was suprised to find my microwave telling me I had a message. I thought WTF? Why is my microwave telling me I have a message? So I hit the message button like it told me to, and I got to hear half a conversation about hardware that the guy who was installing it must have been having.

    Anyway, talking microwaves exist now. Why? I have no idea.

  48. Re:Specifications more important than Implementati by dvdeug · · Score: 2

    "Specification" isn't something you can do after-the-fact;

    But it happens all the time in real life. C, C++, Fortran and Pascal were all specified after the fact.

    Part of the advantage is that when those were being specified, it wasn't just a specification in search of users, they knew that people would use it. Do the implementation first to attract user, and then specify, and there's less of chance you're wasting time.

    Secondly, Algol 60 was specified first, then implemented. Algol 60 had call by name, one of the most complex and painful of means of calling arguments, only because they specified first and then discoved what they had specified. Implementation first means that you can find some of the stupid mistakes first, before you write the implementation.

  49. Re:arrogance by dvdeug · · Score: 2, Insightful

    Code defines an implementation, not a specification, and using code as a spec leads to 'bug compatible' further implementations (ie. Yeah, that's feature's done really poorly, but it has to in order to be compatible with the bug(s) in the original)

    You can always ask the authors whether that's a feature or a bug. And it's not like you don't have to be bug compatible with specifications, too.

  50. Re:a rose is but a rose... by bytesmythe · · Score: 2, Insightful

    Do you run around telling people "Check out the new Moving Pictures Experts Group - Layer 3 player I got!!"

    No, of course not. "OV player" or "Vorbis player" would work just as well.

    (slightly OT)
    I do have problems with stupid product names, though. How could you be a linux advocate and try to steer people (especially large organizations) to a distro called "Phat Linux". The sites for many of these distros are so goofy and unprofessional, it's no wonder the general public doesn't go for more open source software.

    bytesmythe

    --
    bytesmythe
    Hypocrisy is the resin that holds the plywood of society together.
    -- Scott Meyer
  51. Re:JPEG vs GIF by big.ears · · Score: 3, Informative

    JPEG vs GIF is more like MP3 vs MIDI. (actually that's a reasonable analogy

    Here's a more reasonable isomorphism between audio and image formats:

    JPG :: mp3/ogg/etc. (lossy compression via removal of high frequencies)

    .gif/.png :: flac/lpac/shorten/etc. (lossless compression via huffman coding compression)

    .svg/.eps/etc. :: midi (lossless symbolic description of media primitives)

  52. Re:trashtalking helps no one by jgerman · · Score: 2
    Yeah that's it. Let's compare the headstart Windows had over windows so it could get entrenched. And the shady (and often downright illegal) business procatices used by MS. And the propaganda campaigns MS foists off on the general public. Windows isn't where it is because it's better, it's there because of monopolistic business practices. If Linux and Windows were sitting on a shelf at the same age of developement, the story would have been entirely different.


    The assumption that Windows is of higher quality because more people use it is a fallacy. As if the only factor determining a products qulaity is how many people use it.

    --
    I'm the big fish in the big pond bitch.
  53. Re:Specifications more important than Implementati by inquis · · Score: 2

    C, C++, Fortran, and Pascal may have been specified after the fact. However, if you had studied programming languages you would know that to be able to implement a language you also have to implement a grammar.

    A document describing the grammar of the language + the source code for the implementation of the language (a compiler) is much more descriptive than the implementation (the compiler) alone.

    There is no way that you could write a compiler without said language grammar. The notion that you could conceviably write a useful compiler for a language that you only have knowledge of in an informal manner (i.e. me trying to write a Java compiler from just my knowledge of how the Java language works and not from design documents like grammars) is insanity.

    Also, you mention Algol 60 being specified and then implemented. Two points:

    1. Call-by-name is bizarre, but useful in some cases. Can you provide proof that the designers of Algol 60 considered the call-by-name parameter passing scheme implemented in that language a fault?
    2. The whole point of having a series of steps before you get to implementation is because faults you catch in the requirements, specification, or design stages of development are much cheaper to correct than if you caught that same fault as you were implementing / after the product is already complete.

    Implementation before specification = bugfest.

  54. Re:Specifications more important than Implementati by dvdeug · · Score: 2

    However, if you had studied programming languages you would know that to be able to implement a language you also have to implement a grammar.

    To implement any program that reads a file, you have to implement a structure for the file. That's the easy part. It's the semantics - what the bytes mean, instead of how they are ordered, that's the hard part.

    There is no way that you could write a compiler without said language grammar.

    But it's been done. It's not that hard to discover from studying sample code. The tricky stuff is getting the semantics right, and that wasn't clearly specified in C, C++ or Fortran prior to the standards.

    Can you provide proof that the designers of Algol 60 considered the call-by-name parameter passing scheme implemented in that language a fault?

    Besides the fact that the designer's own implemenation didn't handle it correctly, because it was too much work? Between call by name, and integer labels, I don't believe there ever has been a complete implementation of Algol 60.

    2. The whole point of having a series of steps before you get to implementation is because faults you catch in the requirements, specification, or design stages of development are much cheaper to correct than if you caught that same fault as you were implementing / after the product is already complete.

    The point that you're missing, is that people miss problems in specifications all the time. If you implement first, then you are guarenteed to catch anything that's unimplementable or unusable; if you standardize first, then there's a chance they will pass you by.

    Implementation before specification = bugfest.

    Argument by assertion! How profound. I guess you couldn't find any examples to back up your case, then.