Slashdot Mirror


Technical Objections To the Ogg Container Format

E1ven writes "The Ogg container format is being promoted by the Xiph Foundation for use with its Vorbis and Theora codecs. Unfortunately, a number of technical shortcomings in the format render it ill-suited to most, if not all, use cases. This article examines the most severe of these flaws."

370 comments

  1. already slashdotted ? by godrik · · Score: 3, Interesting

    I don't see any comment and the website is already down. gg /.

    1. Re:already slashdotted ? by heneon · · Score: 5, Funny

      In related news, I know technical shortcomings in hosting an article on hardwarebug.org...

    2. Re:already slashdotted ? by noidentity · · Score: 4, Funny

      I don't see any comment and the website is already down. gg /.

      Yes, but what format is the website in? I'm thinking something involving ashes.

    3. Re:already slashdotted ? by Jurily · · Score: 5, Funny

      Wasn't us. We don't read the articles before posting.

    4. Re:already slashdotted ? by sopssa · · Score: 4, Insightful

      But there was a lot of interesting points though (I read it before it got slashdotted) and it went to technical points too. But what Ogg support, along others, basically comes down to:

      The third reaction bypasses all technical analysis: Ogg is patent-free, a claim I am not qualified to directly discuss. Assuming it is true, it still does not alter the fact that Ogg is a bad format. Being free from patents does not magically make Ogg a good choice as file format.

      This is so true, not only with Ogg or file formats, but also Linux and open source software too. The patent-free, open source and free are very rarely any good selling points. What it can actually do is. I can only hope more open source developers would get this - you can't sell the idea outside /. people for it being open and free, it also has to be better (or even on the same level).

    5. Re:already slashdotted ? by Nemyst · · Score: 3, Interesting

      Must be a hardware bug.

    6. Re:already slashdotted ? by Anonymous Coward · · Score: 0

      Mod parent as funny!

    7. Re:already slashdotted ? by dgatwood · · Score: 0, Offtopic

      I clicked, half expecting Kermit doing goatse, but it's legit. Mod parent up.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    8. Re:already slashdotted ? by Yvan256 · · Score: 4, Funny

      There's articles? Since when?!

    9. Re:already slashdotted ? by bertoelcon · · Score: 1

      Wasn't us. We don't read the articles before posting.

      Or after posting.

      --
      Anything can be found funny, from a certain point of view.
    10. Re:already slashdotted ? by Draek · · Score: 1

      The patent-free, open source and free are very rarely any good selling points.

      Really? guess somebody should tell game devs that, then, and make them pony up the cash for AAC instead of using Ogg Vorbis for their engines.

      When you want to ensure your product reaches the biggest amount of people, the best thing to do is to pick a patent and royalty-free standard as the base, and *then* work around the technical details, because nothing alienates hobbyists more than a third-party going around suing your customers for unpaid royalties. For a game engine such things are important, but for a web standard as is the case here, it's vital.

      --
      No problem is insoluble in all conceivable circumstances.
    11. Re:already slashdotted ? by davester666 · · Score: 1

      Is there any actual way to establish something as being "patent-free"? Other than taking an implementation and/or description of the format and compare it against every single patent in force (or pending) on the date the implementation/description was published with patent lawyers in front of a patent judge? And not just US patents, but around the world, because of various trade agreements to respect other countries patents.

      At best, right now, 'patent-free' just means that nobody has pressed any patent claims against Ogg.

      --
      Sleep your way to a whiter smile...date a dentist!
    12. Re:already slashdotted ? by Steve+Max · · Score: 4, Informative

      However, it's not unique to OGG. AFAIK, MKV is also patent-free, and it's the standard container for torrents^Wprivate-encoded HD video. And it's a much better container anyway.

    13. Re:already slashdotted ? by CronoCloud · · Score: 1

      Thanks for bringing that up, I recently picked up the PS3 version of the recent Ghostbusters game and what do I see when I start the game? A Xiph copyright notice. It's the only one I've seen it in, however. Lots of Bink video notices though.

    14. Re:already slashdotted ? by drtsystems · · Score: 1

      I'd imagine container formats have far fewer patent issues to worry about compared to compression algorithms.

    15. Re:already slashdotted ? by msclrhd · · Score: 1

      Lots of casual games (from Awem, Big Fish Games, etc.) make use of ogg+vorbis for audio.

      Also:
            http://wiki.xiph.org/Games_that_use_Theora
            http://wiki.xiph.org/Games_that_use_Vorbis -- lots more games using vorbis than theora

    16. Re:already slashdotted ? by maxwell+demon · · Score: 2, Funny

      There are articles at the time of submission. They disappear when the summary hits the front page.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    17. Re:already slashdotted ? by Anonymous Coward · · Score: 0

      To be fair, we just assume that MKV is patent free. It was developed from scratch by volunteers using basically nothing else as a reference. It is possible that something was implemented that someone else had patented. Although there isn't a lot to container formats, the most likely problem would be EBML, but I can't see that infringing on anything but a truly broad and absurd patent.

      (Speaking as someone who helped write the MKV spec.)

    18. Re:already slashdotted ? by arose · · Score: 1

      In other words Xiph containers and codecs are about as safe from unknown codecs as H.264. MPEG LA only gives you a bundle of known patents for your cash.

      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    19. Re:already slashdotted ? by Anonymous Coward · · Score: 0

      Ever stop to think that there is no such thing as a 'slashdotting'? That there is only targeted DDoS, meant to keep you from forming an informed opinion? That you have been mislead all these years?

      THINK OF THE HORROR!

    20. Re:already slashdotted ? by DMUTPeregrine · · Score: 1

      We don't read the articles, but we do have prefetching enabled.

      --
      Not a sentence!
    21. Re:already slashdotted ? by cgenman · · Score: 1

      I hate to ask such a newbie question, but why is a completely general video container format actually useful? I don't mean the particulars of a decoder, but why a general purpose container rather than a file that is decoder specific?

      WMV hosts a million different formats internally, which eventually break down to MP4 or AVI or MPG, or many other options. As far as I can tell, using WMV as a container format just means that you won't actually know if you can open a video file until after you've attempted to do it.

    22. Re:already slashdotted ? by ignavus · · Score: 1

      Wasn't us. We don't read the articles before posting.

      Clearly Slashdotters don't read the articles.

      But clearly websites get Slashdotted.

      The solution must be: those who post don't read, and those who read don't post.

      By dividing our forces, we can bring down websites AND write uninformed posts at the same time. Division of labour!

      --
      I am anarch of all I survey.
    23. Re:already slashdotted ? by javilon · · Score: 1

      So maybe the solution is Theora and Vorbis encoded media on a mkv container, right? Pick the best (free software) tool for the job

      --


      When his defense asked, "Which computer has Jon Johansen trespassed upon?" the answer was: "His own."
    24. Re:already slashdotted ? by Anonymous Coward · · Score: 0

      If hardware support for Theora/Vorbis was here, I'd agree. Unfortunately, every BD player worth its salt takes mkv files, but assumes they use h264; MKV+Theora is even less supported than OGG+Theora.

    25. Re:already slashdotted ? by TheGeneralEclectic · · Score: 1

      I don't see any comment and the website is already down. gg /.

      I was under the impression that no-one on /. ever RTFA....must be something else that caused it then:)

    26. Re:already slashdotted ? by Svartalf · · Score: 2, Informative

      If you'd drop the "casual" from the statement, it'd also be fairly accurate.

      I do know that in the large the casual/indie space are using OGG as the format- it's more to avoid the per-unit royalties that the "superior" formats charge, but if it were as all bad as the article author makes it out to be I can assure you that they'd not be using it.

      --
      I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
    27. Re:already slashdotted ? by lennier · · Score: 1

      I only read Slashdot for the articles, honest.

      --
      You are not a brain: http://books.google.com/books?id=2oV61CeDx-YC
    28. Re:already slashdotted ? by Anonymous Coward · · Score: 0

      OGG as a container is just plain stupid. One can't even begin to imagine what were those people thinking when they used the byte value "255" over and over to represent the size of a segment, yes compression can take a lot of that out(because of repetition) but a simple 16bit field in most cases would sufice(32 would do for all cases expected).
      Oh BTW binary searches as an alternative to using an index in large amounts of data? Have you ever read an algorithms book? There is no excuse, it is simply not good, not good at all.

    29. Re:already slashdotted ? by hazydave · · Score: 1

      Yeah... open source alone is not always an important figure of merit if you have real work to do.

      But you need to flip it around. GNU/Linux is very, very useful, and this largely because all these developers already understood how useful UNIX was, as used that as the basis for GNU/Linux. It is the case that "already proven good" + "open source" >> "already proven good", at least for most values of "always".

      There are a few very useful media container formats around: MPEG-2 TS (ITU-T Rec. H.222.0), QuickTime, MPEG-4 (SO/IEC 14496-14), Matroska, going all the way back to IFF on the Amiga (and of course, that one 100% free and clear to clone and extend at will.. 1985 wasn't exactly a banner year for computer video). As much as it's often said that those who don't understand UNIX are doomed to recreate it, poorly, there's absolutely no question this is true of something as relatively simple to get right and painful when wrong as a media container format. The very simple ability to add a new format, and for a reader/player/editor to ignore formats it doesn't know, is one fundamental requirement. Other useful requirements include the ability to stream well... both reasons MPEG-2 TS still dominates in transmitted media (television, satellite, DVD & Blu-Ray, etc).

      That's not to suggest MPEG-2 TS is ideal (it was written for hardware decoders, but, then again, tools to deal with TS streams abound already in all modern OSs). Or Amiga IFF, or Quicktime/MP4. Patent-wise, the MP4 file format was derived directly from the Quicktime (.mov) file format, which dates back at least to the early 1990s. So even if Apple has patents, they can't be all that long lived. But Ogg does things in stupid ways that were long ago handled much better by these other formats. It's pretty clear that the Ogg format creators were solving the short-term goal of encapsulating Vorbis, and subsequent projects should have dumped it in favor of something else.

      And in particular, why not support Matroska? This is a very well done media container format. It's an open standard, and the libraries are licensed on LGPL, with parsers and player libraries under the BSD license. There's growing support for Matroska in software media players, hardware devices (TVs, Blu-Ray players), etc. And no known patent entanglements, just like Ogg. NIH maybe? The Theora and Vorbis people don't like Russians?

      --
      -Dave Haynie
    30. Re:already slashdotted ? by hazydave · · Score: 1

      If you have a proprietary container for every possible format, that makes it necessary for every player to learn that format, or for a multitude of players to exist... it gets ugly, real fast.

      In a modern operating system, you have OS-level support for various media formats, via a multimedia framework, like DirectShow or Video for Windows under Windows, Quicktime under MacOS, or gstreamer under Linux. So it makes a great deal of sense to build a single "encapsulation" format for any kind of media.

      Once you have such a format, a player is simply a program that parses the format, calls up the OS's multimedia subsystem, and sends the video it encounters based on type... or fails, if that PC doesn't have a driver (eg, CODEC) for that particular type.

      This allows new media types to be added to the system and work with every tool. For example, I use Sony Vegas for video editing and rendering. The BBC just released a new video format, called Dirac, which is fairly interesting. All they have to do is release a VIDEO CODEC... just the piece that knowns how to encode and decode their format, and some hooks to identify it within the multimedia framework. When I install this in Windows, I can now read and write Dirac video in Vegas, I can play back Dirac video in Windows Media Player, etc. If every video format needed its own tools, or separate support within each application, then I'd have to wait for the BBC to compete their specs, then send them to Sony, and then for Sony to decide that Dirac was important enough to support in Vegas.

      It's kind of the same idea as device driver support. Back in the ugly dark ages of MS-DOS, there was really very little operating system in place: MS-DOS just did file handling. So a program that did graphics had to know about your graphics card (or just go slow and generic), it has to know about your mouse or other pointing device, etc. So I might have a DOS based CAD program, it knows my graphics and my mouse, everything's cool. Then I go and buy a nice new tablet, for more accurate editing... but the CAD program doesn't know that tablet, so I can't use it. This was solved by modern OSs (eg, not MS-DOS) generations ago, by adding various device drivers into the OS. So your modern CAD program asks the OS about input, and the OS gets that information from any user interface devices you might have. The manufacturer of that device adds the driver, no need to support it in the application.

      Video CODECs are just another class of abstraction similar to device driver, it's just not always seen that way, because the path is software to software (eg, compressed video to uncompressed video, vice versa) rather than software to hardware (eg, mouse driver to mouse).

      --
      -Dave Haynie
    31. Re:already slashdotted ? by metamatic · · Score: 2, Informative

      AFAIK, MKV is also patent-free, and it's the standard container for torrents^Wprivate-encoded HD video.

      Which is fucking stupid when you think about it. All those MKV files contain MPEG-2, MPEG-4 or h264 video, and usually AAC or MP3 audio. Given that you're using those patent-encumbered codecs, you may as well use the standard patent-encumbered container, MPEG-4. All you do by using MKV instead is annoy people who would like to play the video on their AppleTV, PS3, Mac, PSP, iPod, phone, etc.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
  2. Still better than AVI by Ltap · · Score: 3, Insightful

    No matter how bad it is, it's still better than AVI. I personally use Matroska, it has all of the ideological benefits (free, non-encumbered, open-source) over stuff like MP4.

    --
    Yet Another Tech Blog
    (but so much more, including game and movie reviews)
    http://yanteb.peasantoid.org
    1. Re:Still better than AVI by Anonymous Coward · · Score: 2, Funny

      You forgot the lack of general support. Definite win on the ideological front.

    2. Re:Still better than AVI by sopssa · · Score: 2, Insightful

      Exactly this. Matroska in general is great and a lot better than Ogg or others, but it doesn't work on any device besides PC - not on 360, not on PS3, not in mobile phones.. CoreCodec should really try to push general support in other devices for it.

    3. Re:Still better than AVI by Shimdaddy · · Score: 1

      I'm not sure about the XBox360, but the excellent ps3 media server will happily transcode matroska files for smooth playing on your ps3.

    4. Re:Still better than AVI by rwa2 · · Score: 1

      I'd like to use Matroska more, I like the DVD-like features such as alternate audio tracks and switchable subtitles. Have any recommendations for encoders that can include these features? VLC appears to work pretty well on the player side.

    5. Re:Still better than AVI by c_g_hills · · Score: 1

      Untrue. Matroska is now officially supported by the DivX Plus HD profile which is used by a variety of devices.

    6. Re:Still better than AVI by Anonymous Coward · · Score: 0

      Actually it's quite the opposite: most stand alone digital players handle MKV just fine. Whether they have built-in storage or not (e.g. Western Digital WD-HD).

    7. Re:Still better than AVI by Anonymous Coward · · Score: 0

      I think it's important to note that MKV is very well supported (well, better supported than I expected) on set-top media player boxes like the WD TV, Popcorn Hour and similar devices from Seagate, Roku, Netgear and Asus.

    8. Re:Still better than AVI by Anonymous Coward · · Score: 0

      nope - 360 doesn't like it. Windows 7 won't stream it either.
      Have to transcode to wmv with wma if you want HD streaming with 5.1 sound

    9. Re:Still better than AVI by Anonymous Coward · · Score: 0

      The NMT platform by Syabas (Popcorn Hour et al.) support it just fine, thanks.

    10. Re:Still better than AVI by ObsessiveMathsFreak · · Score: 2, Interesting

      The great thing about Matroska is that it supports (or at least can support) absolutely everything.
      The main drawback of Matroska is that it supports (or at least can support) absolutely everything.

      Matroska is a great container format, but unless you have a program like mplayer or vlc you can't guarantee that a Matroska file is going to be playable on your system. You can't reasonably expect browser maker to standardise on Matroska if it will mean having to include 30+ different codecs in their software, which from a practical standpoint it will. The unfortunate reality is that most of the world's population still doesn't have access to a comprehensive library of software like apt, and while our current software IP regime reigns, they never will.

      --
      May the Maths Be with you!
    11. Re:Still better than AVI by sopssa · · Score: 2, Insightful

      Of course, I use that too. But that's exactly the point - it doesn't support it, so you have to transcode.

    12. Re:Still better than AVI by sopssa · · Score: 1

      That's good to hear, but it still doesn't work with PS3, 360 or other devices I have :-)

    13. Re:Still better than AVI by stms · · Score: 0

      I prefer Matroska as well... personally I think that xilph should drop the ogg container since mkv is doing such a good job then it would leave slightly more time to work on their video codec (perhaps they could even merge the projects if everyone was happy with it).

    14. Re:Still better than AVI by greed · · Score: 1

      HandBrake can do MKV files with DTS and AC3 pass-thru audio, and DVD "image" subtitles. (MP4 can only do AC3 pass-through and "text" subtitles.)

      Between HandBrake and XBMC Live, I've got some lovely Blu-Ray-sourced .mkv files; DTS sound, multiple language subtitle channels all switchable, and so on....

    15. Re:Still better than AVI by CreamyG31337 · · Score: 1

      Cowon supports it. They make MP3 players and PMPs if you've never heard of them. jetaudio.com/products

    16. Re:Still better than AVI by r_benchley · · Score: 3, Informative

      I use Handbrake http://handbrake.fr/ for encoding. Handbrake will let you chose from MP4 or MKV for container, H.264 or Theora for video and MP3, AAC or Vorbis for audio.

    17. Re:Still better than AVI by Jah-Wren+Ryel · · Score: 3, Informative

      Exactly this. Matroska in general is great and a lot better than Ogg or others, but it doesn't work on any device besides PC - not on 360, not on PS3, not in mobile phones..

      However, matroska support is pretty much standard in any but the most proprietary set-top boxes. For example - WDTV, TiVX, Popcorn Hour - basically anything that uses any recent Sigma Designs chipset. Similarly iRiver supports matroska on their newest portable media players and Archos's latest android based pmp also supports matroska.

      JVC and Phillips have currently shipping blu-ray players that play matroska. Panasonic has announced their next generation of TVs and blu-ray players will do matroska, and the specs for NEC's next gen of video decoder chipsets (which compete with Sigma Designs) say they will include matroska support.

      --
      When information is power, privacy is freedom.
    18. Re:Still better than AVI by Khyber · · Score: 1

      "Matroska in general is great and a lot better than Ogg or others, but it doesn't work on any device besides PC"

      My AIWA DVD player can read MKV containers as long as the codec used for encoding is FourCC compatible.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    19. Re:Still better than AVI by Khyber · · Score: 1

      http://hubpages.com/hub/How-To-Play-MKV-Files-On-Playstation-3

      Really, googling "Play MKV on PS3" isn't that hard - it just removes the container format and puts it all back into native VOB.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    20. Re:Still better than AVI by sopssa · · Score: 1

      You're missing the point. I know how to convert them to play on PS3, but that still doesn't make PS3 support Matroska.

    21. Re:Still better than AVI by Anonymous+Psychopath · · Score: 4, Insightful

      I get what you're saying, but how is this different for Matroska than any other container format?

      --

      Eagles may soar, but weasels don't get sucked into jet engines.

    22. Re:Still better than AVI by Anonymous Coward · · Score: 0

      Thank you so much for mentioning Matroska.

      I was not aware of it, and it's helpful in this context, providing a solution rather than rehashing possible problems.

    23. Re:Still better than AVI by Late+Adopter · · Score: 1

      Unless you have a program like mplayer or vlc you can't guarantee that a Matroska file is going to be playable on your system

      I see the problem, but consider that it's also sort of a feature: your video player knows that it's a Matroska file, so it can determine the codec and tell you what you need to download, or autodownload it, so you can continue to use the same video player for a variety of types of Matroska files.

      In terms of standardizing, there's no need to support all possible codecs, an HTML5 spec could in theory say "browsers must support Matroska+h264 and Matroska+theora files".

    24. Re:Still better than AVI by EdZ · · Score: 1

      Encode with whatever codec you want. For putting stuff into the MKV container, MKVtoolnix works pretty damn well (and has source and binaries for pretty much everything).

    25. Re:Still better than AVI by msclrhd · · Score: 1

      I highly recommend Cowon devices (I currently have an S9). They are very good at supporting audio/video formats and have supported ogg and flac for some time now, and I am getting about 45Hrs battery life on the S9 playing ogg files.

      For matrostka (mkv and mka support), it looks like you need a newer PMP device (e.g. the A3) -- check the specs on the website (www.cowonglobal.com) for supported formats for a product.

    26. Re:Still better than AVI by jedidiah · · Score: 2, Insightful

      I can see this problem going from MPEG2 to MP4 for an iPhone. So this is hardly a Matroska only problem.

      Consumer video devices, especially video devices, tend to have a very limited range of what they can handle. It's just a side effect of the tech being relatively immature.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    27. Re:Still better than AVI by Anonymous Coward · · Score: 0

      I liked the article, it actually discussed the technical reasons and wasn't a simple rant. I wonder if the author could review Matroska (and possibly other formats) too. I'd love to see how they all stack up.

    28. Re:Still better than AVI by drinkypoo · · Score: 0, Redundant

      This doesn't differentiate it from AVI in any way...

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    29. Re:Still better than AVI by Freultwah · · Score: 1

      Plays on any Popcorn Hour device whose spec I cared to check.

    30. Re:Still better than AVI by Dahamma · · Score: 1

      But that's the point of independent container formats and codecs - they are orthogonal. Just because a container supports a large set of codecs doesn't mean your decoder/player software has to support them all! A well designed media playback engine can support an arbitrary set of containers and codecs, so MKV should be no different from any other container in this case.

    31. Re:Still better than AVI by wolrahnaes · · Score: 1

      The great thing about AVI is that it supports (or at least can support) absolutely everything.
      The main drawback of AVI is that it supports (or at least can support) absolutely everything.

      AVI is a great container format, but unless you have a program like mplayer or vlc you can't guarantee that a AVI file is going to be playable on your system. You can't reasonably expect browser maker to standardise on AVI if it will mean having to include 30+ different codecs in their software, which from a practical standpoint it will. The unfortunate reality is that most of the world's population still doesn't have access to a comprehensive library of software like apt, and while our current software IP regime reigns, they never will.

      Oh wait...

      --
      I used to get high on life, but I developed a tolerance. Now I need something stronger.
    32. Re:Still better than AVI by yuna49 · · Score: 1

      Matroska in general is great and a lot better than Ogg or others, but it doesn't work on any device besides PC

      That's not entirely true.

    33. Re:Still better than AVI by buzzn · · Score: 1

      ... and has incredibly sucky UI to boot.

      --
      Join the window installer's union, where prosperity is a brick throw away!
    34. Re:Still better than AVI by Ltap · · Score: 1

      If you don't have VLC/mplayer (Linux) or home media player classic (Windows) you don't deserve to get the benefits of Matroska. What happened to the days when people would distribute in deliberately obscure formats? We shouldn't encode to crappy formats just to please the people who download stuff, they should be happy that they're getting it for free.

      --
      Yet Another Tech Blog
      (but so much more, including game and movie reviews)
      http://yanteb.peasantoid.org
    35. Re:Still better than AVI by Omnifarious · · Score: 1

      I've noticed that while most container formats support most codecs, there's a set of codecs you usually find associated with a given container format. A lot of people, for example, really mix up ogg, Vorbis and Theora. Even though those latter two codecs could technically be implemented with any container, everybody expects them in ogg.

      I think, for a container format to succeed, it has to be general enough to contain anything, but have a lot of cultural associations such that in reality only a few codecs ever use it.

    36. Re:Still better than AVI by godefroi · · Score: 1

      Even though [Vorbis and Theora] could technically be implemented with any container, everybody expects them in ogg.

      That's because if someone used Vorbis or Theora, they've already made the decision to give up quality in the name of ideology. That decision having been made, of course they're going to go all the way and use the Ogg container.

      --
      Karma: Poor (Mostly affected by lame karma-joke sigs)
    37. Re:Still better than AVI by kriston · · Score: 1

      I really have to say that MKV has a long row to hoe with hardware implementations since the format doesn't seem to be frozen. When Matroska's developers said something along the lines of, "Oops, we forgot internet streaming," MKV really lost a lot of street cred.

      --

      Kriston

    38. Re:Still better than AVI by stardaemon · · Score: 1

      The great thing about Matroska is that it supports (or at least can support) absolutely everything. The main drawback of Matroska is that it supports (or at least can support) absolutely everything.

      Matroska is a great container format, but unless you have a program like mplayer or vlc you can't guarantee that a Matroska file is going to be playable on your system. You can't reasonably expect browser maker to standardise on Matroska if it will mean having to include 30+ different codecs in their software, which from a practical standpoint it will. The unfortunate reality is that most of the world's population still doesn't have access to a comprehensive library of software like apt, and while our current software IP regime reigns, they never will.

      Which would be why you would specify the codecs in the standard as well, which is what the html5 video debate is mostly about.

      --
      The only way to stay sane in an insane world, is to be mad yourself...
    39. Re:Still better than AVI by metamatic · · Score: 1

      Unless you're going to use Theora and Vorbis, why not use MPEG-4? It supports all the same features, and has the added benefit of being playable everywhere.

      If you're already using patented codecs, why not use the standard patented container?

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    40. Re:Still better than AVI by metamatic · · Score: 1

      Or you could use MPEG-4, which would play not only in all those boxes you cite, but would also work for PS3, AppleTV, PSP, Xbox, iPod, mobile phones, and so on.

      After all, I bet you're using patent-encumbered codecs in your MKV file, so why not go the whole hog and use a patent-encumbered container that everyone can read? You're already impure.

      So sure, if you're using Theora and Vorbis, do use MKV. But if you're not, why use MKV?

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    41. Re:Still better than AVI by Omnifarious · · Score: 1

      From what I understand, Vorbis is one of the highest quality audio codecs out there. It's certainly a heck of a lot better than mp3, which is what most people use instead. If you're going to be a troll, at least don't be a stupid one.

    42. Re:Still better than AVI by godefroi · · Score: 1

      It's better than ATRAC too, so hey, it must be one of the best, right? Right??

      Regardless, it's lossy, therefore indisputably of less than optimal quality. Whether it's the best of the *LOSSY* codecs, seems to be a matter of opinion. There are at least as many "against" opinions as "for" opinions for any given bitrate.

      --
      Karma: Poor (Mostly affected by lame karma-joke sigs)
  3. Flamebait much? by Anonymous Coward · · Score: 0

    Who cares about container formats anyway? I could write ten before I get up in the morning. The codecs are the hard part.

    1. Re:Flamebait much? by 91degrees · · Score: 1

      Yes, but having low overhead, low latency with efficient random access are still beneficial in a container format. Ogg doesn't have these.

    2. Re:Flamebait much? by jhfry · · Score: 1

      Sure you could... but would those 10 meet the needs of developers, content creators, and everyone else to whom the container does matter.

      Most container formats are limiting on the users of the format... and they must be to ensure that someone can develop for them, if there weren't rules, then it wouldn't be a specification. The best format is the one that imposes the right limitations while remaining very flexible for future technologies and uses.

      While there are a multitude of container formats, few have met the ideal balance between flexibility and restriction. I haven't read the linked article, but I suspect it will highlight how OGG is to restricting and/or not flexible enough to stand the test of time.

      It would be trivial to create a completely unrestricted container format, but no one could use it as there would be no standard for reading the content contained within it.

      --
      Sometimes the best solution is to stop wasting time looking for an easy solution.
    3. Re:Flamebait much? by Anonymous Coward · · Score: 0

      "It would be trivial to create a completely unrestricted container format, but no one could use it as there would be no standard for reading the content contained within it."

      This is closer to being the actual problem with Ogg. It has not been changed since 1998. The crazy granpos system (where the codec defines timestamp parsing) has been needed twice in that time to support a new scheme (Dirac's weird grouping + rolling intra support) that hadn't been seen before without extending the container.

      Also, there's not parsing structure or metadata in the container itself. That goes in a metadata stream. All of these things have been added without altering Ogg.

  4. Just complaining by Evets · · Score: 4, Insightful

    "I would have done it diffferently" does not mean that the format is bad. None of these "flaws" render the format unusable. Maybe it doesn't perform as well as another format, maybe it isn't designed the way you would like, but it's implemented, it's available, and it's in use.

    1. Re:Just complaining by TheRaven64 · · Score: 4, Interesting
      Wow, did you copy that criticism of TFA from the last section, where he says:

      More commonly, the Ogg proponents will respond with hand-waving arguments best summarised as Ogg isn’t bad, it’s just different. My reply to this assertion is twofold:

      • Being too different is bad. We live in a world where multimedia files come in many varieties, and a decent media player will need to handle the majority of them. Fortunately, most multimedia file formats share some basic traits, and they can easily be processed in the same general framework, the specifics being taken care of at the input stage. A format deviating too far from the standard model becomes problematic.
      • Ogg is bad. When every angle of examination reveals serious flaws, bad is the only fitting description.

      And he's right. Unless the technical details of Ogg are not as he represented them, the format is stupid. I've not looked at Ogg in detail, but I have written multimedia apps and his complaints are right on the mark. Even if most of them are untrue, the point about timestamps would have been a show stopper. There is absolutely no excuse for not encoding timestamps as rationals in a fixed format in the container. Without that, you are just inviting synchronisation problems between audio and video CODEC formats that aren't explicitly designed to work together.

      Which may, of course, be intentional. Vorbis and Theora are designed to work together. But if you have a Theora video stream with MP3 or AAC audio, what happens? An H.264 video stream with Vorbis? Obviously the solution is to just use Xiph formats in the Xiph container. And that's fine. I don't have a problem with Ogg as a container for Xiph formats (other than the latency issues he mentions), but claiming that it is a general purpose format is misleading.

      Ogg is like XML. It defines just enough to let you define something useful, but it's not useful by itself.

      --
      I am TheRaven on Soylent News
    2. Re:Just complaining by sopssa · · Score: 2, Insightful

      Uh, wtf? Just because none of the flaws make it completely unusable doesn't mean it's not bad. If it has serious flaws, it is. As the writer states, it's a complete mess for app developers and lacks some required features that other formats have.

      I can implement, make available and use a format I made in a few hours without thinking about it. Maybe it misses features for seeking because I didn't think about adding timestamps, and probably only usable audio format is WAV. But in your words it doesn't make my container bad and anyone criticizing it would be just complaining.

    3. Re:Just complaining by Anonymous Coward · · Score: 0

      You know what's also implemented, available and in use? Matroska
      While it isn't perfect it has certainly seen more use than Ogg, at least in the video world. Haven't read the article, because it's slashdoted, but I assume it's about the fact that the Ogg container was initially designed as a transport stream format for audio. While that's nice for streaming most video sites use progressive download to deliver the files, so it's not an advantage in that situation. I read that Xiph is only now working on implementing a keyframe index to allow proper seeking in video. Ogg also makes it complicated to integrate support for new codecs. You basically have to rewrite the splitter to support them. See here posts 48 to 52. The last post also has a link to an older hardwarebug article describing problems with the Ogg container.

    4. Re:Just complaining by Aladrin · · Score: 2, Insightful

      Actually, they never said 'unusable'. They said 'ill-suited'. And it is, if their technical objections are all correct.

      It sounds like Ogg tried to be too much and as with any over-generalization, the specifics suffer for it.

      That doesn't mean it should't be used, it just means it's not optimal.

      --
      "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
    5. Re:Just complaining by Wildfire+Darkstar · · Score: 3, Informative

      Haven't read the article, because it's slashdoted, but I assume it's about the fact that the Ogg container was initially designed as a transport stream format for audio.

      The article goes considerably beyond that, arguing that the container is flawed even as an audio format. Here's the money quote (emphasis mine):

      When challenged, [Ogg campaigners] will occasionally assume an apologetic tone, explaining how Ogg was only ever designed for simple audio-only streams (ignoring it is as bad for these as for anything), and this is no doubt true. Why then, I ask again, do they continue to tout Ogg as the one-size-fits-all solution they already admitted it is not?

      --
      Sean Daugherty "I have walked in Eternity -- and Eternity weeps."
    6. Re:Just complaining by evilviper · · Score: 2, Interesting

      "I would have done it diffferently" does not mean that the format is bad.

      Every open source multimedia developer outside of Xiph.org, who has had to do anything with Ogg, will tell you that Ogg is a flaming pile of crap. This notably includes Moritz Bunkus, the author of Ogmtools. Quotes of such are easy to find.

      For a real challenge, just try to find ANYONE saying Ogg is a well-deigned and well thought-out container format...

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    7. Re:Just complaining by teknomage1 · · Score: 1

      I wonder how many of the technical objections are workarounds for where the "obvious" choice is already covered by software patents. One of ogg's selling points is that it isn't covered by any patents, and we know there are a lot of lame software patents out there.

      --
      Stop intellectual property from infringing on me
    8. Re:Just complaining by AigariusDebian · · Score: 1

      Could it be because the traditional way that the other codecs are designed are actually patented? Yes, you can patent the concept of having audio and video that needs to be played at the same time to be embedded into the same carrier packet. Avoiding such patent makes software worse functionally, but it is still needed to keep it patent-free.

      Blame the USA patent system for most of the deficiencies of OGG.

    9. Re:Just complaining by jbezorg · · Score: 0, Troll

      Okay, I admit I am not very savvy on this technicalities of this discussion. I'm interested and trying to understand but this post confuses the hell out of me.

      And he's right. Unless the technical details of Ogg are not as he represented them

      He's right. unless he's wrong.

      I've not looked at Ogg in detail, but I have written multimedia apps and his complaints are right on the mark.

      I've not looked into the detail but the complaints about them are correct ( how do you know? You admit that he could be wrong and have not verified the data )

      Even if most of them are untrue, the point about timestamps would have been a show stopper.

      Even if he's lied his ass off, I'll still believe him on this point.

      Just seems to me you started typing before you decided to believe the article yourself Raven.

      --
      I've lost all my marbles except one & It's fun to test angular & centripetal acceleration in my skull
    10. Re:Just complaining by msclrhd · · Score: 1

      Also, even if ogg is a bad container format that has a lot of overhead, ogg+vorbis files are smaller than the equivalent mp3 files (so matroska+vorbis should be even smaller). So it does not rule out vorbis (or flac) for audio.

      Testing a 34m31s (88M) audio data file containing spoken audio generated by a text-to-speech program I found the following (using GStreamer as an encoder):
              time gst-launch-0.10 filesrc location="source.wav" ! wavparse ! $(ENCODER)

              ENCODER = ! audioconvert ! wavenc ! filesink location="destination.wav"
                      88M (100% of original) -- baseline for the test (no compression)
                      real 0m1.399s
              ENCODER = ! audioconvert ! flacenc ! filesink location="destination.flac"
                      52M (59.1% of original) -- fast, lossless compression, but produces larger files than the others
                      real 0m3.077s
              ENCODER = ! audioconvert ! lame quality=3 vbr=4 ! filesink location="destination.mp3"
                      27M (30.7% of original) -- decent compression at a reasonable speed, but has licensing issues
                      real 0m22.118s
              ENCODER = ! audioconvert ! vorbisenc ! oggmux ! filesink location="destination.ogg"
                      12M (13.6% of original) -- excellent compression (better than mp3) at a reasonable speed
                      real 0m24.206s
              ENCODER = ! audioconvert ! speexenc ! oggmux ! filesink location="destination.ogg"
                      9.8M (11.1% of original) -- excellent compression, but over twice as slow as ogg/vorbis for not much more gain
                      real 1m7.979s

      I haven't tried matroska as the container format to see how it affects the file size and encoding speed, but from the tests above ogg+vorbis was the clear winner (or flac if you need lossless audio).

    11. Re:Just complaining by arose · · Score: 2
      Since people keep bringing up Matroska as a well designed coded we could see what they say about Ogg:

      It's less a matter of better/worse, and more a matter of different. This is a little complex but we will try ad explain.

      and

      Will Matroska be streamable? Yes, but low bitrate streaming like streaming Vorbis, will always be better in Ogg. This is because their design is for different purposes.

      Are we to believe that they have no clue about container formats?

      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    12. Re:Just complaining by Hurricane78 · · Score: 1

      Man, why do people think so non-generalized?

      What is the superset of OGG, XML, EBML, and every data structure (including values, lists, tables, tensors, trees, etc) ever created?
      The GRAPH.

      That’s why I’m working on a general user and programming interface that combines ALL data into one graph. File systems, files, file formats (including XML and EBML), SQL, active data in memory, hardware enumeration, everything.
      I thought that was the obvious conclusion that everybody would arrive at, eventually.

      And I am very specific of making the separation from the next step of generalization: Functions (algorithms).
      That way it stays just data, and will never become more.

      --
      Any sufficiently advanced intelligence is indistinguishable from stupidity.
    13. Re:Just complaining by Rockoon · · Score: 1

      He's right. unless he's wrong.

      Thats not what he said. He said Hes right, unless hes lying.

      Is it your contention that TFA is lying?

      --
      "His name was James Damore."
    14. Re:Just complaining by Late+Adopter · · Score: 1

      He's saying the conclusions follow logically from the data presented. That's worth something. If the data's bad, the conclusion's bad, GIGO.

      The bit on timestamps just means "even if most of the data is bad, this component of the data is sufficient to support an important subset of the conclusions".

      GP is humorous to parse, but it eventually *does* make sense.

    15. Re:Just complaining by jbezorg · · Score: 1

      Thats not what he said. He said Hes right, unless hes lying.

      Is it your contention that TFA is lying?

      My contention is that by including the disclaimers and specifically pointing out that TFA could by lying, and making this point twice to emphasizing it, he's asking me as the reader to seriously to consider that possibility and in the end, he's done as much to remove his support of TFA as he did to support it.

      --
      I've lost all my marbles except one & It's fun to test angular & centripetal acceleration in my skull
    16. Re:Just complaining by TheRaven64 · · Score: 1

      Okay, I admit I am not very savvy on this technicalities of this discussion.

      You didn't have to state that, we can infer it from the rest of your comment.

      And he's right. Unless the technical details of Ogg are not as he represented them

      He's right. unless he's wrong.

      No, the inferences he draws from the data are correct. The data he presents may be wrong, given that I haven't read the Ogg spec (well, not since it was a draft), but given that it is easily verifiable I presume that his presentation of the facts is accurate. The only thing open to discussion then is his interpretation of the facts and, if the facts are as he claims, then I support his interpretation.

      I've not looked at Ogg in detail, but I have written multimedia apps and his complaints are right on the mark.

      I've not looked into the detail but the complaints about them are correct ( how do you know? You admit that he could be wrong and have not verified the data )

      I have not verified the format does what he says it does, but if it does (which is trivial to verify and trivial for someone from Xiph to refute) then I agree with his interpretation of the data.

      Even if most of them are untrue, the point about timestamps would have been a show stopper.

      Even if he's lied his ass off, I'll still believe him on this point.

      If he is misinformed about everything else, he'd still be right just on the timestamps issue. Given that he quoted the Ogg header format and it didn't contain a timestamp, it seems unlikely that he is wrong about this. A format without per-stream timestamps in the container structure is an embarrassment.

      Just seems to me you started typing before you decided to believe the article yourself Raven.

      No, I read the article, and agreed with every inference based on the evidence presented. I did not independently verify the source material, but I presume that others will. He is not guilty of faulty logic, although he might be guilty of outright falsehood. If he lied about the details of the Ogg format, then his conclusions are invalid (ex falso quodlibet), but if the facts are as he claims them, then his interpretation of them is spot on.

      If you think that the facts that he is presenting are wrong, then please feel free to cite the relevant part in the Ogg spec that contradicts his claims. Otherwise, either agree with his interpretations or post a convincing refutation.

      --
      I am TheRaven on Soylent News
    17. Re:Just complaining by jbezorg · · Score: 1

      You didn't have to state that, we can infer it from the rest of your comment.

      Are you kidding? There is no way in hell I'm leaving to chance that someone will infer from a post genuine ignorance on a subject and a desire to actually learn something from a troll on slashdot.

      Thanks for the schoolin'

      --
      I've lost all my marbles except one & It's fun to test angular & centripetal acceleration in my skull
    18. Re:Just complaining by Anonymous Coward · · Score: 0

      "Ogg is like XML. It defines just enough to let you define something useful, but it's not useful by itself."

      This is a good summary actually. Ogg wasn't supposed to be a monolithic 'eveything that isn't in the codec goes in the container layer' design. Metadata was supposed to be a different layer (Skeleton). The container was only supposed to be a container. That's held up as an example of 'horribly flawed'. Why? All the data is there. It's no harder to get to. It means Ogg is not tied to one metadata system (the 'built in' one) ...and if Ogg is like XML, Matroska actually *is* XML ;-)

    19. Re:Just complaining by jbezorg · · Score: 0, Flamebait

      My contention is this:

      If he lied about the details of the Ogg format, then his conclusions are invalid (ex falso quodlibet).

      The point you make here is obvious but from an apparent position of authority you emphasized this and bring it to my attention. From that, I inferred that you may have some doubts about the details presented.

      I have not verified the format does what he says it does

      In actuality, you don't know and haven't bothered.

      Sincerely, Thanks for providing the logic analysis but I think it would be foolish of me to draw a conclusion from only half the answer.

      --
      I've lost all my marbles except one & It's fun to test angular & centripetal acceleration in my skull
    20. Re:Just complaining by evilviper · · Score: 2, Interesting

      Are we to believe that they have no clue about container formats?

      YES! From the same link:
      Ogg was designed to stream audio, specifically Vorbis. Ogg was not designed to handle video, or any other type of audio.

      Ogg is so tightly coupled to Vorbis, and has only the minimal features required for streaming. It's shortcomings become clear when you try to do ANYTHING ELSE. Even just playing a local file, you find seeking horrible, no way to do a accurate progress-bar, etc, etc.

      And when you try to stick anything else in an Ogg, forget it... Even Theora. It's a mess. Wonder why it took so many years after VP3 went open source before Theora-1.0 was released? A big chunk of time was spent squeezing it into an Ogg. Meanwhile, every other container had no problem holding VP3 video.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    21. Re:Just complaining by Anonymous Coward · · Score: 0

      Wow, point set and match. Kudos to you AC!

    22. Re:Just complaining by jbezorg · · Score: 1

      I pity the AC who needs blatantly obvious caveats like "If he lied about the details of the Ogg format, then his conclusions are invalid" pointed out to them.

      --
      I've lost all my marbles except one & It's fun to test angular & centripetal acceleration in my skull
    23. Re:Just complaining by jbezorg · · Score: 1

      So you needed the caveat "Hes right, unless hes lying" brought to your attention? You somehow could not figure this out all by yourself?

      --
      I've lost all my marbles except one & It's fun to test angular & centripetal acceleration in my skull
    24. Re:Just complaining by arose · · Score: 1

      Only the first paragraph is an actual citation, as it stands it looks like your attributing the rant that follows to the link. Either way I fail to see how the difficulty of initially implementing Ogg Theora is related to continuous use of the existing implementation. Ogg Skeleton is in the works to fix the seeking problems and Matroska is designed for streaming.

      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    25. Re:Just complaining by Anonymous Coward · · Score: 0

      Oh, sorry, I'd forgotten it was impossible to make a bad analysis without lying. My God, are you done?

    26. Re:Just complaining by arose · · Score: 1
      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    27. Re:Just complaining by bar-agent · · Score: 1

      What is the superset of OGG, XML, EBML, and every data structure (including values, lists, tables, tensors, trees, etc) ever created?
      The GRAPH. That's why I'm working on a general user and programming interface that combines ALL data into one graph.

      Let me google that for you: http://lmgtfy.com/?q=graph+encoding

      --
      i'd hit it so hard, if you pulled me out you'd be the king of britain [bash.org]
    28. Re:Just complaining by jbezorg · · Score: 1

      Remember AC, it was you who pointed out that the obvious needed to be pointed out.

      --
      I've lost all my marbles except one & It's fun to test angular & centripetal acceleration in my skull
    29. Re:Just complaining by hazydave · · Score: 1

      Ogg is the container, not the CODEC. Ogg is terribly flawed, and yet, the Xiph folks keep using it. There are far superior containers, particularly Matroska, that are not patented, are fully open, available under LGPL or BDS licensed, and implemented on dramatically more devices than Ogg. Matroska compares very favorable to the capabilities of the MP4 container, it's a big advance over some of the older stuff, some of which (like the MPEG-2 transport stream) is still far superior to the Ogg container.

      You can make weak arguments about not using some of these other containers, though most are so old, the chances of patents still being valid are small. Good arguments for not using AVI, Quicktime, or MP4 aside from patent issues would be things like "large organizations control additions to the specs". But Matroska is so much better than Ogg, it's growing, lots of people improving it and working on it, it's just as open source as Ogg, etc. It's bordering on criminal that Xiph hasn't simply tossed Ogg away in favor of Matroska.

      This is one of those signs of "religion" over technology that makes so many of these open source efforts downright frustrating to folks like myself. I've worked in computer video pretty much since it existed (the Amiga 2000... my name's on the motherboard), I completely understand the issues. And yet, we get all these little folks here trying to build their own islands of control or whatever, rather than really doing what's best for the FOSS community at large. This is the kind of myopia that kills startup companies, and it's one big reason why so many of these efforts are doomed to go nowhere, from the get-go.

      Conversely, you can recognize an effort that's working by the fact it's going somewhere. PNG was such a project -- it addressed a need better than it had been addressed. And so it's in every browser now. Matroska is another good example of this... there's growing support for it, on PCs, on devices. It's a good, free solution, and it's a living and open project. More open than Xiph, for that matter.

      --
      -Dave Haynie
    30. Re:Just complaining by evilviper · · Score: 1

      Either way I fail to see how the difficulty of initially implementing Ogg Theora is related to continuous use of the existing implementation.

      Willful ignorance is always the worst kind...

      Old codecs are old, obsolete. Theora is having difficulty competing for mindshare with H.264/AVC, while when the project was started, H.264/AVC didn't yet exist... And that's just one of many issues against it...

      Just a couple quick refs:

      http://thread.gmane.org/gmane.comp.video.mplayer.user/20452/focus=20505

      http://thread.gmane.org/gmane.comp.video.mplayer.user/45082/focus=45126

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    31. Re:Just complaining by arose · · Score: 1

      Lack of reading comprehension is up there as well. Ogg Theora has been done, it doesn't matter if Ogg would not make a good general purpose container when all you want to use is Vorbis and Theora.

      Theora is having difficulty competing for mindshare with H.264/AVC, while when the project was started, H.264/AVC didn't yet exist...

      If it's willful ignorance you have a problem with, then you should at least check your dates.

      Work on Theora started in 2002, work on H.264 started as early as 1998, with a first draft in 1999 and MPEG involvement since 2001. H.264 has been in the works for a long time and the patent holders had a long time to drum up support. They wanted a piece of the pie for MPEG 2 successor, so they made sure H.264 would be it.

      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    32. Re:Just complaining by evilviper · · Score: 1

      Ogg Theora has been done, it doesn't matter if Ogg would not make a good general purpose container when all you want to use is Vorbis and Theora.

      As soon as you want to do anything else with it, like seeing, inserting chapters, subtitles, etc., etc., you're utterly and completely screwed.

      And no, it's not "done". ie. there are only two code bases which support Ogg Theora, and one is quite lacking. If you want Theora support to be anything other than an unimportant niche, people are going to have to re implement it over and over. The complexity and craptasticness means it's going to be expensive, nobody is going to want to do so, and you can expect any implementations to have various deficiencies, making it all an incompatible mess. But I guess none of this matters in your imaginary world.

      Work on Theora started in 2002, work on H.264 started as early as 1998,

      In 2002, VP3.2 had already gone through the full life-cycle, it was a mature codec sold as a commercial product, and had long since become obsolete to VP4, and VP5.

      264 has been in the works for a long time and the patent holders had a long time to drum up support. They wanted a piece of the pie for MPEG 2 successor, so they made sure H.264 would be it.

      No, they wanted MPEG-4 ASP to be the successor of MPEG-2, and they failed miserably. H.264 was designed for low-bitrate applications, which is something MPEG-2 has always been horrible at. H.264 was also intended mainly for your cell phone, not broadcast. The fact that H.264 is catching on elsewhere is a surprise to all involved.

      No H.264 encoders or decoders existed in 2002, but both VP3.2 and Theora code was freely available to everyone.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  5. MKV by Rickz0rz · · Score: 1

    Just use MKV and be done with it already :/

    1. Re:MKV by RAMMS+EIN · · Score: 1

      But is MKV actually better? Just because Ogg isn't perfect doesn't mean it's the worst.

      --
      Please correct me if I got my facts wrong.
    2. Re:MKV by Jesus_666 · · Score: 1

      Well, MKV does have the larger feature set and is more widely supported. This would suggest that it's indeed better than Ogg unless its actual implementation is downright catastrophical.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    3. Re:MKV by hazydave · · Score: 1

      Yes, Matroska is dramatically better than Ogg.

      Now, some will say that Matroska wasn't designed specifically for streaming, and that's true. There are issues, like the fact there's no limit on the size of clusters, that make streaming any arbitrary Matroska file a problem. But that's not really a good argument against it... it's easy enough to tweak a Matroska writer to create more a good stream, without changing the format.

      Of course, one can also point out that Ogg was only designed for audio, it wasn't even a great audio format anyway, and that dropping video in there was a complete boondoggle.

      --
      -Dave Haynie
  6. Not a selling point by XanC · · Score: 3, Insightful

    It's not a selling point, it's a starting point. It's a sine qua non. For an application like video on the Web, nothing non-free can even enter the conversation.

    1. Re:Not a selling point by Lunix+Nutcase · · Score: 4, Insightful

      Apparently the rest of the world disagrees considering the widespread nature of flash video that has always used proprietary audio and video codecs.

    2. Re:Not a selling point by maxume · · Score: 5, Insightful

      And then over here in actuality (rather than the conversation), there is Youtube. And Netflix. And Hulu. And so on.

      --
      Nerd rage is the funniest rage.
    3. Re:Not a selling point by arose · · Score: 1

      I think it's quite clear that he was talking in terms of standardization, not in what content providers would consider using.

      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    4. Re:Not a selling point by Locke2005 · · Score: 2, Informative

      Unfortunately, it can enter the conversation. Standards should be free, open, and unencumbered to allow for rapid adoption. That doesn't mean they always are. For example, Microsoft, simply because of it's size, can drive a non-open standard into widespread adoption (this isn't always a bad thing.)

      --
      I've abandoned my search for truth; now I'm just looking for some useful delusions.
    5. Re:Not a selling point by egamma · · Score: 5, Insightful

      It's not a selling point, it's a starting point. It's a sine qua non. For an application like video on the Web, nothing non-free can even enter the conversation.

      Says who? XanC? Any format (and its software requirements) can succeed as long as the users will put up with it.

      RealPlayer did very well for many years (say 1995-2000).
      Apple Quicktime is used on many sites.
      And of course, there's Adobe Flash.
      To simply say that "nothing non-free can even enter the conversation" is ridiculous. Are your clothes free or open source? Your car? Your house? Your shampoo, your radio, your computer's processor, your keyboard?

      Companies can make excellent closed-source products. Communities can make excellent open-source products.

    6. Re:Not a selling point by sopssa · · Score: 1

      This is especially true with the battle over HTML5 Video. Technically H.264 is a lot better format than Theora, especially on web because you can stream a lot better quality on slower bitrate. This is why YouTube uses H.264 even with the HTML5 Video tag testing and why all Microsoft, Google and Apple support it. Maybe Google pulls some new great open video codec format still as they bought a company developing such, but until that H.264 will win over Theora too just on technical merits.

    7. Re:Not a selling point by maxume · · Score: 2, Insightful

      In which case the standard will be impotent (because it will be completely divorced from practice).

      --
      Nerd rage is the funniest rage.
    8. Re:Not a selling point by aflag · · Score: 2, Interesting

      However, do you disagree? Why? I hope it's not because of this world you talk about.

    9. Re:Not a selling point by drtsystems · · Score: 2, Interesting

      This argument is what will kill HTML5 and ensure a new era of the reign of flash, silverlight, etc. The choices are not h264 or theora. Its h.264 through an open html5 spec, or h264 through silverlight and flash. All major operating systems have support for h264 built in as it is (not to mention all the portable devices with hardware acceleration for it, including now many netbooks). The whole debate is stupid, firefox needs to just use the operating system's built in codecs to play h264. Problem solved.

    10. Re:Not a selling point by vadim_t · · Score: 4, Insightful

      Says who? XanC?

      Add me to that list

      Any format (and its software requirements) can succeed as long as the users will put up with it.

      It can, yes. But there's a difference between what can be done, and what should be done.

      And of course, there's Adobe Flash.

      Actually, as of recently the Flash spec is available without restrictions, and there's gnash, a GNU implementation.

      To simply say that "nothing non-free can even enter the conversation" is ridiculous. Are your clothes free or open source? Your car? Your house? Your shampoo, your radio, your computer's processor, your keyboard?

      No, but I think they should be, it'd be better if they were, and that it's a goal well worth fighting for.

      Especially since we're talking about standards here, and I don't see how something with one possible implementation can be a standard. A standard is a published spec anybody can implement. "Buy from $company" isn't a standard.

      Actually, I think you used quite horrible examples as well. Let's see:

      Clothes: the "spec" is open. Anybody can make their own pants if they wish to, and nobody is going to come ask for license money.
      Car: Also open and well documented.
      House: Built according to code
      Shampoo: has a very loose open spec
      Radio: How to receive FM signals is well documented and not restricted AFAIK
      CPU: some (though not all) are open, with complete specs and source available
      Keyboard: Either PS/2 or USB, is made to fulfill an open specification.

      Every single thing you picked as an example complies with an open standard, can be made by anybody without needing to pay for a license, and is interoperable (any car from any manufacturer works and is legal to drive, so long it complies with the relevant standards for instance)

      Companies can make excellent closed-source products. Communities can make excellent open-source products.

      It's not about the quality. It's about a principle. I reject a closed "standard" for web video on principle, no matter how well implemented.

    11. Re:Not a selling point by sopssa · · Score: 3, Insightful

      And of course, there's Adobe Flash.

      Actually, as of recently the Flash spec is available without restrictions

      But Flash still uses H.264 too. I don't see too many people, either normal web users, webmasters or those making Flash applets complaining.

      It's good you reject closed-source products by principles, I wish I would too. But the reality is, people just want the best performing tool for the job and frankly the older I get the more I think so too. I had these fundamentalist ideas in late teen years, but then I faced the real world. Now I pick the right tool for the job, be it open source or closed. I use Windows on desktop because I game and think the experience is better, while still giving me freedom to mess around with the system. I use Linux on servers because they perform a lot better and command line usage with servers is a lot better, and in that case and scriptability Windows doesn't come even close. But fundamentalism and closed mindset in the end is just stupid.

    12. Re:Not a selling point by Khyber · · Score: 1

      "This argument is what will kill HTML5 and ensure a new era of the reign of flash,"

      Not as long as one of the top hackers in the world continues to prove that Adobe is one of the biggest security threats to the web.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    13. Re:Not a selling point by drooling-dog · · Score: 3, Insightful

      Mindshare has more to do with advertising and promotion than raw technical superiority. Proprietary, patent-protected technologies tend to florish simply because companies are more willing to invest in promoting them if they'll reap all of the benefits when they sell. If anyone and her brother could legally make and sell Gucci-branded handbags, then there would be no incentive for Gucci to spend $millions on advertising and you'd likely never hear about them.

    14. Re:Not a selling point by interval1066 · · Score: 3, Insightful

      Apparently the rest of the world disagrees considering the widespread nature of flash video that has always used proprietary audio and video codecs.

      And that will be fine so long as Adobe is always around to maintain and develop Flash, and people are always willing to use it. Personally, I can't see being married to one av format simply because it works, world opinion be damned, but it is what everyone uses. Until HTML 5 gets wider adoption, perhaps. Frankly, if I were Adoba I'd be getting out of the "Chief bottle washer and Flash maintainer" business myself, I hope for their sake they've poured money into something new that they've kept the wraps on, as I would hate to have as large a percentage of my business as they have based on 15 year old technology. I'd do that then just before I trotted the new stuff out let Flash wander out into the open source pasture.

      --
      Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
    15. Re:Not a selling point by sopssa · · Score: 1

      Talk about missing his point.

    16. Re:Not a selling point by Draek · · Score: 1

      The same was said of HTML itself when Microsoft decided to 'fork' it with IE. Sure it took a long time for the dust to settle and Microsoft to accept defeat and finally implement the actual standard, but if we even took on Microsoft itself I doubt we'd fare any worse against the much smaller Google and Apple.

      Just keep patents off the official standard. Sooner or later they'll learn the idiocy of patented standards, and its best we don't have to fork it over when they do, specially given the W3C is now the only standards body with any sort of credibility whatsoever.

      --
      No problem is insoluble in all conceivable circumstances.
    17. Re:Not a selling point by david_thornley · · Score: 1

      "Buy from $company" isn't a standard. "Get a license from $company" can be, and often is. In many cases, patents are to be licensed on a RAND (Reasonable And Non-Discriminatory licensing) basis, which really isn't better than a patent troll for free software, but works very well in the commercial and proprietary world.

      As far as your car and CPU are concerned, unless they're over 20 years old they've probably got some patents that apply to some features, and so you can't just make your own legally without paying license fees. (Well, you can if the designs are old enough, but you'll find everybody else is using better stuff.)

      Nor does everybody share your principles. Patents work well with standard business models, and have the desirable effect (for established enterprises) of providing barriers to entry. Because of this, companies (who dominate the standard-setting business) are not likely to care all that much about patent-free as opposed to RAND. I don't like this any more than you do, but that's the current legal and business environment.

      As a result, you're likely to be in the uncomfortable position of rejecting openly published and widely used standards.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    18. Re:Not a selling point by Draek · · Score: 1

      But Flash still uses H.264 too. I don't see too many people, either normal web users, webmasters or those making Flash applets complaining.

      That's because Adobe is the one footing the bill for MPEG's patent licenses. If it were *them*, the actual users and webmasters, the bitchfest would be simply epic (well, mostly from webmasters, users would just torrent a pirated version from TPB or something).

      And if anything is "fundamentalist" in this discussion, is the idea that performance trumps everything else, regardless of circumstances. You'd think all those arguing for h.264 due to its performance would be using IBM mainframes to post on Slashdot instead of going the el-cheapo route and assembling a regular "PC", given how little regard they give to the patent royalties that's been announced already, and the plethora of practical concerns that raises. Or, most likely, they're just planning on using a pirated encoder and try to get away with it by being a small player.

      --
      No problem is insoluble in all conceivable circumstances.
    19. Re:Not a selling point by Anonymous Coward · · Score: 0

      That's exactly what happened with PNG. Oh wait...

    20. Re:Not a selling point by vadim_t · · Score: 3, Insightful

      But Flash still uses H.264 too. I don't see too many people, either normal web users, webmasters or those making Flash applets complaining.

      For now. Just wait until they decide to start charging for the license, then there will be plenty to complain about, but it'll be hard to avoid paying up, since it will be so widely used.

      It's good you reject closed-source products by principles, I wish I would too. But the reality is, people just want the best performing tool for the job and frankly the older I get the more I think so too.

      People are short sighted. I think long term.

      I had these fundamentalist ideas in late teen years, but then I faced the real world. Now I pick the right tool for the job, be it open source or closed.

      I had these ideas in late teen years, but then I faced the real world. I worked with proprietary stuff enough to figure out that indeed I don't like it, so I got a job where I work exclusively with Open Source and release my code under the GPL. It's really awesome, you should try it.

      I use Windows on desktop because I game and think the experience is better, while still giving me freedom to mess around with the system.

      I use Linux on the desktop because that's what works best for me -- though for me "works" nearly implies "comes with source". Even if it works now, some day it'll do something I don't want it to, or not do something I want it to. That's why I require the source upfront, then I don't have that issue.

      I use Linux on servers because they perform a lot better and command line usage with servers is a lot better, and in that case and scriptability Windows doesn't come even close.

      I use Linux on servers for the same reason.

      But fundamentalism and closed mindset in the end is just stupid.

      It's not fundamentalism, it's long term thinking. I don't like exchanging short term convenience for lock-in, licensing payments and major limitations later.

      And as the time passes, OSS software improves so things keep getting better. Maybe you should give it another try.

    21. Re:Not a selling point by Anonymous Coward · · Score: 0

      You mix up two things: Implementations and general standards. Cars aren't "open": It's clear how a car "works", with 4 wheels etc. but most manufacturers lock out unlicensed mechanics by closing many specs (how to reset maintenance intervals etc.). The principal of a "car" is open, though. Radios: Only the technical part of broadcasting is "open source", you aren't allowed to "copy" a certain radio, you have to start your implementation from scratch. CPUs: Specs (as far as instruction set is concerned) are open, _Modern_ Open Source CPUs w/o license fees are, as far as I know, only Sun's UltraSparc T1/T2...
      CPUs in x86, for example, are not open standard! You have to pay license fees to Intel (and AMD if using x86_64!) Only the general Idea of a "CPU" is free! Also, USB-Keyboards can't be produced by "anybody" without license fees: You have to pay the USB-IF to obtain a vendor ID, and if you wish to use the USB-Logo, you have to pay license fees for this.
      As far as your argumentation goes, even h264 would be this sort of an "open standard", as the general idea of compressing video is free and everybody could create their own method of compression. Also, the standards after which H264 compresses video are known, anybody can create an implementation, but license fees are required after the current initial period of grace, especially for commercial implementations.

      I would prefer the open (lpgl) standard Matroska/mkv to ogm, though... seems to have a lot less shortcomings and is quite widespread.

    22. Re:Not a selling point by Khyber · · Score: 1

      Talk about missing mine. One of the top hackers has pretty much gone public and said "I can only win these competitions thanks to Adobe being the most insecure piece of shit on the planet."

      With that sort of PR, Adobe's future is not looking that bright.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    23. Re:Not a selling point by arose · · Score: 1

      The choices are not h264 or theora. Its h.264 through an open html5 spec, or h264 through silverlight and flash.

      If there is no choice (H.264 not being open in the sense that other web standards are), then it doesn't really matter who wins.

      The whole debate is stupid, firefox needs to just use the operating system's built in codecs to play h264. Problem solved.

      Because relying on the user to have the right codec worked so nice in the past Flash video never got off the ground... Back in reality making a standard that only benefits big players is pointless, Google will make Youtube work no matter what happens with HTML5, John no-budged site will not be able to build a H.264 content library without worrying about MPEG LA, in 2016 if not now.

      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    24. Re:Not a selling point by jedidiah · · Score: 3, Insightful

      The rest of the world has always constantly complained about how buggy and slow Flash is. Even the HONEST "boosters" have freely admit to this problem. This is a problem that exists primarily because of the very proprietary nature of Flash. Although this does demonstrate how patents alone aren't such a barrier. EVERYONE has better video implementations than Adobe. This even includes multiple Linux video players.

      There are $200 general purpose PCs that make great little HTPC machines except for one little detail: Adobe's a sandbagger.

      This comes from letting crass corporations have the keys to the kingdom.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    25. Re:Not a selling point by Anonymous Coward · · Score: 0

      Lol what car is open and well documented? Most cars computers nowadays are designed to be tamper proof.

      Why should everything be an open standard, where should my salary as a software developer come from? While a lot of developers are paid for OSS work, most of us need to develop commercial software to I dunno, FEED OUR FAMILIES?

      What is it that you do for a living?

    26. Re:Not a selling point by westlake · · Score: 1

      It's not a selling point, it's a starting point. It's a sine qua non. For an application like video on the Web, nothing non-free can even enter the conversation.

      This takes the geek out of the conversation.

      Because he can't stop the entrepreneur from introducing new applications and services that will have mass-market appeal and success.

      He can't stop tech from taking gaining a strangle hold outside the web.

      For example:

      The number of AVC/H.264 licensees is rapidly approaching 800.

    27. Re:Not a selling point by Korin43 · · Score: 2, Interesting

      As opposed to a standard that you can't standardize on (because only Google can afford the licensing fees). They're pushing back when the fees start, but that doesn't change the fact that small businesses and individual people would have to be insane to start a website using H.264.

    28. Re:Not a selling point by VGPowerlord · · Score: 4, Insightful

      PNG gained support for three reasons.

      1. It's non-lossy, unlike JPG.
      2. It's does 24-bit color with 8-bit alpha transparency, unlike GIF which does 8-bit color with indexed transparency (one color is replaced with transparent).
      3. Unisys patent trolled companies/people who made image editors that could output GIF.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    29. Re:Not a selling point by agrif · · Score: 1

      It's not a selling point, it's a starting point. It's a sine qua non. For an application like video on the Web, nothing non-free can even enter the conversation.

      Unfortunately, it's quickly becoming nothing non-free should even enter the conversation, but they do. I don't see how people can accept an open internet with non-free formats.

    30. Re:Not a selling point by exomondo · · Score: 1

      It's not about the quality. It's about a principle. I reject a closed "standard" for web video on principle, no matter how well implemented.

      This is the point i disagree with you on, for most people it IS about the quality, this sort of product is a means to an end. Most people don't care about whether it's closed or open source, it's not a moral choice like for example child labour. It's about getting the job done and most people would rather pay for it if it came down to it than choose an inferior free solution.

    31. Re:Not a selling point by UnknownSoldier · · Score: 1

      > Are your clothes free or open source? Your car? Your house? Your shampoo, your radio, your computer's processor, your keyboard?

      Not today, but at some point in the future they will be.

      There is nothing wrong in pursuing an ideology. In days of yore it was called 'vision', i.e. looking at the big picture of where things could/should go.

    32. Re:Not a selling point by Trailer+Trash · · Score: 1

      Right, and Windows accounts for 90% of desktop computers. Does that make it "good"?

    33. Re:Not a selling point by Anonymous Coward · · Score: 0

      Doesn't seem to be stopping Microsoft's stronghold on the desktop OS and Office Suite market.

    34. Re:Not a selling point by Yvan256 · · Score: 1

      In the past, the whole industry didn't settle on a single CODEC. It was Quicktime vs Windows Media vs RealNetworks vs all the others.

      This is the first time in history where hardware manufacturers, video producers, Microsoft and Apple are all using the same CODEC.

      The OS supports H.264, Firefox and Opera should stop holding the web back and help Microsoft, Apple and Google steal video playback from Adobe. Three monopolies is better than one.

    35. Re:Not a selling point by X0563511 · · Score: 1

      Given that Flash was really Macromedia's baby, Adobe themselves don't really have anything to worry about. Adobe has it's whole media creation realm, which as far as I remember has always been their thing.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    36. Re:Not a selling point by ShieldW0lf · · Score: 1

      To simply say that "nothing non-free can even enter the conversation" is ridiculous. Are your clothes free or open source? Your car? Your house? Your shampoo, your radio, your computer's processor, your keyboard?

      Would you invest in developing something that would cost you too much to maintain if it became successful? If you need to scale your application up to thousands of nodes to maintain acceptable service levels, are you still going to be able to afford the licensing fees?

      If the answer is no, I wouldn't be able to afford to scale it up because of the licensing fees, even though it's technically feasible, then nothing non-free can even enter the conversation. Even if it was possible to make it work, chances are pretty good that someone else who isn't hampered by the necessity to pay those fees will be able to deliver more for less and drive you out of business.

      --
      -1 Uncomfortable Truth
    37. Re:Not a selling point by maxume · · Score: 1

      I was making an observation, not a judgment.

      --
      Nerd rage is the funniest rage.
    38. Re:Not a selling point by hairyfeet · · Score: 4, Insightful

      I would say it is more because they work than any adverts. Take H264 as an example. Even on the lowest cost machines I build there is hardware acceleration out of the box for H26x, WMV 7-9, DivX, and MPEG 2 (and usually 4). This makes those formats much nicer to use, their playback much smoother, and the overall hardware more responsive because the CPU isn't bogged down with playback. In short it works.

      The average Joe really doesn't give a shit about "free as in freedom" all he gives a shit about is does it work and is it easy. That is why MP3 stomped Vorbis and FLAC, because it was easy (most of the files they downloaded/ripped were MP3 and every device supported it) and it worked (MP3 playback gave longer battery life over WMV, can't say about Vorbis as I've honestly never come across a Vorbis player) so they were happy little campers. As for website builders, if site A has H264 and gives me a great experience on my netbook/cell phone/etc and your site uses Theora and runs like shit? Well I'm not likely to return to your site now, am I?

      The problem with the OGG formats is the classic "chicken or the egg" problem. Nearly no support in hardware, doesn't work as well as established formats (thanks to hardware acceleration) and the average Joe really doesn't care whether a format has patents up the wazoo or not as long as it works for him, which considering like the other 90% he is probably using Windows or a cell phone/PMP with H264 acceleration it does. Sadly while I hoped that Theora might be the fabled "flash killer" I'm predicting it will be just like Vorbis, a niche format that almost nobody ever uses. Everywhere I go I see "H264 support" on hardware, I don't think there even IS a single device with hardware Theora support, is there? OGG being "free as in freedom" really isn't gonna matter much if nobody supports it, and I haven't seen hardware manufacturers rushing to add it to their bullet point lists.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    39. Re:Not a selling point by Anonymous Coward · · Score: 0

      But there's a difference between what can be done, and what should be done.

      Ooops, there's that credibility killing word "should".

      The word "should" should be banned.

    40. Re:Not a selling point by exomondo · · Score: 1

      But fundamentalism and closed mindset in the end is just stupid.

      I absolutely agree, a truly open mindset is of the co-existence of closed and open source software as well as free and non-free software (both in freedom and free-beer terms). There is no reason we can't have all of those solutions together.

    41. Re:Not a selling point by arose · · Score: 1

      The OS supports H.264, Firefox and Opera should stop holding the web back and help Microsoft, Apple and Google steal video playback from Adobe.

      The OS? There is no such thing, the only common operating systems natively supporting H.264 are Windows 7 and whichever cat it was introduced in OS X. That doesn't help Mozilla, who are commited to cross platform development nor Opera, who make money off of embedded browsers. Maybe Apple should stop trying to cash in on their lone patent in the MPEG LA?

      Three monopolies is better than one.

      MPEG LA isn't three anything.

      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    42. Re:Not a selling point by Anonymous Coward · · Score: 0

      Mindshare is what makes things popular regardless of technical merit.

    43. Re:Not a selling point by Anonymous Coward · · Score: 0

      me thinks clothes are open source.

    44. Re:Not a selling point by vadim_t · · Score: 1

      Standards should be open. Companies then can choose to make their closed implementations, and that is fine, but an open implementation must be possible as well.

      It is not necessary that every web browser uses an OSS library for decoding video. It is however necessary that the spec for the video is open and unrestricted, so that anybody can implement without paying for a license. Then if somebody wants to charge money for their implementation, they can, and if they want to release it for everybody's benefit, they also can.

    45. Re:Not a selling point by mabhatter654 · · Score: 1

      Exactly, why is there all the hate AGAINST having a patent free method of encoding audio and video that EVERYBODY can share? We're long past the time these things should be FREE just like HTML is. In the next 18 months nearly every codex becomes not-free as in dollars... h.264 even "reserves" the right to charge VIEWERS for watching each time! In the words of famous Admiral Ackbar "it's a Trap!".

      There's a big setup going on to have end-to-end DRM and end-to-end ownership of the content pipeline. Companies like Apple don't want Ogg simply because they charge a premium and the license fee is no "big deal", they got there first and got the best deal, why help anybody else. Even Microsoft is pushing it's own agenda from hard drive formats, to SD cards, to media codex... You won't be able to "publish" a picture or video from your own camera without registering with somebody to take care of the royalties for recording, editing, uploading, and downloading. In the next 24 months the "internet" is going to become very expensive for anything except plain HTML in the "western" world... the rest (Asia) will be laughing their asses off!

    46. Re:Not a selling point by Trogre · · Score: 1

      Clothes: the "spec" is open. Anybody can make their own pants if they wish to, and nobody is going to come ask for license money.

      Yes, but try doing that with shoes.

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    47. Re:Not a selling point by mabhatter654 · · Score: 1

      but why all the Ogg hate? Why can't a browser support two more simple little formats? What's so hard about that? We have 7 versions of HTML, multiple versions of AVI, JPEG, MPEG, XVID, DVIX,Flash, Real, WMP etc. OGG is positively SIMPLE compared to the rest of what an average PC user has to manage. Sure, it's a bit slow, but it's FREE... why all the HATE-ON-FREE that simple people want?

    48. Re:Not a selling point by mabhatter654 · · Score: 1

      But I can FREELY MAKE clothes that I want to. I can FREELY MAKE an AM/FM radio. I can FREELY BUILD whatever house I want as long as I follow the laws, etc, etc.

      The whole issue for OGG is that the FREELY option is being specifically excluded on a large scale. After all the lawsuits, all the various IP infractions nobody wants people to PRODUCE content FREELY. If the gatekeepers can make enough selling items like computers, electricity, and clothes, they'll take away the RIGHT to do things yourself unless you pay them...

      Imagine having to pay "rent" to sew your own clothes, to have permission to change a broken part on your car, to have to pay royalty to LISTEN to "free" radio... The current Supreme Court Justices have no problem blasting "property rights" back to the age of Charles Dickens where a rich man could injure and maim in the streets... then charge the family to clean the blood off the wheels.

    49. Re:Not a selling point by exomondo · · Score: 1

      It is however necessary that the spec for the video is open and unrestricted, so that anybody can implement without paying for a license.

      It's not necessary, particularly for defacto standards, as we have seen in the past many times. I certainly agree it's nice to have and most definitely preferable (to those who care at least), but in many cases it's not about free (as in beer) since the plugins are almost always free (as in beer) whether the standard is open or closed anyway and the vast majority of end users don't care about free (as in freedom). Which is why the end-user doesn't care, if the standard is closed and the product isn't adequate then you get exactly the situation we have now with flash. The standard is changing and to try to prevent this adobe opened the standard. The world keeps turning, the different types of software co-exist, changes are dictated by the people...everything is as it should be.

    50. Re:Not a selling point by rduke15 · · Score: 1

      [...] Why can't a browser support two more simple little formats? What's so hard about that?

      You can find answers to these questions in the article linked in the summary

      [...] OGG is positively SIMPLE compared to the rest [...]

      the author of that article disagrees with your view, and explains why.

    51. Re:Not a selling point by interval1066 · · Score: 1

      You mention Macromedia today people go "Huh"? You mention Adobe, people go "Oh yeah, Flash." You tell me who's got the brand.

      --
      Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
    52. Re:Not a selling point by Okonomiyaki · · Score: 1

      Thanks for summing that up. But you forgot that those reasons are not evenly weighted. Let me help you:

      1. 5%
      2. 90%
      3. 0%
      4. It often creates smaller files than the alternatives - 5%.

    53. Re:Not a selling point by myowntrueself · · Score: 1

      "This argument is what will kill HTML5 and ensure a new era of the reign of flash,"

      Not as long as one of the top hackers in the world continues to prove that Adobe is one of the biggest security threats to the web.

      You are of course referring to Steve Jobs?

      --
      In the free world the media isn't government run; the government is media run.
    54. Re:Not a selling point by walshy007 · · Score: 1

      Actually, as of recently the Flash spec is available without restrictions, and there's gnash, a GNU implementation.

      If you've read anything about gnash development, the stuff adobe has released as specs is useless, and gnash had already implemented the stuff that was in the docs they released anyway

      crappy docs that don't cover everything to the point a completely compatible implementation can be made don't count. Good that they are at least half trying though.

    55. Re:Not a selling point by Anonymous Coward · · Score: 0

      This is a problem that exists primarily because of the very proprietary nature of Flash.

      Wait, so proprietary = slow?

      I guess you should let *OpenOffice know.

      * There are so many free software packages out there that could fit here.

    56. Re:Not a selling point by horza · · Score: 2, Interesting

      "That is why MP3 stomped Vorbis and FLAC, because it was easy"

      Because it was first, and gained momentum. At the end of the day, MP3 gained popularity because of pirates and they aren't exactly known for caring about patents. Those that were ripping from their personal collection often chose FLAC or Vorbis. A codec is just a codec, there is nothing more 'easy' about any one of them.

      "can't say about Vorbis as I've honestly never come across a Vorbis player"

      Any Samsung player, but then if Vorbis became popular it would only take a firmware update for every player to support it.

      "The average Joe really doesn't give a shit about "free as in freedom" all he gives a shit about is does it work and is it easy."

      I'm sorry, why do I care about average Joe? If he is prepared to fork out hundreds for XP, then again for Vista, then again for Win7, etc, why would I care if he forks out for yet another bunch of proprietary rubbish? However, on the distribution side things are different. An Internet 'video tax' is unacceptable.

      Phillip.

    57. Re:Not a selling point by Risen888 · · Score: 4, Insightful

      MP3 playback gave longer battery life over WMV, can't say about Vorbis as I've honestly never come across a Vorbis player...

      The problem with the OGG formats is the classic "chicken or the egg" problem. Nearly no support in hardware...

      I don't think there even IS a single device with hardware Theora support, is there? OGG being "free as in freedom" really isn't gonna matter much if nobody supports it, and I haven't seen hardware manufacturers rushing to add it to their bullet point lists.

      You lose all credibility with nonsense like this. My Sansa Fuze plays ogg (flac too, but anyone who puts flac files on a 4gb flash device is taking it a little far). My dear departed iAudio X5 played ogg and flac. A fucking shitload of audio players play ogg. Go ahead, ask me why.

      "Why, Risen?"

      I'll tell you why. Because it's patent-free, unencumbered, and an easy bulletlist item to put on a device. No, maybe they "don't give a shit about freedom," but they do give a shit about easy.

      --
      Hey, I finally got my first freak! Took you long enough!
    58. Re:Not a selling point by jedidiah · · Score: 1

      proprietary -> monopoly.

      monopoly -> no need to adapt or improve.

      Despite your attempt to be cute. mplayer still takes advantage of h264 acceleration on Linux.

      This is the difference between a movie and a slide show.

      Open Office is no worse than any of the apps it tries to mimic. OTOH, open formats mean that anyone make or use something that doesn't try to mimic the bloated monopoly product.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    59. Re:Not a selling point by mabhatter654 · · Score: 2, Insightful

      but OGG is here, OGG is now, and OGG is part of the spec.. until a bunch of whiners decided they didn't want FREE competition. Ogg may not be great, but it's "good enough". There are many "standards" web browsers support that haven't been used on modern pages for ages.

      The article completely misses the point that Ogg would be just fine for the little snips from my iPod Nano, or from my little hand recorder, or for my SCA how-to videos. The day is coming when people will have to PAY to host all these popular video and audio formats on their own sites. With the new IP rules coming ISPs will be forced to lock out anybody that doesn't pay first.. there's no "fair use" for patents. Meaning you will be forced to pay a large fee, or host ALL your material thru Apple or Google (and force your visitors to watch THEIR ads) who will have a choke-hold on everything interesting on the Internet.

    60. Re:Not a selling point by Anonymous Coward · · Score: 0

      Thanks for summing that up. But you forgot that those reasons are not evenly weighted. Let me help you:

      1. 5% 2. 90% 3. 0% 4. It often creates smaller files than the alternatives - 5%.

      Uh...you must not remember the whole hoopla about patents. It's actually more like:

      1. 0.000001%
      2. 0.009999%
      3. 99.99%
      4. Exactly equal to 0% (almost nobody cares about jpg lossiness (see 1), and it makes way smaller files than png)

    61. Re:Not a selling point by B4light · · Score: 1

      Eating, breathing Macromedia.
      Think you're a Flash encyclopedia?

    62. Re:Not a selling point by Anonymous Coward · · Score: 0

      as long as I follow the laws

      You can also freely make a product that supports patented formats, as long as you follow the laws which could mean paying a licensing fee.

    63. Re:Not a selling point by timmarhy · · Score: 1

      it's because we have 7 different format for everything already that there is hate for yet another format which adds nothing except someone elses ideology.

      --
      If you mod me down, I will become more powerful than you can imagine....
    64. Re:Not a selling point by jesset77 · · Score: 1

      TFA is slashdotted, so those who wish to read it can see Google's cache:

      http://209.85.229.132/search?q=cache:http://hardwarebug.org/2010/03/03/ogg-objections/&hl=en&strip=1

      Thank you Slashdot user alsaan for pointing this out farther down the comment stream.

      For those who don't like to read the original, here is my inline summary combined with my opines on each point from the article:

      == List of points addressed in article:

      * "'open source' does not guarantee 'better'": While this is true from a technical standpoint, I believe it is important to keep ones destiny in ones own hands. In the (closely related) Theora vs h264 discussion, It is inadvisable to subscribe to a format monoculture under the legal control of a group with no observable vested interest aside from growing the userbase of people they will later gouge with fees. I am to understand that any dangers present in the transient patents pertaining to Theora and Vorbis have been legally neutralized. I do not know if this is true for the ogg container itself, more research is recommended.

      * Generality: TFA criticizes OGG for ostensibly being able to handle any video or audio codec, while only in practice being able to easily handle Theora and Vorbis. A> I don't think anyone wants to use OGG to handle any other codecs, and B> TFA goes on to praise Matroska as a pan-galactic container format. I agree. To this end, does anyone know if Matroska is patent encumbered itself? Could it carry Theora/Vorbis payloads? Could this be a superior replacement or even alternative to popular support of OGG only in HTML 5 implementations?

      * Overhead: OGG introduces an average of 1% bloat to your files. When one uses workarounds to reduce codec latency in realtime applications, this can climb to 7%. If only plastic packaging for consumer electronics were as unobtrusive as a 7% filesize increase.

      * Latency: TFA bundles all of it's latency concerns into the fact that getting acceptable latency control drives overhead up to 7% of filesize. TFA then commences to soil itself over this measurement.

      * Random Access: TFA states OGG is a bear to seek through. It doesn't provide any direct measurements or observations to quantify this point however, so unless someone in the crowd wants to test this (I'm too lazy xD), I'll consider this point up in the air.

      * Timestamps/AV sync: TFA links to a whole nother article to complain about this one, which I can't access since the site is down. Back to the crowd: has anyone noticed ogg-related AV sync problems? yes/no? I haven't played enough ogg myself to know. :

      * Complexity: OGG is apparently a bear to write encoders and decoders for. While not a customer-facing problem, devs are people too, so I feel your pain. But I think devs prefer freedom to create an encoder or decoder over convenience to get cornholed for creating one six years down the road.

      TFA closes on the same point which I've actually been itching to suggest to the author since I began reading it:

      * "If all the standard formats are indeed covered by patents, the only proper solution is to design a new, good format which is not, this time hopefully avoiding the old mistakes."

      I agree wholeheartedly, and that's the beauty of open standards. If you don't like this format, why can you not create or advocate your own alternative? Is Matroska patented? (I've never heard such myself..) If it is, can author not hobble together his own patent-skirting alternative? People would rally behind it. If Matroska is free from patent encumbering, can we load it with Theora/Vorbis? Again, people are not championing the OGG container, simply trying to avoid h264's patents or anything similar. We'll take whatever format of roughly comparable properties comes our way. :P

      --
      People willing to trade their freedom of expression for temporary entertainment deserve neither and will lose both.
    65. Re:Not a selling point by Anonymous Coward · · Score: 0

      What spec is ogg part of, exactly?

      And for the here and now, my nvidia card decodes h.264 in hardware, here and now. Right here and now, I can play 1080p h.264 videos with very minimal CPU usage. My friend's little 1.6 GHz Atom-based system can do it too, with nvidia's Ion chipset. OGG would completely choke that system. AMD/ATI cards also have this level of hardware support, as far as I'm aware.

      And people won't have to pay to host h.264 videos. The software they use to encode and decode h.264 will have to pay royalties to use that patented technology. Apple and Microsoft already do this for their users (at least for decoding). If you buy video editing software, the cost of the patents will be included in that.

      I'm not saying that patents don't suck, and I'm not saying that I like patent-encumbered software. You just seem a little misinformed so I thought I'd point out a few things. I wish it could all be free, but most users won't care as long as their videos play.

      As for Linux and other free software... not a problem for me, I live in a county where software patents don't exist :)

    66. Re:Not a selling point by hairyfeet · · Score: 0

      Thanks for actually helping to make my "chiken and egg" point for me. I hadn't noticed a single one of those. Why Hairyfeet? Because my music collection, going back to the mid 90s, is what format? why it's MP3. I fix an average of 3 to 4 PCs a day, depending on what is wrong with them, and I am often asked to back up their my docs folder, where there music resides. Guess what formats I have actually never come across in the wild? Why that would be FLAC and Vorbis. I would say the split is about 80-20 in favor of MP3, with the rest WMA.

      You see, THIS right here, what I'm about to hang a lampshade on, is what FLOSSies never seem to get. Ready for the revelation? Here goes...The world is NOTHING like you. Nothing at all. The world at large is as different from you as can be, hell you might as well be Martians. I work 5, sometimes 6 days a week with average Joes. Just good old honest folks that use their PC to listen to music/rip CDs, watch Youtube, work, and occasionally game. And you know what? I bet I could ask ever single person that walks through my door for the next year about Vorbis and FLAC and not a single one, not one at all, would know what the hell I'm talking about.

      This is why Linux can be "free as in beer and freedom" and still be so low as to be below the margin of error. It is because Joe don't care. He don't do CLI, he don't read man pages, he don't do IT, he don't do research. And like it or not THEY and not you, are setting the course. And guess what format all those players you mention have in common? The ONE format that I don't care if it is an Apple or an itsabatsabuchi it will play? MP3. JUST LIKE the fact that nearly every single device coming down the pike supports H264. But you don't believe me? Step right up and take the Hairyfeet challenge.

      Go into walmart, look at their devices, show me Vorbis and Theora support. You may find one el cheapo that plays Vorbis, you won't find a single one that plays Theora. And if the users stick with MP3, which is what nearly every song he has ever downloaded and/or ripped is in? It will ALL "just work" I don't care what the model is. And THAT is why Theora will be just like FLAC and Vorbis, a niche product supported by very little, while everyone from Youtube on down supports H264. Sorry Chuck, welcome to reality where the corps decide and the masses buy, and software freedom doesn't even enter their minds.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    67. Re:Not a selling point by Waccoon · · Score: 1

      Where is the open source response to Flash? Where is the browser plugin for Media Player Classic? It would at least be a starting point.

      Applauding GIMP all these years hasn't achieved much.

    68. Re:Not a selling point by Waccoon · · Score: 1

      4. Firefox supported it. IE eventually caved in.

    69. Re:Not a selling point by Anonymous Coward · · Score: 1, Insightful

      "That is why MP3 stomped Vorbis and FLAC"

      No. MP3 stomped vorbis because it came first and had inertia. It stomped FLAC (Not that they are direct competitors), for the same reason, and due to the much smaller file size, which was important when portable players had 64MB of storage. The primary reason MP3 succeeded was that it was first, and therefore had the majority of the market. The reason it "just worked" is because it had the majority of the market and devices targeted it.

    70. Re:Not a selling point by Anonymous Coward · · Score: 0

      MP3 "won" because it came before all of the other formats. If you were pirating music online, you were doing it using MP3.

    71. Re:Not a selling point by exomondo · · Score: 1

      But I can FREELY MAKE clothes that I want to. I can FREELY MAKE an AM/FM radio. I can FREELY BUILD whatever house I want as long as I follow the laws, etc, etc.

      The whole issue for OGG is that the FREELY option is being specifically excluded on a large scale.

      I think you've missed the point there. Yes you can freely make clothes, and an am/fm radio, and you know what? You can also freely create a video container format!

      You can't freely make a Nike t-shirt or a Sony radio though, that's counterfeiting.

    72. Re:Not a selling point by Anonymous Coward · · Score: 0

      No, actually you're the one missing the point. You can't just will cloth, transistors and building materials out of thin air. You have to pay other people/companies for them or at least for the base materials used in their construction. You would have to still abide by law when acquiring or building any of those things.

      When you pay a licensing fee, it's no different than paying for cotton seeds, land to grow it on, water, looms, needles, etc.

      You can't freely make a Nike t-shirt or a Sony radio though, that's counterfeiting.

      You could if you had their permission OR your law allows you to do so.

    73. Re:Not a selling point by Anonymous Coward · · Score: 0

      Even on the lowest cost machines I build there is hardware acceleration out of the box for H26x, WMV 7-9, DivX, and MPEG 2 (and usually 4).

      1. h264 is a subset of MPEG-4 (part 10 IIRC)
      2. Ogg Vorbis is widely supported in audio players. It's a superb alternative to AAC/MP3/WMA, esp at low bitrates - my Sansa does it, Cowon and iRiver and a ton more support Vorbis b/c it's built into nearly all non-Apple/Zune chipsets now and the battery penalty is gone.
      3. Theora - well, it might never make it. VP8 might make a dent soon, though I wonder which container will win - matroska?

    74. Re:Not a selling point by lennier · · Score: 1

      But the reality is, people just want the best performing tool for the job and frankly the older I get the more I think so too. I had these fundamentalist ideas in late teen years, but then I faced the real world. Now I pick the right tool for the job, be it open source or closed.

      That's fine short-term thinking. But what about the long term? Eventually the environment will change, and you'll want to pick a better product, but if proprietary products have edged open ones out of the market, you won't have that choice.

      Always thinking just about 'performance' can lead you into traps. That's what 'fundamentalism' is a correction to: it points out that choosing an inferior solution WILL get you an inferior outcome.

      I wish people could understand that it's not 'closed minded' to think about the future. The IT industry has the attention span of a gnat; anything more than three years away might as well be the year 30,000,000 to us. Forgive my fundamentalism, but it seems to me that always thinking only on the ultra-short-term margin is neither a healthy nor strategic (or even in the end, self-interested) way to live.

      --
      You are not a brain: http://books.google.com/books?id=2oV61CeDx-YC
    75. Re:Not a selling point by lennier · · Score: 1

      ++.

      What we miss often in this discussion, I think, is a focus on data rather than software (or process, or technology).

      Data endures. Software, very often, does not. The data is important; the software, just a tool to get that data into the formats we want.

      Software freedom is about the ability to take our data, to own our data, and migrate it from platform to platform, to avoid the onrushing digital dark age that threatens to destroy everything we know as the platforms cave under us. This applies both to the desktop and the 'cloud'. Data is life; to get and keep access to our data, we generally will need access to the knowledge and tools required to transform and preserve it. Anything that threatens this - copyrights, software patents, lock-in, proprietary undocumented formats, centralised services which don't allow data migration - threatens our knowledge, our society, our memories and ultimately all the things that make up our life.

      It is very very dangerous for us to start depending on tools we either can't repair or are not legally permitted to repair. Somehow, this truth keeps getting forgotten, especially when it's in the interest of toolmakers to make tools incompatible, rapidly obsolete and to make reverse-engineering and passing on knowledge illegal.

      Save data, save knowledge. Otherwise one day we'll want that data and knowledge and we won't have it, because we've paid someone to prevent us from needing to know it and they've enforced that by REQUIRING us not to know it.

      --
      You are not a brain: http://books.google.com/books?id=2oV61CeDx-YC
    76. Re:Not a selling point by robbak · · Score: 1

      Where is the open source response to Flash?

      HTML5/Vorbis.

      Where is the browser plugin for Media Player Classic? It would at least be a starting point.

      For most if it's life, waiting for macromedia/adobe to release the flash specs. I think they have partially released them, but its not proving easy to implement. There are projects like gnash and swfplayer.

      Applauding GIMP all these years hasn't achieved much.

      What's to achieve? Some people didn't like the UI, which was always based around 'getting lots of work done fast', not 'looks real simple for the newbies', and did assume some linuxisims (like 'it's easy to set a window always-on-top if you need it') - but gimp has always been great, and is getting better - even getting a more standard ui to annoy us actual users.

      --
      Prediction for end of Universe #42: Fencepost error in Quantum_bogosort.cpp
    77. Re:Not a selling point by buzzn · · Score: 2, Insightful

      "The rest of the world has always constantly complained about how buggy and slow Flash is. Even the HONEST "boosters" have freely admit to this problem. This is a problem that exists primarily because of the very proprietary nature of Flash."

      Um, no. Being proprietary does not inherently make one slow or buggy, and being open-source does not make anyone faster or less buggy. If you believe so, I have a bridge to sell you.

      Flash is "slow" if for any reason, because it is cross platform and tries to do a lot of things, including gaming, RIAs, and video, etc, and is immensely ambitious (trying to run on any number of phones as well as desktops), and yes has an aging code base. These are not problems inherent to proprietary software.

      You may say that a rewrite from scratch might help, but then you'd also need an economic incentive to cause people to invest the time and effort to do so, and you'd also be opening all sorts of intellectual property issues, plus what about the tools necessary to support workflows, etc. Merely complaining about the status quo, without suggestions, is not a good solution.

      --
      Join the window installer's union, where prosperity is a brick throw away!
    78. Re:Not a selling point by Anonymous Coward · · Score: 0

      Right, which is why all companies using non-free software have long since been bankrupted.

      Or you're an idiot and the business world is far more complicated than you ineptly portray it. One of the two.

    79. Re:Not a selling point by adolf · · Score: 2, Informative

      Netscape Navigator had useful support for PNG starting in November, 1997 with version 4.04. This beat even the existence of Firefox 1.0 by seven entire years.

      This was even several months before Netscape released the source code for their browser, which was the event that made Firefox possible in the first place.

      Even Microsoft had the beginning of useful PNG support in Internet Explorer starting with version 4.0, released in September of 1997.

      Now, sure: As I recall, Firefox was way before IE in fully supporting all of the features of PNG. But to say that it supported PNG before IE, when IE supported PNG before Firefox could even have begun to exist, is a little anachronistic.

    80. Re:Not a selling point by Anonymous Coward · · Score: 0

      "Should" is a moral point of view hardly an objective one.

    81. Re:Not a selling point by hairyfeet · · Score: 0, Offtopic

      1.-I was talking about MSFT MP4 files. 2.-While it may have some support in certain audio players (never actually seen a Cowon sold in stores BTW, just online) in the decade + that I have been working PC repair I have never actually seen a Vorbis file cross my desk. Not a single one. Currently the numbers are 80-20%, with the 80 being MP3 and the 20 being those that used WMP to rip and ended up with WMA. 3.-I predict Theora is all but a corpse. If I had to guess at a "winner"? It will be flash online, and MKV everywhere else. never underestimate the power of piracy, it is why nearly every DVD player supports DivX now after all.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    82. Re:Not a selling point by Anonymous Coward · · Score: 0

      Just to let you know that most of the Korean music players (Samsung, iRiver) supported OGG/Vorbis not long after they supported MP3. And battery life is exactly the same.

    83. Re:Not a selling point by moonbender · · Score: 2, Interesting

      You care about the average Joe because he seemingly gets to decide which codec is hardware accelerated and which codec is used by major web sites. Even if you (or I) find his choice unacceptable.

      --
      Switch back to Slashdot's D1 system.
    84. Re:Not a selling point by quadrox · · Score: 1

      We get it - i.e. that most people don't care.

      The whole point that is being made here is that they SHOULD care, because otherwise they will end up getting screwed sooner or later. Not caring about open standards is just so damn shortsighted.

    85. Re:Not a selling point by huge · · Score: 1

      I'll tell you why. Because it's patent-free, unencumbered, and an easy bulletlist item to put on a device.

      The fact that it is patent free is a selling point for the company that manufactures the device, not for the end user. End user doesn't have to deal with patent licensing or any of that crap, they just either have the product or they don't.

      --
      -- Reality checks don't bounce.
    86. Re:Not a selling point by Omnifarious · · Score: 1

      You just prove the OPs point. Why does all that hardware support exist? Who paid for it and why?

      It's because the patent holders are using their monopoly profits for promotion.

      Things 'just work' because someone put the time and effort into making that happen. Time and effort cost money.

    87. Re:Not a selling point by Omnifarious · · Score: 1

      If Flash were completely open rather than the closed and proprietary format it is, you would suddenly discover tiny groups willing to re-write it from the ground up.

      Javascript, for example, is getting new and faster engines every day. And that's because its speed has started to matter and its an open format.

      Your argument about economics is disingenuous. It's not in Adobe's economic interest to do a rewrite (or at least, Adobe doesn't seem to think so). It's not that the idea itself is inherently economically unviable.

    88. Re:Not a selling point by peppepz · · Score: 2, Interesting

      You care about the average Joe because he seemingly gets to decide which codec is hardware accelerated

      Yes but "hardware acceleration" means cheap devices which only play media when encoded with certain codecs, only at some bitrates, only at certain resolutions and colour depths, and only when in certains containers: all of this, together with obscure, unfixable hardware bugs which result in defective playback when the media was encoded a hair differently from the streams the device was tested on.

      I suppose fixed function decoders can be power efficient, but before my battery life, I care about a device that DOES play my stuff. Usually you can't know the details of the media supported by a device before buying it, because its box will probably read "plays h.264" instead of "plays h.264 baseline profile only, with resolutions from 128x128 to 512x512 and a framerate multiple of 16".

      The right thing to do for video acceleration is to extend CPUs (GPUs, DSPs) instruction sets in order to provide general acceleration for any kind of media. This is perfectly possible with today's devices (my 2006 phone plays PAL-encoded DivX movies just fine, without any assistance from its manufacturer). Fixed function hardware is a thing of the past.

    89. Re:Not a selling point by Delkster · · Score: 1

      The average Joe really doesn't give a shit about "free as in freedom" all he gives a shit about is does it work and is it easy.

      That's why it's up to experts to give a shit.

      Joe Common doesn't have expert-level knowledge of the issue, so Joe doesn't see the long-term effects of different alternatives. For example, a file format that can be used for free is better for encouraging new small players in the market than a format that is expensive or nearly impossible for such new players to use and support. The free format is more supportive of competition, and that competition between a greater number of vendors is also beneficial for Joe in the long run.

      This may be less of an issue with audio or video formats with public documentation and more or less reasonable patent licensing costs, but it's still an issue to some extent. Complex formats that lack public documentation have a much more severe effect. As an extreme example, think of the MS Office formats which to date, after more than a decade of work and tons of very real resources thrown at it, still can't be fully supported by third party implementations. Yes, documents can be opened, but OpenOffice et al will often mess up a lot of the details in Office documents that have formatting of any complexity, and I'm not blaming OpenOffice but the complex proprietary format which is prohibitively complex to fully support. That does in fact severely limit competition between products that could otherwise compete with actual product quality and usability.

      Again, that may be a somewhat extreme example, but the same applies to any proprietary protocol, data storage format or interface to some extent. That's why the professionals in the field and other knowledgeable people need to give a shit even if Joe doesn't. Unlike Joe, they are informed enough to understand the long-term benefits, and those should count.

    90. Re:Not a selling point by Delkster · · Score: 1

      If the OpenOffice guys didn't have to spend so much of their time reverse-engineering and building support for overly complex proprietary MS Office file formats, perhaps they'd have more time and resources to actually improve their offering rather than fighting artificial barriers imposed by the requirement for compatibility with proprietary technology.

    91. Re:Not a selling point by Anonymous Coward · · Score: 0

      Opera makes money from embedding browsers on portable devices which most likely have hardware acceleration for H.264. If they're not using it, they're wasting your hardware and your battery life.

    92. Re:Not a selling point by SpaceToast · · Score: 1

      Speaking as a web designer though, PNG transparency wasn't supported in IE until version 7. On my own site, I had to load a basic stylesheet with .jpg backgrounds and a more limited layout, then a second stylesheet with .png graphics for advanced browsers. The various workarounds would often result in scary errors for the end user. (This page wants to use an ActiveX filter!) But then, IE has always been the web's David Spade.

      Now that Google is officially dropping IE6 support, maybe it's time I did too. Trouble is, my ideal design would be built on SVG -- which the newer versions of IE... also don't support either.

    93. Re:Not a selling point by hairyfeet · · Score: 1

      Exactly. Manufacturers design for the herd, NOT for the individual. Take Vorbis/Theora for example. The cheapest Vorbis players I have seen are around $50, and that is online only, and I haven't actually seen a portable Theora player yet, even though its codec is "free as in freedom", yet I can walk a whole two blocks and go into Walgreen's and there are over a dozen MP3/MP4 players, starting at $10. Why? Because the herd uses MP3 and MP4/DivX, that's why.

      /pulls up flame proof long johns/ And THIS, this right here, is why Linux will never be anything but a blip on the radar when it comes to desktops. Geeks simply refuse to think like the herd, refuse to see how the herd works, and expects the herd to act like them instead, and it will never ever happen. Did you have to use CLI setting up Linux? Use it this month? Week? Well then it equals fail, as the herd don't do CLI, hell they won't even touch the Windows control panel because they think it is "scary". Need to do research or read a man page? Fail again because the herd don't do instructions and will NEVER research before a purchase.

      Being a PC repairman my livelihood depends on understanding the herd. After all, I want to sell them things and get them to part with their money. But geeks are gonna have to accept just because THEY think "software freedom" or "freedom to tinker" is important ultimately don't mean shit because the herd doesn't care and wouldn't tinker if you put a gun to their heads. The herd wants simple, and easy, with as little interaction as possible to get the desired result.

      The manufacturers have learned this, which is why all those MP3/MP4 players come with a mini-CD that has a very simple converter that transcodes to the player's format in just a couple of clicks. I have learned this and pre-install K-Lite Mega codec Pack that provides hardware acceleration for all the major formats, so they just "clicky clicky" and the videos play smooth. If FOSS formats are to take off they must accept this, get away from CLI heavy conversion tools(most MKV and Theora converters I've seen suck) and make everything bog simple, and be offering hardware acceleration to the big three video chip manufacturers. Because that is what the herd wants. Ignore the herd and be a niche, that is just the way it is.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    94. Re:Not a selling point by buzzn · · Score: 1

      There's nothing closed and proprietary about the format. There already are open source groups rewriting it.

      Adobe is doing significant rewrites. Take a look at the upcoming 10.1 release. Under the hood, it's a huge set of changes.

      It is in Adobe's economic interest to do so as they have a huge investment in the technology. They have competition in the form of Silverlight, HTML5, etc, and said open source.

      One of those Javascript engines you speak of was contributed to open source by Adobe.

      As politicians like to say, everyone is entitled to their opinion, just not their own facts.

      --
      Join the window installer's union, where prosperity is a brick throw away!
    95. Re:Not a selling point by jedidiah · · Score: 1

      > Um, no. Being proprietary does not inherently make one slow or buggy, and being open-source does not make anyone faster or less buggy.

      Flash is a problem because it is a vendor standard that doesn't need to compete to survive. It fails to take advantage of hardware acceleration when EVERY OTHER SOLUTION does.

      In this case, proprietary does quite literally mean the difference between video and a slide show.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    96. Re:Not a selling point by Anonymous Coward · · Score: 0

      I had these fundamentalist ideas in late teen years, but then I faced the real world. Now I pick the right tool for the job, be it open source or closed. I use Windows on desktop because I game and think the experience is better, while still giving me freedom to mess around with the system. I use Linux on servers because they perform a lot better and command line usage with servers is a lot better, and in that case and scriptability Windows doesn't come even close. But fundamentalism and closed mindset in the end is just stupid.

      It amazes me how such a huge logical fallacy - a strawman - can get moderated so high. Well, maybe it shouldn't amaze me that much - this is slashdot. Calling the open source ideological viewpoint "fundamentalism and closed mindset" - such an obvious strawman.

    97. Re:Not a selling point by godefroi · · Score: 1

      PNG is not a competitor to JPG, it's a competitor to GIF. The feature set is superior (really only one thing mattered, the alpha transparency), and it was unencumbered by the unisys patent. That's why it succeeded.

      --
      Karma: Poor (Mostly affected by lame karma-joke sigs)
    98. Re:Not a selling point by hazydave · · Score: 1

      Not quite.

      MP3 was first because it actually solved the problem.. it was designed for encoding transparency (eg, sounds just like the original) over ISDN connections. This also worked very well for internet distribution, but just as much, for the need to compress audio to actually fit any useful number of music tracks on a flash-based player of the 1990s.

      And the format did win out precisely because it was the only plays-anywhere format. Before MP3 players had large capacity, I could get CD players that played MP3 files. So my DVD player, every PC based program, later my boombox, my PDA, my iPod, my Zune, my DROID, my second boombox (Sony), my GPS device. It is still the only format you can guarantee will play on any media player today.

      At the same time, it was the format of legal, non-DRMed music. Very early on, before Apple was even in the picture, eMusic.com was selling MP3s. Today, Amazon's download service is doing DRM-free MP3, because it plays on any device.

      It also worked because, while Fraunhofer IIS did want licensing fees for the encoders and decoders, they agreed to not enforce this for open source/freeware encoders and decoders. So while there are patents on MP3, you're not illegally distributing an MP3 decoder or encoder on Linux.

      --
      -Dave Haynie
    99. Re:Not a selling point by hazydave · · Score: 1

      Actually, the first two describe why people use PNG. The third explains why PNG exists -- it was a direct response to Unisys patent trolling software companies. If PNG was only as good as GIF, no one who wasn't writing their own image encoder would have cared about PNG.

      That's an important thing for Ogg/Vorbis and Ogg/Theora fans to keep in mind. Making something that does the same job, only free-as-in-beer-and-speech doesn't matter to any significant percentage of the computer using population. They pay for computers, generally with OS included, they don't notice if $0.10 of that purchase price goes to some licensing group or not. They only care about what works, and some care about "how well".

      So releasing things that don't work as well is not as good way to replace the status quo. Ogg Vorbis has a higher coding efficiency than MP3, but hey, AAC has a higher coding efficiency than Ogg Vorbis, there's no license for broadcast of any kind, and it was pushed by Apple, which is, like it or not, the 362.87kg Gorilla in computer audio.

      Ogg Theora is worse than AVC, and even the rigged demos on the Xiph Foundation web site illustrate this, just not as profoundly as, well, anyone actually doing this comparison "in the wild"... like, rendering Theora vs. AVC from the same 1080/60p HD originals at the same bitrate... which is why I hold this opinion -- I've actually done the deed.

      --
      -Dave Haynie
    100. Re:Not a selling point by buzzn · · Score: 1

      Flash is a problem because it is a vendor standard that doesn't need to compete to survive.

      Um, no

      It fails to take advantage of hardware acceleration when EVERY OTHER SOLUTION does.

      Um, no.

      Why am I defending Adobe? Actually, I'm not. I'm fighting laziness.

      --
      Join the window installer's union, where prosperity is a brick throw away!
    101. Re:Not a selling point by kriston · · Score: 1

      Flash actually uses several video codecs. I'm puzzled why people think H.264 is the only one.

      --

      Kriston

    102. Re:Not a selling point by hazydave · · Score: 1

      H.264 is supported, for example, in Android. And guess what... Fennec, by all accounts, will be using the H.264 CODEC that's part of the OS in their Android port.

      You don't seem to understand coding very well. Mozilla supports Firefox on a number of platforms: Windows, Linux, Mac, maybe others. This is hardly a single binary, each version has code that adjusts to the OS being targeted, using the resources of that OS for I/O of most kinds: file I/O, audio output, etc. But for some reason (or perhaps, some religious argument), Mozilla is insisting that the video CODEC for HTML5 needs to be built-in to the browser, despite the fact that, just like file management, graphics display, etc. this really belongs in the OS. And every major OS -- yeah, even Linux -- supports a multimedia OS API with support for multiple CODECs.

      The reason why this is a proper OS resource is certainly that, like graphics and audio, video is pervasive these days. But it's also a practical matter. My Android example illustrates this: video can tap into hardware acceleration when it's written for the specific platform, and it can't when it's totally generic. It would be impossible to play Ogg Theora, H.264, or probably even MPEG-1 on most small device hardware directly, but using the OS-level H.264 CODEC, you get many hours of full motion video.

      But this isn't restricted to portable devices. I can play a full 1080/60p video (about twice the normal "full HD" requirements) using about 12% CPU on my desktop under Windows 7, using plain old ugly Windows Media Player. Running that same video in VLC, I get a very choppy playback, and 60%+ CPU used. This is a high-end PC (well, a high-end Core2 quad machine, not so high-end by 2010 standards) and sure, I could play a Blu-Ray without worries, even without the GPU-based acceleration. But smaller PCs cannot... they need the acceleration, or they fail at playback. And even when not failing, they consumer many times the battery power bypassing hardware or GPU acceleration.

      I have little problem with Mozilla or anyone else fighting the good fight, when it's a real good fight, based on technical merits. But they're not doing that... they are fighting a political battle they can't win, and in doing so, they're taking the very, very wrong side of a meaningful technical argument. Simply put, the Browser has no more business implementing a video CODEC than they do a graphics driver, audio driver, file system, or any other OS resource.

      --
      -Dave Haynie
    103. Re:Not a selling point by arose · · Score: 1
      Opera makes money from embedding browsers on portable devices which most likely have hardware acceleration for H.264.

      Wrong, while mobile devices might be all the rage right now Opera also does all sorts of set-top boxes, the Wii and whatnot. Does the Wii have H.264 acceleration? Who knows. Can it handle a low complexity codec like Theora in software? Without doubt.

      Aside from that, few devices have hardware decoding, just hardware that is good at assisting the CPU by accelerating operations heavily used in codecs like H.264 and Theora. I wouldn't be very surprised if Opera is working beyond the scenes to get Theora support for some of those.

      In the end it probably comes down to Opera not wanting half-baked video support, Theora can work with hardware acceleration, probably on hardware, once someone actually gets around to implementing actually implementing it. But it can also work in software on relatively modest hardware that could never support H.264 that way. I suspect Opera is trying to find a way to roll video out on pretty much everything they make a full browser for.

      Last, but not least, the often proclaimed hardware support for H.264 is a smoke screen. Many devices can't handle the full spec, if you actually want those iPhones to see your video you better encode Baseline at 640x480. In other words, if you actually want to take advantage of the full power of H.264 you either ditch the iPhone or encode twice, yet for some reason not having to keep around two versions of a video is one of the biggest reasons people don't want any of this Theora crap that can run at full spec on modest hardware.

      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    104. Re:Not a selling point by VGPowerlord · · Score: 1

      PNG is not a competitor to JPG, it's a competitor to GIF. The feature set is superior (really only one thing mattered, the alpha transparency), and it was unencumbered by the unisys patent. That's why it succeeded.

      That's true, but given that people used to post screenshots as JPGs (which look *terrible* after dithering), PNG has replaced JPG for some purposes.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    105. Re:Not a selling point by ak3ldama · · Score: 1

      I have no mod points to mod you up; great comment.

      --
      "but money is the God of Algiers & Mahomet their prophet." - Rich. O'Bryen June 8th 1786
    106. Re:Not a selling point by jthill · · Score: 1

      Exactly, why is there all the hate AGAINST having a patent free method of encoding audio and video that EVERYBODY can share?

      TFA is addressing exactly that question for this method in particular. Some of its objections, including one of the main ones, betray complete ignorance of elementary methods.

      The random-access objection in particular is truly stupid. The author claims that because of the absence of an index in the format, locating, say a particular spot in an 8GB video with 4K datablocks requires the full 20-seek binary search. I really hope the obvious solution doesn't need any explanation here.

      There are other minor but even more stupid objections in there. Looking up one of a handful of 32-bit randomized stream ids requires a serial search that will be problematically expensive? Please.

      Some of the objections are in territory I don't know well, but seem overstated.

      Inconsistent streams are possible. That's unusual? Malformed streams can be constructed and detected, and that's bad? Some encoders are buggy and generate malformed streams, and that's a fault of the format?

      Similarly with the 32-bit checksums. When the checksums matter, they matter. When they don't they can be ignored.

      I have a hard time understanding why even 1.4% protocol overhead is really a problem. Yes, the length encoding is ... well, the encoded size scales linearly, one byte per 255 bytes packet size. That's a genuine wtf? but again, so?

      I have a very hard time understanding why putting the checksum in the packet header rather than the trailer constitutes a genuine problem. What protocol API delivers data at anything less than link-layer-frame granularity, and what link layer these days is so slow that the delay on a streaming-sized packet is even remotely significant? Even on a 1mb link, near the minimum tolerable for video, that's under 1ms added delay.

      Pushing the protocol into audio-only territory, I can see that ogg's packetization could introduce measurable delay across a modem link with PPP header compression turned on and modem compression and error checking turned off. So it won't be very good for VOIP over analog-modem links until someone adds PPP-style header compression.

      All the rest seem to me to be objections to unnecessarily-baroque format choices. He doesn't say how many of those choices are forced by patent avoidance.

      His preference for the Matroska container format seems valid, but I"m untutored in the field, and his objections in the fields I do understand apparently also seem valid to outsiders in those. I'd be curious.

      That's the high points: the most valid objection I can discuss with any authority at all amounts to the claim that MP4 would be a markedly better container format than ogg for streaming VOIP conversations over an uncorrected, uncompressed PPP-over-analog-modem link with PPP header compression turned on. Ok. Does anybody embed VOIP traffic in an MP4 container?

      Of the rest, some of the major points are truly and deeply ignorant, others seem to me to be nitpicks. Is his 1.4%-payload-overhead objection, amounting to ten or so extra bytes per ethernet frame, really valid?

      --
      As always, all IMO. Insert "I think" everywhere grammatically possible.
    107. Re:Not a selling point by arose · · Score: 1

      It would be impossible to play Ogg Theora, H.264, or probably even MPEG-1 on most small device hardware directly, but using the OS-level H.264 CODEC, you get many hours of full motion video.

      It would have to be a low-powered device indeed not to be able to play MPEG-1 in software considering it was done on pre-Pentium CPUs. Theora isn't quite as light, but it's certainly not as heavy as H.264.

      I can play a full 1080/60p video (about twice the normal "full HD" requirements) using about 12% CPU on my desktop under Windows 7, using plain old ugly Windows Media Player. Running that same video in VLC, I get a very choppy playback, and 60%+ CPU used. This is a high-end PC (well, a high-end Core2 quad machine, not so high-end by 2010 standards) and sure, I could play a Blu-Ray without worries, even without the GPU-based acceleration.

      Are we still talking about web video, unless you are planning on embedding a rip of that Blu-Ray on a website we are not. 720p is about where big players are comfortable, small sites will have less than that.

      Besides, GPU acceleration isn't that hard to do these days, so I'm quite confident that if Theora was in fact the mandated baseline codec in HTML5, or if Youtube had decided to use it instead/alongside with H.264 there would be blazing fast GPU implementations by now. Unfortunately we are stuck with a chicken and egg problem and popularity seeking developers will not help out. Portable devices are harder, but still mostly use programmable accelerators, again, few have bothered to make Theora run on them, but the experiments are promising.

      I have little problem with Mozilla or anyone else fighting the good fight, when it's a real good fight, based on technical merits.

      If you only consider a technical merit fight to be a good fight, then you won't find any big players on your side. Apple is playing to their patent and fuck you if you want to use something more then baseline 640x480 at 30fps in your video tags, the iPhone can't play it, sorry.

      Google at least lets you use Theora with Chrome, even if they don't use it themselves. That means that the only browser supporting video tags, but not playing Theora by default is Safari. The fight is not lost yet by far, as HTML5 video is still in the infancy.

      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    108. Re:Not a selling point by hairyfeet · · Score: 1

      The problem with your theory is it is the same one that keeps Linux in last place, it is the thinking that "experts" can force the consumers to think their way, and so far it hasn't worked. Take your MS Office example. I can give my customers OO.o for free, or they can pay $100+ for the most basic office version. Those in SOHOs and SMB will nearly always shell out the money. Why? Because the amount of time and effort, which equals money, to go through every .doc that crosses their desk and fix all the fuckups that OO.o does to the complex formatting makes it not worth the savings. I agree that is not OO.o's fault, but after nearly getting an F because my teacher's MS Office turned my OO.o doc into word salad, can't say I blame them.

      It ALL comes down to a few major corps and the herd. If you can get the major corps onboard you might be able to steer the herd, but since it isn't in their best interests good luck with that. everyone from Youtube to the porn sites are all using H264 FLV files. The hardware manufacturers saw which way the wind was blowing and added H264 support for their devices. That means that I can go to any of those thousands of sites with my netbook, PC, cell phone, PMP, whatever, and have a good experience. Theora has exactly ZERO hardware acceleration support, and so far I haven't even seen any real effort to come up with hardware support for even the big three-AMD,Intel,Nvidia, much less cells and PMPs.

      So you can hold onto those principles all you want pal, in the end it'll do exactly jack and squat. You can stand on the mountain and yell "Free as in freedom!" all day long, and you know what? Nobody will care. I tried selling Linux boxes, I gave up. Why? Too lousy when it comes to hardware support, too many hassles for too little return. The same thing applies here. To my customers they frankly don't give a shit about "free as in freedom" if it means more work for them and a less pleasant experience, which thanks to geeks not learning from the herd and instead expecting the herd to learn from them that is all I've ever seen from FLOSS. You gotta make it easy, you gotta make it simple, you gotta have support. None of those things I'm seeing with Theora. Sorry.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    109. Re:Not a selling point by metamatic · · Score: 1

      Actually, as of recently the Flash spec is available without restrictions, and there's gnash, a GNU implementation.

      Yeah, but without a full open spec for RTMP, the Flash file format alone isn't all that useful for the things sites actually use Flash for.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    110. Re:Not a selling point by cyberthanasis12 · · Score: 1

      In short it works.

      Under the circumstances it does not work. When software patents become illegal, you may have a point. An entity can not take the whole internet hostage.

      By the way, where would you be if I had patented the Pythagorean theorem and through ridiculous extensions the patent were still valid? You know in short it works.

    111. Re:Not a selling point by metamatic · · Score: 1

      Oops, I already replied to something so I can't mod you up.

      Absolutely. Firefox should leverage the OS frameworks for audio and video and get the hell out of the way of HTML5 video. That way they don't even have to worry about having to pay patent fees themselves.

      Realistically, every Windows and Mac system is going to have a licensed MPEG-4 decoder, and many Linux systems are too, because of the amount of hardware that has MPEG-4 support in hardware these days.

      I don't need Mozilla telling me that I shouldn't be allowed to use payment-required codecs, any more than I need them telling me I shouldn't be allowed to use payment-required web sites or run their browser on a payment-required OS.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    112. Re:Not a selling point by Khyber · · Score: 1

      Microsoft isn't the inherent problem, at least not THIS time - why attack the OS when you can attack the third-party software you know EVERYONE uses and you know for a fact is a bug-ridden piece of shit?

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    113. Re:Not a selling point by Anonymous Coward · · Score: 0

      "And THIS, this right here, is why Linux will never be anything but a blip on the radar when it comes to desktops. "

      Good. The retards that Ubuntu brought into the linux world was bad enough. I don't need any more morons using linux, thanks.

    114. Re:Not a selling point by Mr.+Slippery · · Score: 1

      It's about getting the job done and most people would rather pay for it if it came down to it than choose an inferior free solution.

      You've confused "Free-as-in-freedom" with "Free-as-in-cost", and missed the point that, in the long run, freedom is needed to get any significant job done. It's not just an ethical choice to use free software, it's a practical one: if you don't have the freedom to change and share the software you use, your system is by nature unreliable.

      Buying a car that can only be serviced at the dealer may not be immoral, but it sure would be stupid -- not just expensive due to the monopoly, but you'd be left high and dry if that dealer closed. The same applies to software.

      --
      Tom Swiss | the infamous tms | my blog
      You cannot wash away blood with blood
    115. Re:Not a selling point by exomondo · · Score: 1

      You've confused "Free-as-in-freedom" with "Free-as-in-cost"

      No that's why i put on there 'if it came down to it', currently the available standard video plugins (i.e. flash) are free - as in beer - but not in freedom. And im just suggesting even if that changed it probably wouldn't matter to most people. People are happy enough with free (as in beer), to change to a free (as in freedom) product is a hassle for most so the majority won't bother.

    116. Re:Not a selling point by exomondo · · Score: 1

      We get it - i.e. that most people don't care.

      The whole point that is being made here is that they SHOULD care, because otherwise they will end up getting screwed sooner or later. Not caring about open standards is just so damn shortsighted.

      I don't disagree with you, but the fact is they WON'T care because for the end user the experience is fine as it is. The new solution has to offer something more compelling than 'software freedom' in order to have people make the conscious effort to - and go through the hassle of - changing.

    117. Re:Not a selling point by Omnifarious · · Score: 1

      It's only very recently then that Flash has been open. And, IMHO, it's not really open until there is an Open Source implementation that works with 95% of the Flash out there.

    118. Re:Not a selling point by Risen888 · · Score: 1

      You're making a spurious point. The codec's lack of cumbersome licensing makes it desirable for manufacturers, and the fact that manufacturers include support for the codec makes it desirable for end users, because people want stuff they can use. The end result is exactly the same.

      --
      Hey, I finally got my first freak! Took you long enough!
    119. Re:Not a selling point by Risen888 · · Score: 1

      I just gave you a link with literally dozens of devices that include ogg support, and you're still sitting there telling me that no one supports ogg and mp3 is K1NG 43VAR!!! Did you even read my post?

      --
      Hey, I finally got my first freak! Took you long enough!
  7. The Biggest Technical Objection by Anonymous Coward · · Score: 1, Insightful

    Is that the ogg container format doesn't play itself.

  8. TFA does NOT concern THEORA vs h264 by Anonymous Coward · · Score: 0

    The article complains about the container format, not about the codec actually used in the container.

    Therefore, please: do not confuse ogg - the - container - format with
    theora - the codec used to encode the video.

    It would be rather easy to replace / reimplement the container format with something else (easy compared to replacing
    the codec with a newly designed codec anyway)

    1. Re:TFA does NOT concern THEORA vs h264 by Rizz · · Score: 1

      Some people are already using Theora and Vorbis inside MKVs. That just might be the hot ticket in the future.

    2. Re:TFA does NOT concern THEORA vs h264 by Duradin · · Score: 0, Troll

      I know. It's a right pain to stumble across an Vorbis encumbered file and then have to demux it, fix the stream to be something useful and then rebuild the file.

      Why yes, I do use a device that doesn't support Theora|Vorbis. How could you tell?

  9. Flawed reasoning... by Anonymous Coward · · Score: 3, Insightful

    There's at least one obvious flaw in his reasoning. He talks about removing the 8-bit version field in the header and replacing that with a 1-bit portion of the flags field to distinguish it from a hypothetical future version. That only works if one assumes there will only *ever* be two versions (v1 and v2). Such a basic failing of analysis is a pretty good indicator that he hasn't thought it all through as completely as he thinks he has.

    1. Re:Flawed reasoning... by sylvandb · · Score: 2, Interesting

      There's at least one obvious flaw in his reasoning. He talks about removing the 8-bit version field in the header and replacing that with a 1-bit portion of the flags field to distinguish it from a hypothetical future version. That only works if one assumes there will only *ever* be two versions (v1 and v2).

      No, the flaw is yours. The 1 bit merely says "this is not the original version" and anyone that only knows the original version just stops there. Anyone that knows the 2nd version has enough smarts to look at the 2nd version bit (or field).

    2. Re:Flawed reasoning... by blair1q · · Score: 0, Offtopic

      No, he's saying that since nobody ever sets the field it's of limited current use. It can be replaced by a single bit which, when set to 1, would invoke processing of another version field. But his argument is begging the question, as the field is there clearly to allow for more than one version, so the designers had prescience in that regard. He's saying they shouldn't have bothered. But if they hadn't, he'd probably be asking what happens if someone wants to use a different version.

      If they had used a single bit to indicate a version-field extension was present, he would have had nothing to complain about, but since nobody designs packet headers that way, it's almost unthinkable that anyone would have done it that way in the first place.

      Most of his objections are correct in detail, but pointless in gross. It's clear to anyone watching that the inner workings of file formats are not of economic interest to the end user. They are only too happy to download files in a dozen formats, totally ignorant of these petty inefficiencies, but getting furious when the player refuses to render them.

      So everyone should just shut up and implement the ogg decoder we have, along with every other decoder necessary to read every file format in existence, because to do otherwise ranks you with the weak, lame, and lazy.

    3. Re:Flawed reasoning... by Josef+Meixner · · Score: 4, Insightful

      It is not in the header, the 8-bit version field is in every single page. As according to the post a page is mostly 64K due to a strange length encoding, you send the version very, very often. I don't see any reason, why the version would have to change in the middle of a file in any case. And honestly, would you write a decoder taking that into account, if the probability of stumbling onto such a file was currently 0 (due to there being only one version) and very, very low in the future? That means it just adds to the size of the file.

      The second reason is even simpler, you only need one bit to tell the current format from the future formats. As there hopefully will be a good reason for a future version the page header will probably be different, so I can add a version field there when I at least found one reason why I need it, no? That way I need one bit now and can still have different versions later.

    4. Re:Flawed reasoning... by Yokaze · · Score: 3, Informative

      > I don't see any reason, why the version would have to change in the middle of a file in any case.

      It is probably not due to the fact, that the version might change in the middle of the file, but in case, you only have a part of the file.
      This makes it more robust, and better suitable for streaming: You can simply start sending from an arbitrary position, and the parser should
      be able to recover at some point.

      --
      "Between strong and weak, between rich and poor [...], it is freedom which oppresses and the law which sets free"
    5. Re:Flawed reasoning... by Areyoukiddingme · · Score: 1

      I would assume that redundant page level data as fundamental as the encoding version would be most helpful when streaming, especially streaming live. I can't be bothered to read the article, but it sounds like the critic isn't taking into account all of the reasonable use cases. Not everybody downloads a file and plays it from beginning to end and not everybody can start from the beginning. If the stream started yesterday and I want to start watching it today, there had better not be any indispensable data at the very beginning.

      Building the data into the stream means the stream server can be fairly simple, too. It doesn't have to cache that indispensable data from the very beginning to get my stream client to figure out what's going on. It just starts sending bytes and my client can figure it out. It would be most convenient for my client if the server started transmitting at the beginning of a page, but if the redundant data at the beginning of a page is large enough (i.e. more than 1 bit), that might be unnecessary. The page header may have a distinctive enough pattern for my client to detect the beginning of a page even if the stream started in the middle of a page.

    6. Re:Flawed reasoning... by noidentity · · Score: 1

      There's at least one obvious flaw in his reasoning. He talks about removing the 8-bit version field in the header and replacing that with a 1-bit portion of the flags field to distinguish it from a hypothetical future version. That only works if one assumes there will only *ever* be two versions (v1 and v2). Such a basic failing of analysis is a pretty good indicator that he hasn't thought it all through as completely as he thinks he has.

      Actually, it shows the opposite to me. You have the current version, which decoders know how to decode. You also have slight revisions that don't break current decoders. And you have a future version that does break current decoders. Thus, you have a single flag in each version, specifying whether the file is that version, or the next one.

      To determine file version, you first parse the file as the first version; if its "next version" flag is set, you then parse it as the second version; if its "next version" flag is set, you parse as version 3, etc. It only makes sense for a bitstream though (I haven't looked to see which this is). And it seems mostly a theoretically-elegant approach, in that it has no limit to the number of versions, and for each new version, the change is the same.

      Practically, a version field seems simpler for everyone. And this doesn't rule out the above scheme, it just means you have versions 0-254 (assuming an 8-bit version field), and then version 255 which adds a second version field. Maybe the site isn't Slashdotted anymore so I can read his comments as well.

    7. Re:Flawed reasoning... by Anonymous Coward · · Score: 0

      No, the flaw is yours. The 1 bit merely says "this is not the original version" and anyone that only knows the original version just stops there. Anyone that knows the 2nd version has enough smarts to look at the 2nd version bit (or field).

      yes, that's why in ipvX packets we have a whole byte to indicate the version, isn't it? because they liked being inefficent, even with completely new standards, and even if you can specify the payload protocol in the lower level! ...or not?

    8. Re:Flawed reasoning... by 0xABADC0DA · · Score: 3, Informative

      No, the flaw is yours. The 1 bit merely says "this is not the original version" and anyone that only knows the original version just stops there. Anyone that knows the 2nd version has enough smarts to look at the 2nd version bit (or field).

      In which case once there is a second version you have the exact same packet format as the current ogg, except for an extra mask, test, and one fewer flag bit. So the only gain at all is if you assume there will never be another version, and if there is even one more version then you've caused a pipeline stall for no reason. Which is stupid.

      This goes along with the criticism of the checksum field as 'wasted space', but it is probably put there so you can reliably find the page header if doing a random seek. Which if you can do, then you don't need a time index because you can do a binary search to find any time index with only a tiny bit of extra seeks.

      I haven't looked at these formats in depth, but it sure sounds like this guy is clueless.

    9. Re:Flawed reasoning... by noidentity · · Score: 1

      OK, now that I've read the portion of the article, I can comment. His main point about making the version field only one bit is that a second version might never even exist, and only when it does should more space be devoted to the version number. A one-bit version field does NOT limit future versions, as explained in my previous post.

    10. Re:Flawed reasoning... by Anonymous Coward · · Score: 0

      go tell those ipvX guys. they reserved a whole byte, in every packet, when thay could have used one, and the other 7 for qos or other... guess why?
      hint: because if you know the version is specified in the first 8 bits, you just read a char, instead of reading a bit, then reading an other to see if it's version 2 or 2+, then an other...
      and at the 8th version you have already occupied 8 bits!
      so it's a little more difficoult to parse, it's inefficient at the 8th version, just to save 7 BITS on a stream that is 1MB per second at least???

    11. Re:Flawed reasoning... by keeboo · · Score: 1

      It is not in the header, the 8-bit version field is in every single page. As according to the post a page is mostly 64K due to a strange length encoding, you send the version very, very often. I don't see any reason, why the version would have to change in the middle of a file in any case. And honestly, would you write a decoder taking that into account, if the probability of stumbling onto such a file was currently 0 (due to there being only one version) and very, very low in the future? That means it just adds to the size of the file.

      I think the idea of sending such redundant data is to allow decoding from any point of the stream (think of internet radio, for example... are they going to compress the data for each user connected?).

    12. Re:Flawed reasoning... by msclrhd · · Score: 1

      Not to mention that reading a byte would be faster than performing a mask check (with additional checks if the version bit is 1).

    13. Re:Flawed reasoning... by Anonymous Coward · · Score: 0

      >I don't see any reason, why the version would have to change in the middle of a file in any case.

      Possibly because cat one.ogg two.ogg >onethentwo.ogg creates a valid ogg file which behaves as you would expect it to (which is to say, it plays fine).

    14. Re:Flawed reasoning... by Tetsujin · · Score: 1

      There's at least one obvious flaw in his reasoning. He talks about removing the 8-bit version field in the header and replacing that with a 1-bit portion of the flags field to distinguish it from a hypothetical future version. That only works if one assumes there will only *ever* be two versions (v1 and v2).

      No, the flaw is yours. The 1 bit merely says "this is not the original version" and anyone that only knows the original version just stops there. Anyone that knows the 2nd version has enough smarts to look at the 2nd version bit (or field).

      My problem with that is, as others have noted, the optimization is really only useful until you decide it's time for version 2. Then you're back where you started, except you've lost a bit that you still need to test each time.

      --
      Bow-ties are cool.
    15. Re:Flawed reasoning... by sylvandb · · Score: 1

      No, there is no requirement that the 2nd version do the same packet format or versioning.

      And how is a checksum going to help you find the page header? All a checksum could do is help you verify the header once you've found it!

      The article made a lot more sense in its criticism of OGG than any criticism of the article I've yet seen.

    16. Re:Flawed reasoning... by joggle · · Score: 1

      I haven't looked at these formats in depth, but it sure sounds like this guy is clueless.

      No it doesn't. How many binary formats are you personally involved with? I work in an entirely different line of binary formats but all of his criticisms seemed absolutely valid. It is quite common for CRC values to be optional or at least variable length depending on the medium the data will be used in.

      I work with GPS data with many different formats (each manufacturer tends to have their own format) as well as several industry standard formats for data interchange. In formats that are designed for files there's usually no CRC but provisions for forward or backward scanning, although I have never seen a provision for random access in GPS data (because it almost never makes sense to do so in a time-critical environment--the data is processed either forwards or backwards and even if only processing part of a file the time it takes to seek to the starting point is miniscule compared to the time it takes to process the data).

      In data streams there's usually either a simple checksum or a variable length CRC. There are also many formats where there is simply a one- or two-bit version field using the reasoning of the article's author. It is a complete waste of bandwidth to use a version field any larger because any future version can be completely different. If the developer ends up wanting to have 256 versions of the protocol they can still use a larger version field when there is a need for it (a situation I've never seen or even come close to). Until then, one bit is all that is required. In that case the later format would use a variable length integer for the version in order to maintain backwards compatibility (so there is a potential cost in future formats vs having a fixed version length field, which is why some formats use 2 or 3 bits--depending on how likely the author believes many future versions may developed).

      If I were to design a 'universal' protocol I would certainly make CRCs optional since they are only needed when there is nothing else providing data integrity. If it's a file then the file system itself provides this protection.

      No, from what I read in the article the author is very informed and knows what he is talking about.

    17. Re:Flawed reasoning... by logicnazi · · Score: 2

      No, that's not true. Version 2 can simply define a new bit to indicate whether it's version 2 or later.

      The real problem with this optimization is it's effect on later versions.

      Say one eventually moves to version 12 and each version along the way defines it's own flag. That mean's you've used 12 bits and some very nasty decoding logic to indicate you are a version 12 format when you could have just reserved that one byte and used a case statement.

      I mean the annoyance and difficulties created by using a next version flag (and the poor scaling behavior with higher version numbers) is a high price to pay to save a couple bytes in a multimedia codec.

      --

      If you liked this thought maybe you would find my blog nice too:

    18. Re:Flawed reasoning... by Anonymous Coward · · Score: 0

      No, there is no requirement that the 2nd version do the same packet format or versioning.

      1. Read the version byte
      2. Branch to version specific code

      vs.

      1. Read the version flag
      2. Mask with version 1 bit
      3. Branch to version 1 specific code
      4. -or- read other version bits/byte for V2, etc
      5. Branch to version 2+ specific code

      What are you missing here? It's patently obvious that the first is much better in every way except in the very first version.

      And how is a checksum going to help you find the page header? All a checksum could do is help you verify the header once you've found it!

      If you seek to an arbitrary location you are probably in the middle of some video or audio data. You keep reading until you find something that 'looks like' the next page header, then you verify it against the checksum. If it doesn't verify, you keep going. Having a version of 0x1 instead of a single bit helps here also. This means you don't need to have an index of [time,offset] pairs in order to seek (either at the beginning or the end). It also means you can't really have an ogg container inside an ogg container and still do random seeks, but so what.

      The article made a lot more sense in its criticism of OGG than any criticism of the article I've yet seen.

      "People don't drink the sand because they're thirsty. They drink the sand because they don't know the difference."

    19. Re:Flawed reasoning... by hitmark · · Score: 1

      both being there when things start, and complex servers seems to fit the big corp way of doing things perfectly, while the opposite seems to be perfect for shoestring budget streamers.

      --
      comment first, facts later. http://chem.tufts.edu/AnswersInScience/RelativityofWrong.htm
    20. Re:Flawed reasoning... by Josef+Meixner · · Score: 1

      You misunderstood my argument. I don't mean to have two headers, one saying "use the last version you found in the stream" and one which defines the version. Instead I mean to say, that if the bit is 0 it says it is the first version of the file format. Currently there is no other version. If another version of the format is introduced the bit is set to 1 and meaning a decoder which doesn't support the new version will know, that it is pointless to try, as it won't be able to understand the format (because if it was compatible, where was the point to change it?).

      But a newer version of the decoder can see, that it is not the first version and knows, that in the new version of the format, a field with the exact version (2, 3, 4, ...) can be found in a different location. It could again only be a single bit, but that would probably be a big problem, as with every version you need to look in more places, but you could add it immediately after the first bit giving you 10 (in binary) as the version identifier. Obviously that scheme gets expensive if many versions are needed, but as time has shown until now no new version was needed, so it is something happen rarely.

      But you will still get the full version info in every packet, streaming is the same as now. You won't loose anything if you use only one bit, as it only serves as marker to define, that if is the first version of the file format or a later version.

    21. Re:Flawed reasoning... by Josef+Meixner · · Score: 1

      Sorry, but that argument is bogus. If we assume, that the format of the container does not change mid stream, then I need one page header to configure the decoder and all following packets will only be checked to make sure we are still at the same version. The cost difference is minimal. And as long as no new format is out (like currently) you won't have any cost at all. If that cost is even of any significance, I would be surprised if it would be measurable as the time difference is tiny compared with the time it takes to decompress audio/video and all that is necessary to make it audible/visible.

  10. what is the point, exactly. by theheadlessrabbit · · Score: 4, Insightful

    I'm not an expert in video or audio production, I just dabble in it as a hobby. but one thing I often wonder is, what is the point of these container formats?

    I've got a miniDV camera, and a canon point and shoot that thanks to chdk can record good-enough video. Both give me ".AVI" files, even though one is miniDV, while the other is Mjpeg. Mjpeg files don't work in my editor, while miniDV does. but I didn't know this at first, all I knew was that I have a bunch of .AVI files sitting in my hard drive, some work, some don't. I dont care about file extensions, I care about having files that work. I care about codecs. If they were named "filename.minidv" and "filename.mjpg" that information would be useful to me. What good is a container format when only half of the files within that container will play on my system?
    I'm not trying to knock the idea of container formats, if they exist, their must be some beneficial reason for them. Could someone please enlighten me on what that reason is?

    --
    -I only code in BASIC.-
    1. Re:what is the point, exactly. by Dragoniz3r · · Score: 5, Informative

      Because, in general, you don't only want a video stream. You want to be able to bundle multiple streams together (usually of different types, eg an audio stream and a video stream). Vorbis, for example, is audio. Theora would be video. Ogg (the container) exists to bundle them together into a single file, so you can have a movie and sound with it.

    2. Re:what is the point, exactly. by Anonymous Coward · · Score: 4, Informative

      I'm not an expert in video or audio production, I just dabble in it as a hobby. but one thing I often wonder is, what is the point of these container formats?

      The point of containers is to make the contained media modular. This way, you can assemble a multimedia ("many media"... whodathunkit) file from several individual pieces of media, each with codecs that may or may not be on speaking terms, into a cohesive file that i played as a unit.

      If you define a format that has a video track and two channels of audio, you might think, hey, that's great, and play stuff on your computer. But what if you want a 5.1 audio track? Make another format, one for stereo and one for 5.1. Second audio program, like an alternate language? More formats: one for stereo + stereo SAP, one for 5.1 main + stereo SAP, one for 5.1 both; up to 5 formats now. Subtitles or closed captioning? More formats: up to 20 now. A different audio codec? Even assuming the SAP tracks and main use the same codec (they might not; depends on where you got the SAP track from), add 20 formats per audio codec. Multiple video codecs? The number of formats can grow exponentially. And we haven't even gotten to things like multiple camera angles and sideband info like text commentary, HTML links to things discussed in the show, or TV listings.

      Or you can define a container and then, in each of those cases, only need to define a new component to be put into the container, and you're done. Containers make things much simpler and easier to implement.

    3. Re:what is the point, exactly. by reacocard · · Score: 2, Insightful

      But its not just one codec that's involved, it's multiple. A typical video file will have at least two, one for video, one for audio. If you have alternate audio streams or subtitles, you need a codec for each of those as well. The purpose of a container is to let you take all these streams in their individual codecs and put them together in one file for easy playback. I'll grant you that it's not optimal to have some files with a given extension playable and some not, but with such a multitude of codecs in a single file it's just not possible to condense all that information down to a single file extension.

    4. Re:what is the point, exactly. by Anonymous Coward · · Score: 0

      well without containers, you'd have to have separate files for the audio and video, and subtitles

    5. Re:what is the point, exactly. by Anonymous Coward · · Score: 0

      Because historically (and for good reason) audio and video have been encoded separately. Thus you need a master format that can wrap around both and coordinate their playback.

    6. Re:what is the point, exactly. by cheesybagel · · Score: 2, Informative
      Code reusability. You can use an MPEG-4, MPEG-2, or MPEG video codec with the same MP3 audio codec. The integration parts of the code can be reused as well. Forward compatibility: you can easily make a library so programs can use the same API to decode a variety of codecs. This means a program can support file formats which did not exist when it was written.

      Of course this is mostly true for player software. Editing software sometimes wants to do more low level bit twiddling (e.g. to minimize recompression) and accesses the files in a more direct fashion, bypassing the standard OS APIs. It is also likely your programs use different OS media APIs. Windows has like two different APIs: VfW, DirectShow. There are also some apps that use the Quicktime API.

    7. Re:what is the point, exactly. by MobyDisk · · Score: 1

      There are a lot of benefits to containers. I'm sure I can't name them all.

      These container formats contain multiple types of data streams. Ex: audio, video, multi-language subtitles, etc. If you don't have a container format, then the software must guess at what streams are in the file. Would a file with H264 video + MP3 audio have a different extension from H264 + AAC? What if I add subtitles, does that need another extension? The container file solves this.

      Because there are multiple streams, the software could simply pass-through unknown data streams. Maybe this particular app doesn't understand subtitles. So it doesn't recognize a stream ID of 12345 - it can display a warning, but preserve the data in the container.

      It makes it possible for software to support new codecs because there is a globally unique way to identify the codec. So your software opens an AVI file with an MJPG stream. What can it do? Well, it could go to it's update site, query for MJPG codecs, and download it. Without the container format, the software has to guess based on the extension. And that isn't necessarily enough to know exactly what the file contains - this relates to my first paragraph, about the multitude of extensions.

      Having a container format also means a lot of code is shared. Code for buffering, I/O, handling time stamps, live data streaming, synchronizing different streams -- those things are going to vary based on how the container is put together. Some things work on time stamps, others work on integer time indexes. Some interleave data, and use different methods for doing so. There are different ways of handling variable-bitrate data. It makes it easier for the developers, and faster to add additional codecs.

      Metadata such as copyright information won't get lost when transcoding the file if the container format is the same.

      Having lots of containers is a pain. It would be best if we could standardize on one. You are right that it does make it harder for the user to determine if the file is supported by that particular app. Not sure what to do about that though.

      Lastly -- what app doesn't work with MJPEG .AVI files???? That's like the absolute baseline most commonly, easily-supported format.

    8. Re:what is the point, exactly. by Anonymous Coward · · Score: 0

      If you dont have a standard container then you would have to invent new ways of encoding audio video and subtitle information into one file anyways. Containers allow you to use already well developed ways of encoding this information (mp3, mpeg, ASS for example) and combine them into one file which is properly synced and aligned. If you didnt have container formats you would have to develop a bunch of new technologies to encode them all together in some new way and then play them back. Or you could just leave them seperate, but this means to play a video you would have to keep at least 3 times as many files around, and manually point your player to each, not to mention syncing issues.

    9. Re:what is the point, exactly. by ink · · Score: 1

      Think about an HTML file. It can contain embedded objects and/or alternative tags, or newer tags, all of which your browser may or may not work with. Containers are important because they provide the meta information that players need to orchestrate the various streams embedded in them. Some containers were built for instant streaming in mind (FLV). Some were simple data partitions (AVI). Some are jack-of-all-trades that do everything (MKV). Some are so simple that the user has to provide information about the video in order to interpret them (raw YUV). Some containers are horrible at seeking to key frames (WMV). Some easily get out of sync audio (AVI). Ideally, we should be using Matroska for everything -- but we don't live in an ideal world.

      --
      The wheel is turning, but the hamster is dead.
    10. Re:what is the point, exactly. by jhfry · · Score: 1

      A container format is a necessary evil. There is much more to any media file than just the content. Potentially in any media file there may be metadata, timing information, synchronization information, subtitles, multiple language audio streams, multiple video streams, 3d video streams, surround sound information, interactive content, etc.

      A good container format is one that allows all of those things in a way that developers supporting that container format can utilize in a standard predictable way.

      If you did away with the container, your issues with .avi now would be severely compounded as your software must determine how to combine several files into one complete presentation. This is what many editing packages do... and even ones costing hundreds of dollars can have a hard time of it sometimes.

      --
      Sometimes the best solution is to stop wasting time looking for an easy solution.
    11. Re:what is the point, exactly. by theheadlessrabbit · · Score: 1

      Lastly -- what app doesn't work with MJPEG .AVI files???? That's like the absolute baseline most commonly, easily-supported format.

      Sony Vegas 7a does not have mjpeg out of the box. The audio track opens, but no video (I will be upgrading to 9 pending the completion of one more video job. I only invest into this hobby what I make from it)

      I eventually got it to work thanks to ffdshow, but it was a year before I stumbled upon that solution.

      I think I understand the purpose of container formats now.
      To use a non-car analogy: it's like having multiple separate channels coming at you simultaneously. if one is not recognized by the system, that one channel can be ignored while the others will continue to work.

      --
      -I only code in BASIC.-
    12. Re:what is the point, exactly. by JesseMcDonald · · Score: 1

      If all you have is a single video stream then you don't really need a container. However, once you start adding in audio tracks, subtitles, and interactive features (e.g. menus), you need some way to combine these streams together in a manner which minimizes the need for buffering and/or random access (seeking) during normal playback. Container formats also supply the format identification, tags/metadata, and indexing/seeking support which raw formats typically lack.

      --
      "The state is that great fiction by which everyone tries to live at the expense of everyone else." - Bastiat
    13. Re:what is the point, exactly. by Neon+Spiral+Injector · · Score: 1

      You do make a good point about the name, though. A name like: filename.pcm.dv.avi, or filename.mp3.mjpg.avi would reveal a lot more information. Too bad that scheme isn't more widely used.

    14. Re:what is the point, exactly. by nine-times · · Score: 1

      Yes, and you can even include alternate streams and additional metadata into the same container. So a single container file might hold a video stream divided into chapters, stereo audio with English, surround sound audio with English, stereo audio dubbed into Spanish, English subtitles, and Spanish subtitles. The player might then be able to choose which streams to play.

      So that's the point of having a container format, but it can be somewhat annoying have multiple files using the same container format with the same extension, but with different codecs and incompatible with different players. I do agree that it'd be nice if vendors would give incompatible implementations different extensions so that you could spot them from looking at the file system. Like I don't really like getting an AVI file and not knowing whether I need to install an additional codec, or getting an MP4 file and not knowing straight off whether it will play on my PS3.

    15. Re:what is the point, exactly. by jedidiah · · Score: 1

      > I'm not an expert in video or audio production, I just dabble in it as a hobby. but one thing I often wonder is, what is the point of these container formats?

      Contemplate the difference between an AVI file and a DVD for awhile.

      Not everyone is interested in the simplest sort of content imaginable.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    16. Re:what is the point, exactly. by Jesus_666 · · Score: 1

      The problem is that it's more complex than just "which video codec does this use?". Whether or not a device supports a given file can depend on the container, video and audio codecs, video and audio bitrates, video resolution etc. If you were to add an such information to the file extension you'd end up with file names like Transformers 3.h264-1080x1920-1200kbps.aac-44khz-128kbps.srt.srt.bmp.chapters.mkv. Informative but extremely unwieldy.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    17. Re:what is the point, exactly. by Lehk228 · · Score: 1

      hang me as a heretic, but wouldn't it be better to just put the stream files all into a directory, and only merge them when exporting for stream playback such as off a DVD or to be read on an embedded device?

      --
      Snowden and Manning are heroes.
    18. Re:what is the point, exactly. by nine-times · · Score: 1

      Is it too crazy to say, "If it has an MKV extension, then it can only use [certain streams, bitrates, and codecs]. Don't say your player supports MKV unless it supports all of those. If you want to make a container that uses different codecs, use a different container."

      I mean, from a consumer/user standpoint, it's just a little retarded to have to say, "This player plays files encoded in H264 with the MP4 extension, but not all H264 encoded files with an MP4 extension. If you know a crapload about container formats, then maybe you know the difference."

    19. Re:what is the point, exactly. by nine-times · · Score: 1

      Well they might get separated and lost more easily. It's easier to keep track of a single file than to track multiple files and make sure they all keep their relationship. Plus container formats do things like... keep the various streams in sync, allow embedding of metadata.

    20. Re:what is the point, exactly. by Jesus_666 · · Score: 1

      You might try to convince the developers to come up with a pseudo-standard (like the various Zip derivatives) but they're unlikely to limit their container to an arbitrary subset of all codecs, especially since this precludes all future codecs from ever being used.

      Such a pseudo-standard might say "files ending in .mv1 are Matroska (version V) files with exactly one video stream using codec A with resolutions R1, R2 or R3 and bitrates BR1, BR2 and BR3; one audio stream using codec B with sample rate SR and bitrate BR4; and any number of subtitles and chapter metadata". Future revisions would increment the number at the end. Add a fancy name to the new "standard" and sell that to device manufacturers. Might work, but only for devices which cater to the market you're aiming the "standard" at.

      The whole thing doesn't doesn't work if a device simply doesn't support the specific resolutions required. Or the audio bitrate. Or has other restrictions the "standard" doesn't even touch on. For example, most PDS-sized devices are perfectly capable of playing back videos - as long as they have been scaled down to somewhere in the general vincinity of the device's screen size and use one of few supported codecs with specific parameters. And don't use certain features of the container. All of which vary from device to device.

      Unless the device market becomes clearer and more uniform you will have to compare specific details of your file to the device's capabilities. Unless you want everyone to use H.264 with stereo AAC sound at 320x240 and 30 FPS. No subtitles, no surround sound, no high-res video. That's about the baseline.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    21. Re:what is the point, exactly. by Bent+Mind · · Score: 1

      I've got a miniDV camera, and a canon point and shoot that thanks to chdk can record good-enough video. Both give me ".AVI" files, even though one is miniDV, while the other is Mjpeg. Mjpeg files don't work in my editor, while miniDV does.

      If you are just doing web-cam quality recording, AVI should be just fine. If you want DVD( or higher) quality video longer than about an hour, multiple sound tracks, subtitles, or menus, AVI files no longer work.

      Mjpeg files don't work in my editor,

      Ironically enough, this is one of the major problems with most (all?) proprietary codecs. They cost money to use. Most times, this payment is made by the programmer/publisher. To keep the software affordable, they limit the number of proprietary codecs used. If you want software that supports more proprietary codecs, pay more. Your other choices are to pick a common codec that supports what you need and software that supports it, or use non-proprietary codecs.

      --
      Request a Linux Shockwave player here: http://www.macromedia.com/support/email/wishform/
    22. Re:what is the point, exactly. by Anonymous Coward · · Score: 0

      they're unlikely to limit their container to an arbitrary subset of all codecs, especially since this precludes all future codecs from ever being used.

      I'm liking this idea already!

      You have no idea how I detest it when something won't play because it needs a newer version of flash, or you need to download a new codec, or whatever other incompatibility.

      I don't particularly care how much you like "Bob's defective codec". I don't want to download it to see your crap, which was probably designed to exploit some flaw in the required codec.

    23. Re:what is the point, exactly. by nine-times · · Score: 1

      they're unlikely to limit their container to an arbitrary subset of all codecs, especially since this precludes all future codecs from ever being used.

      Just come up with a different extension, for christ's sake. What's so hard about that?

      We do it with all sorts of things. We don't say, "We can't limit what goes into a MP3, because that will proclude future codecs from ever being used!" No, we say, "This is what's in an MP3 file. If we create new audio codecs and new file formats, we'll use a different extension."

      And there's a very good reason we handle things this way: when you get an MP3 (or whatever), you don't want confusion over whether you can play it. If your media player says it supports MP3s and you try to play an MP3, it shouldn't tell you that you need to download a different MP3 codec.

      And when MPEG came up with AAC, people didn't continue to use the extension ".mp3" for it. When JPEG came up with a new incompatible graphics format, they didn't keep using ".jpg". I don't know what's so crazy about coming up with a standardized MPEG4 container that you can assume is H264, AAC, support for chapters, alternate audio, and subtitles, and leaving it at that. When something better than H264 comes out or people want to include some new kind of metadata, pick a different extension so that people know it's an incompatible standard.

    24. Re:what is the point, exactly. by Jesus_666 · · Score: 1
      You're comparing apples to oranges. MP3 files can't contain anything but an MP3 stream and an optional ID3 header. The format was designed to contain MP3 streams, period. MKV, on the other hand, is a complete audio/video container format designed to support a variety of codecs.

      If your media player says it supports MP3s and you try to play an MP3, it shouldn't tell you that you need to download a different MP3 codec.

      You apparently never tried to use MP3s on mobile devices. Unless you use something with a smartphone-class processor to play them back you will have to conform to arbitrary restrictions like "no more than 192 kb/s", "no VBR" or even "not encoded with certain encoders". If you don't meet the criteria, the file might play back incorrectly or not at all because the decoder chip can't cope.

      And when MPEG came up with AAC, people didn't continue to use the extension ".mp3" for it.

      Of course not, because an MP3 file can't possibly contain an AAC stream.

      When JPEG came up with a new incompatible graphics format, they didn't keep using ".jpg".

      Of course, because .jpg files can't contain JPEG 2000 data. Do note, however, that .jpg files can contain either JIF, JFIF or JIF/JFIF+Exif data, all of which are, strictly speaking, incompatible with each other. Also, the data might be progressively encoded, which is not supported by every decoder; not to mention the obscure 12-bit JPEG.

      I don't know what's so crazy about coming up with a standardized MPEG4 container that you can assume is H264, AAC, support for chapters, alternate audio, and subtitles, and leaving it at that.

      You'd assume that the MPEG would have come up with such a format instead of relying on random external groups to do so. They did. It's called MPEG-4 Part 14 (more commonly known as .mp4).

      So essentially your problem with Matroska is that they didn't develop a format specific to a certain codec when a format for that codec had already been developed and published and was completely orthogonal to what their project aimed to do. That's a bit like complaining that Tesla Motors didn't invent the road tractor: It was already there when their first product hit the street and it doesn't do what their products are all about.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    25. Re:what is the point, exactly. by nine-times · · Score: 1

      Of course not, because an MP3 file can't possibly contain an AAC stream.

      But... but... that precludes future codecs from being used in ".mp3" files! Oh, right, that's totally not a problem, because we come up with new formats for the new codecs.

      Of course, because .jpg files can't contain JPEG 2000 data.

      Of course they can. Rename a JPEG 2000 file to have the ".jpg" extension, and a .jpg file will be containing JPEG 2000 data. It's not what you're supposed to do, though, because that would be stupid. We use the file extension to indicate the encoding so that we know whether a certain viewer will be able to display it.

      It's called MPEG-4 Part 14 (more commonly known as .mp4).

      Files with the .mp4 extension can still use different codecs and be incompatible. For example, I've seen .mp4 files that will play on my PS3 and some that won't play on my PS3. Same with AVI.

      So essentially your problem with Matroska is...

      No, my problem with the way people use container formats in general is that it's confusing to users. From a users perspective, vendors are choosing to use the same extension for several similar but incompatible file formats for no apparent reason. If we want to do that, we may as well just give all video files the extension ".vid" and be done with it.

    26. Re:what is the point, exactly. by stardaemon · · Score: 1

      I'm not an expert in video or audio production, I just dabble in it as a hobby. but one thing I often wonder is, what is the point of these container formats?

      I've got a miniDV camera, and a canon point and shoot that thanks to chdk can record good-enough video. Both give me ".AVI" files, even though one is miniDV, while the other is Mjpeg. Mjpeg files don't work in my editor, while miniDV does. but I didn't know this at first, all I knew was that I have a bunch of .AVI files sitting in my hard drive, some work, some don't. I dont care about file extensions, I care about having files that work. I care about codecs. If they were named "filename.minidv" and "filename.mjpg" that information would be useful to me. What good is a container format when only half of the files within that container will play on my system? I'm not trying to knock the idea of container formats, if they exist, their must be some beneficial reason for them. Could someone please enlighten me on what that reason is?

      Faster seeking (index), multiple audio and subtitle streams, chapters. Just of the top of my head. There are probably others, like having video and audio in the same file to begin with;)

      --
      The only way to stay sane in an insane world, is to be mad yourself...
    27. Re:what is the point, exactly. by hazydave · · Score: 1

      Sony Vegas don't have an MJPEG CODEC built-in.. but neither does Windows. MJPEG itself was never standardized as an AVI format, because Microsoft never supported it. There were several different, not quite compatible versions of MJPEG on AVI in the years before DV, and they all kind of went away after DV came out. DV is basically just a standardized MJPEG, after all.

      Where MJPEG is standard, it's usually done in Quicktime, because Apple set the standard by brute force: here's the MJPEG specifics for Quicktime, use them or die. So pretty much every digital still camera that does MJPEG produces a .mov file, not a .avi. If they do the .avi, they include a disc with MJPEG CODEC for Windows.

      Incidentally, out of the box, Vegas supports MJPEG on Quicktime quite readily. There's just no standard in Windows, so unless you installed the CODEC that came with your device, you probably don't have it.

      --
      -Dave Haynie
    28. Re:what is the point, exactly. by hazydave · · Score: 1

      The issue is, there's a crazy level of information in every video file, which is not terribly useful to the average user... too much to include in the filename, and for no real value. There are free programs, like GSpot, that will analyze the contents of an AVI for you. This is one of those situations in which, if the information is useful to you, you probably already have this kind of tool, if not, you're just going to get confused by silly solutions such as 60-character filenames.

      --
      -Dave Haynie
    29. Re:what is the point, exactly. by hazydave · · Score: 1

      I should also point out that media containers were not originally designed for random things being distributed over the internet. Rather, they are for developers to author and users to play back.

      As a professional, if I put stuff on a DVD or a Web site that the average computer user couldn't see, that disc or site would include whatever drivers or CODECs one needed in order to video my media. That's still pretty much the rule.

      This is very useful for professional work. For example, I bought a license for the Cineform CODEC, which is an "intermediate" CODEC, designed for fast editing of computationally expensive formats like MPEG-2 and AVC. Not so expensive on their own, but try doing 10 or 20 layers of video in a single project, and you'll meet "slow" on any PC. The multimedia frameworks allow video and audio editors to use new CODECs without any changes to their own code.

      At the fringes, sure, you have pirates and crazy people putting weird stuff inside AVIs, without telling you what it is. But this is not a general problem.

      --
      -Dave Haynie
    30. Re:what is the point, exactly. by hazydave · · Score: 1

      You don't understand AVI.. it's a generic media holder, not a format. Sure, there are low quality AVI formats. On the other hand, I have a couple of 120-or-so-GB AVI files on one of my HDDs right now, with video about twice the resolution of Blu-Ray. AVI can contain just about anything.

      Most older P&S cameras record Motion JPEG in either AVI or Quicktime (.mov) format. Some are lower than DV quality, but not all. The video recorded by my Panasonic DMC-TZ5 is 1280x720/30p in MJPEG (in a Quicktime wrapper), generally better than DV from most consumer camcorders.

      Windows ships with a DV CODEC, so DV files generally work. It does not ship with an MJPEG CODEC, and in fact, there's no Windows standard for the small details in MJPEG. If you have a camera that does MJPEG video in AVI, it comes with a disc that includes an MJPEG CODEC for its particular flavor of MJPEG. It was kind of stupid for Microsoft to not standardize this, but they didn't. Apple did, which is why most of the newer cameras doing MJPEG are using Quicktime containers. Canon makes some sweet cameras, but they've been way behind on video-in-P&S issues. Thus, my Panasonic P&S, despite the fact I own several Canon film cameras, one DSLR, and a DV camcorder.

      --
      -Dave Haynie
    31. Re:what is the point, exactly. by Jesus_666 · · Score: 1

      But... but... that precludes future codecs from being used in ".mp3" files! Oh, right, that's totally not a problem, because we come up with new formats for the new codecs.

      I know, I shouldn't be feeding trolls but please do read up on the terms "container" and "codec" and why the two aren't interchangable. MP3 files and MKV files serve fundamentally different purposes; they just happen to be used in similar scenarios.

      We use the file extension to indicate the encoding so that we know whether a certain viewer will be able to display it.

      No, we use the file extension to indicate the file type, which is something else. And even knowledge of the "encoding" (which does not mean what you think it does) only gives us vague clues as to whether a given device or program can open the file. This applies even to very simple formats like MP3 files (bitrate, samplerate, CBR/VBR, stereo encoding scheme and even the presence/absence of particular versions of ID3 tag can all influence that), Windows Bitmaps (may have one of six different color depths, may use of of several compression schemes, may use one of five different header types and may even be a wrapper for a JPEG or PNG image) and text files (try opening a file encoded with UTF-16, GB 18030 or CP 01047 with a program that only supports ASCII, which can happpen on an embedded device). This also applies to .xhtml, which may or may not contain JavaScript, MathML, SVG etc.

      Few file formats contains only one thing that can be unambiguously identified just by looking at the file extension. You always need to look at what's inside and that may or may not be supported by all programs/devices using it. Modern BMP libraries might not be able to read OS/2 bitmap arrays. MP3 players can choke on a high-quality VBR MP3 as their hardware/firmware is not capable of decoding it - or they don't. Or maybe it's dependent on which encoder you used. It's actually impossible to tell without trying it out (or reading the review of someone who did). It might even change between firmware revisions.

      From a users perspective, vendors are choosing to use the same extension for several similar but incompatible file formats for no apparent reason. If we want to do that, we may as well just give all video files the extension ".vid" and be done with it.

      No, file extensions denote one thing very clearly: The file type. This is to tell the OS, not the user, how to read the file - and it's a Windows tradition. Do note that usage of file extensions was not always universal. For instance, Mac OS only really took up file extensions with OS X; prior to that files often just had associated metadata which was the primary means of identifying file type. File extensions are just an in-band way of transmitting metadata which is primarily meant for the device, not you. Note that Windows still hides known extensions by default. It doesn't do that to be mean, it does it because Microsoft assumes that the exact file type shouldn't matter to most users as long as they know it's a "text file" or a "video".

      If you want easily accessible information about what exactly a given file contains (down to which codecs at which settings were used and which kinds of subtitles the file contains) you need to ask your OS vendor to include an overview of that in the file manager. Or ask whoever distributes the file to include proper metadata. Don't ask the developers of file formats to artificially restrict the capabilities of their formats because you can't be arsed to open the file in VLC and have a look at the stream inspector.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    32. Re:what is the point, exactly. by nine-times · · Score: 1

      No, file extensions denote one thing very clearly: The file type.

      And what's a "file type" then? What distinguishes one "file type" from another?

      It seems you'd like a circular definition where what distinguishes "file types" is what extension they have. JPEG and JPEG2000 are different "file types" because they have different kinds of data in them, but MKV is always the same "file type" because it has the same extension.

      In reality, the reason we use extensions and file-types is so that we can know which viewer to throw the file into. Either the OS does this automatically based on extension, or we know by looking at the extension ourselves. Having multiple different kinds of files using different types of encoding which might need to be viewed in different viewers, but all having the same extension and "file type" pretty well defeats the purpose.

    33. Re:what is the point, exactly. by Jesus_666 · · Score: 1

      And what's a "file type" then? What distinguishes one "file type" from another?

      The magic number. In cases where that's ambiguous: The magic number and the data neccessary for a program to determine which of the possible types is the correct one. If we want to expand the definition a bit let's add possible metadata used to make a brief summary of the file's contents as delivered by the *nix program file, although that information technically doesn't differentiate between different kinds of file.

      Having multiple different kinds of files using different types of encoding which might need to be viewed in different viewers, but all having the same extension and "file type" pretty well defeats the purpose.

      Please give me an example of such a scenario. I have never encountered a special kind of MKV, AVI or other video file that I need to open in one specific media player that I don't use for most files of the same type. Certain file types that warrant a specific application, yes. But in those cases I always use the same program for that file type. (There is the case of self-extracting archives but they do warrant the .exe extension because they indeed are PE files and Windows determines executability based on the extension.)

      Yes, there's your "my Playstation only plays certain codecs" case but remember that neither the Playstation nor the container format were designed for the use case of playing random media files on the Playstation. The container format was designed for use on PCs where it's reasonable to assume that a missing codec can be easily installed. Embedded systems (and yes, your PlayStation does count due to software restrictions) always suffer from limitations and it's not reasonable to assume that the rest of the world will limit themselves to their level just to indulge them.
      Case in point: The iPod touch can only handle video in 320x480 resolution. Would you want to limit all video files to that resolution just so they can easily run on the iPod? No, you wouldn't. So why should everyone be restricted in which codecs and settings they can use, which all work perfectly fine on all devices the files are intended for so you can run them on certain embedded devices?

      I already mentioned that one could make a pseudo-standard where you use a nonstandard file extension to denote files adhering to certain restrictions (eg. ones that you can play back on your PlayStation), which you refused because you absolutely insist that the container format shouldn't support other codecs and settings at all. By the way, what would we use as a baseline? What the PlayStation 3 supports? The XBox 360? The Wii? The Archos 7? Most likely your answer would boil down to "what fits my specific use case".


      In the end you insist that container formats should be made to do things they were never intended to (deliver one specific audio and video codec each with specific parameters encoded in a specific way) just so you can more easily put files on your specific embedded player. Why not change the part that's causing the problem, the player? That doesn't require a whole industry standard to bend over backwards to support one specific device that, I might add, only came out recently. If that isn't possible for some reason, why not come up with a special file format for that device? you'll need to reencode all videos for the device but there won't be any ambiguity anymore.

      And no, most users aren't confused by the fact that an AVI or MKV file might use H.264, DivX or Theora to encode video - they only care that it's a video file and that their media player of choice can play it back, which it can if they either use VLC or have installed a codec pack. And even if they care about the codec, the source of the video usually gives you some metadata. Whether you ripped the video yourself or got it off a torrent site, at some point you will have been presented with a piece of text that told you which codecs were involved. If you cared you wrote it down and if you didn't it's easy to determine it later; any media player can do that. Even for unknown codecs (although you'll have to google the FourCC).

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    34. Re:what is the point, exactly. by nine-times · · Score: 1

      I have never encountered a special kind of MKV, AVI or other video file that I need to open in one specific media player that I don't use for most files of the same type

      Then you're either not very experienced or... maybe you've been using nothing but VLC your whole life? For example, both Quicktime and WMP are set to open AVIs by default and can open AVI files. However, they can't open DivX AVI files without installing a special codec. Some of this has been addressed in Windows 7, which includes more codecs by default, but there are quite a lot of instances where a given player can play some kind of AVI, MP4, or AAC file but not *all* AVI, MP4, or AAC files. Sometimes the problem is the codec. Sometimes it's because they're using slightly altered containers.

      I've also seen the problem with individual devices. It's one thing if the device can't play a specific resolution or bitrate, but I've seen it where the device will play one MP4 file at a certain resolution and bitrate, but not play another MP4 file at the same resolution and bitrate. I had to transcode the file from MP4 to MP4 using FFMPEG in order to get the thing to play. It's retarded.

      Why not change the part that's causing the problem, the player? That doesn't require a whole industry standard to bend over backwards to support one specific device that, I might add, only came out recently.

      Yeah, that might make sense if the problem were 1 specific player rather than an assortment of software players, software editors, and hardware devices which each use different incompatible variations and don't include support for other variations. Perhaps people would make a greater effort to standardize, then all the players, editors, and encoders could interoperate better.

      Still, I'd say the varied use of vague container formats makes matters worse. I don't have a problem with container formats like MKV per se, but I'd rather encourage vendors to standardize on a subset of the format, carrying a different extension, that specifies codecs and even tries to standardize the sort of content and metadata it holds. You'd lose some flexibility, but it would make the whole experience of dealing with video a little less stupid and arbitrary.

    35. Re:what is the point, exactly. by Jesus_666 · · Score: 1

      For example, both Quicktime and WMP are set to open AVIs by default and can open AVI files. However, they can't open DivX AVI files without installing a special codec.

      Which is why I explicitly mentioned having installed a codec pack. It's hardly a fault of the container format that the operating system doesn't ship with all codecs. Even if we lock the container to just one codec and the format was published before the OS went into feature freeze for the release there's still a good chance it wouldn't be included due to licensing issues (for example because the OS vendor doesn't want to license the codec for every copy of the OS they sell). Codec packs will always be a neccessity unless you use a player that uses its own set of codecs.

      Sometimes it's because they're using slightly altered containers.

      The standard is not at fault when people simply don't implement it correctly. "Slightly altered" usually means "violating the spec" and "working only by coincidence". Don't expect broken files to work.

      I had to transcode the file from MP4 to MP4 using FFMPEG in order to get the thing to play. It's retarded.Which could be due to a slightly broken container or due to one of the used codecs using a feature your player doesn't understand. Welcome to the world of embedded media players. You can't easily standardize this away because we're once again at the baseline problem: Which current devices do you include, which do you exclude? What kind of processng power do you assume for ALL future devices? Because that's what your standard would enforce if successful.

      An unwise choice might mean that even portable media players with a 3" screen must have enough processing power to decode 1080p video (which, actually, would preclude any success in the portable media market as such a strong processor would be unacceptable in terms of both heat and power consumption). However, if we set the bar lower the format becomes unusable for high-definition video, which will severly hamper its use in other markets. One-size-fits-all unfortunately doesn't work here because the requirements for the various use cases are disparate enough to be mutually exclusive in some cases.

      Yeah, that might make sense if the problem were 1 specific player rather than an assortment of software players, software editors, and hardware devices which each use different incompatible variations and don't include support for other variations. Perhaps people would make a greater effort to standardize, then all the players, editors, and encoders could interoperate better.

      On the software side I don't see many problems anymore. We had a bit of a mess during the DivX/XviD days but nowadays most sane people default to H.264 created with one of few well-known (and well-behaved) encoders. You do still see some other codecs around but those usually don't make much of a problem as well.

      Hardware players... Yes. The problem with hardware players is that they often use trimmed-down decoders that only cater to the most common uses of the codec because a more full-featured implementation would be too slow on the tiny processor (or because the entire decoder is an ASIC and a bigger chip would have been too expensive). The result is that they can be very picky about what they take and what not. We could define some ultra-strict format for use with them but again we'd probably need to define several profiles for various kinds of devices as one size doesn't fit all. And it's unlikely that people are going to release their videos in six different formats, not to mention that many casual users aren't likely to know which profiles their device is going to support.


      I think it's unrealistic to ask for one single format that works everywhere for everyone. The requirements are too different. A better idea would be to distribute the video in a high-quality format and make a program that can convert it to a format understood by your specific player. Yes, you need to spend ages reencoding everything but I think that's the closest we are going to get to "one size fits all".

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    36. Re:what is the point, exactly. by nine-times · · Score: 1

      The standard is not at fault when people simply don't implement it correctly. "Slightly altered" usually means "violating the spec" and "working only by coincidence".

      Depends on how flexible the container is and how explicit the standard is. If the standard leaves room for interpretation and alternate implementations, then it may be possible to create two incompatible yet standard-compliant implementations.

      But yes, if all video players came with full support for every codec and every variation of every container format, then we wouldn't have practical compatibility issues. On the other hand, almost every graphic viewer can read both GIFs and JPEGs, but that hasn't incited us to use the same file extensions.

      Yes, the situation is getting better as everyone is migrating to H264 and AAC, but I see that as supporting my side of the argument here: it's often easier when you standardize rather than trying to devise a way to support every last possible variation.

    37. Re:what is the point, exactly. by Bent+Mind · · Score: 1

      I was thinking of the AVI 1.0 spec when I wrote that. In that spec, file size is limited to 4GB by spec, 2GB by Windows. That spec also fails to standardize methods for encoding aspect ratios or time stamps. It lacks support for variable frame rates. It can not access future video frame data beyond the current frame. There have been several extensions to that spec, created by various manufacturers. It doesn't surprise me that one of them extended the maximum file size. To the best of my knowledge, there is not a current AVI spec that includes all of the extensions. Several of these extensions are not mutually compatible.

      If you are using DV with AVI, and use professional equipment, chances are you are using the DV-AVI Type 1 spec. It keeps the audio/video in the DV-DIF container, dumping the DV-DIF container into the AVI video section to overcome the AVI limitations. A lot of the consumer-grade stuff uses DV-AVI Type 2, which splits the audio off into the AVI audio section. However, you lose DV's tight A/V synchronization. Unless you are targeting a particular platform (Windows in this case), there is no benefit to wrapping DV-DIF in a different container.

      You are correct that Microsoft never standardized MJPEG. In fact, no one did. It's just a bunch of JPEG images stitched together. To consider this a real video standard, you would also have to consider animated GIFs to be real video.

      --
      Request a Linux Shockwave player here: http://www.macromedia.com/support/email/wishform/
  11. umm.. by PPNSteve · · Score: 1

    [flamebait]
    OR, we could go back to .rm
    [/flamebait]

    --
    PPN
  12. slashdotted by WhiteDragon · · Score: 1
    --
    Did you mount a military-grade, variable-focus MASER on an unlicensed artificial intelligence?
  13. Ogg is a nice format by cereda · · Score: 0, Offtopic

    I can't say anything about video, but for audio all my CD collection is converted to Ogg instead of MP3, you can't even spot the difference in quality, thou the filesize is smaller. BTW, my MP3 player supports Ogg playing as well.

    1. Re:Ogg is a nice format by Anonymous+Psychopath · · Score: 4, Insightful

      I can't say anything about video, but for audio all my CD collection is converted to Ogg instead of MP3, you can't even spot the difference in quality, thou the filesize is smaller. BTW, my MP3 player supports Ogg playing as well.

      Audio quality and compression efficiency are controlled by the codec, not the container format. The article is critiquing the latter.

      --

      Eagles may soar, but weasels don't get sucked into jet engines.

  14. In the long run by istartedi · · Score: 4, Interesting

    "In the long run, all file formats become programming languages."

    From this I draw a number of conclusions, the first being that when designing a format you need to bring a "language sensibility" to it. If you don't, it's only a question of *when*, not if, your format will become a poorly designed language. OK, "language" may not be the right word. I'd also accept, "byte code" or "executable file", but it's the same idea. JMHO.

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
    1. Re:In the long run by Late+Adopter · · Score: 1

      What, who said that? That's silly. Not every file needs to have a Turing Complete set of expressiveness, in fact it's better when they don't. The less scope a document covers, the easier it is for code to interpret it. I'll match you with another quote: "Make things as simple as possible, but not simpler." - A. Einstein.

  15. "Everything is broken" by Anonymous Coward · · Score: 0

    His website says "Everything is broken". If that were true wouldn't that, you know, mean that Ogg is no different than its competitors?

  16. Which doesn't answer the question ... by ITMagic · · Score: 2, Insightful

    ... of what format *should* be used in its place.

    It is all very well claiming one format is not particularly good, but overall rather pointless if you don't argue an alternative.

    So the question any .ogg user will have (since they probably chose this slightly obscure format over the more 'normal' .mp3 alternative due to the reputation of being better to listen to from an audiophile POV) is what to use instead? FLAC is fine if you have the space, but sometimes you want to compromise in order to save storage space...

    1. Re:Which doesn't answer the question ... by Hatta · · Score: 1

      He's talking about OGG the container, not vorbis, theora, flac, or speex, which are codecs any of which may be used in the ogg container. MKV is the usual alternative.

      --
      Give me Classic Slashdot or give me death!
    2. Re:Which doesn't answer the question ... by tbannist · · Score: 1

      I'm not sure if the author of the article assumed people knew the intimate details of other formats, but if he had included some relevant compare and contrast with other formats, I might have been moved to actually care about what appears to me to be nothing more than an impotent rant.

      It's got technical details in it, but they lack context and objectivity to anyone who's not a specialist in container encodings.

      Frankly, the random swipes at people who disagree with him, and some of the more bizarre claims (All formats should use a 1-bit version field?) don't inspire me to believe the author or the article.

      --
      Fanatically anti-fanatical
    3. Re:Which doesn't answer the question ... by iMacGuy · · Score: 1

      Matroska is free and "okay". It has some technical annoyances (the authors liked a few codecs so much they made their own special complicated setups for them, the EBML parser is a lot of code) but does have generic codec wrappers and better seeking. It also has commercial support and several extremely practical tools.
      MOV is the best one I know of and is generic (MP4 might not be, the spec 14496-14 isn't public so I'm not sure). The only thing I don't like about it is that the index comes at the end and is required to play the file, so you either have to write the whole thing out twice or you can't play partial files.
      Something like this will probably be added to the article soon, I think he's researching it better than I just did.

      --
      Why won't slashdot let me change my terrible username :(
  17. Technical Objections by Armchair Engineer? by guruevi · · Score: 2, Insightful

    His complaints:

    On top of this we have the 27-byte page header which, although paling in comparison to the packet size encoding, is still much larger than necessary.
    Ok, it's a container format, nobody cares about an extra 27 bytes when you can buy TB of storage for virtually nothing. And if you're complaining because it needs to go in the intertubes, gz compression on the server does a very good job of extracting and compressing plain non-random text like page headers but again, MBits are cheap and unless you're living in the US they are plenty.

    The version field could be disposed of, a single-bit marker being adequate to separate this first version from hypothetical future versions. One of the unused positions in the flags field could be used for this purpose
    It's kind of important to keep track of versions. If your player can't play the next version or an older version it should be able to detect that so it doesn't try-and-fail. It might also want to suggest what version of the player is required.

    A 64-bit granule_position is completely overkill. 32 bits would be more than enough for the vast majority of use cases. In extreme cases, a one-bit flag could be used to signal an extended timestamp field.
    That's what they said about our memory too back in the early 90's. 32-bit addressing is enough, nobody will ever have more than 4G of RAM. Again, these open formats tend to be scalable across time because they need to fulfill a certain mission. Look at ZFS, they have 128-bit addressing but nobody (currently) needs that amount of storage.

    32-bit elementary stream number? Are they anticipating files with four billion elementary streams? An eight-bit field, if not smaller, would seem more appropriate here.
    Why not, how many languages are there around the world? If you need to bring out a media file with subtitles and audio-tracks for each language, braille instructions and who knows what else for open access to certain media, you might want to use more than 256 streams.

    The 32-bit page_sequence_number is inexplicable. The intent is to allow detection of page loss due to transmission errors. ISO MPEG-TS uses a 4-bit counter per 188-byte packet for this purpose, and that format is used where packet loss actually happens, unlike any use of Ogg to date.
    Well, maybe the makers intended Ogg to be used eventually to replace MPEG (c)(patented) and used across links with much higher transmission errors. Sometimes my MPEG-encoded stream I get from my DTV provider has enough errors to stall and cause artifacts. When NASA wants to use Ogg for a non-repeatable stream from outer space, they should be able to. Again, overhead is a small cost to pay these days.

    A mandatory 32-bit checksum is nothing but a waste of space when using a reliable storage/transmission medium. Again, a flag could be used to signal the presence of an optional checksum field
    Ah, well, what is reliable these days? Ever used a large array of hard drives? Ever used a freakin' dial-up connection? As the makers of ZFS, Google and a few others recently have shown hard drive and memory reliability is not as good as we take for granted. Silent data corruption is a major cause of data loss these days.

    With the changes suggested above, the page header would shrink from 27 bytes to 12 bytes in size.
    Whoop-dee-doo, you made it half the size but you sacrificed reliability, error correction and future-proofness.

    Latency
    You show that the overhead is anywhere from 1% to 7%. That might not be the requirements for latency-sensitive applications but then you would again sacrifice other features. That is always a balance between speed and reliability but for most applications it doesn't really matter if the movie needs to be buffered 5ms longer.

    Random access
    You've got somewhat of a point there, maybe somebody will find a solution for that. The issues around indexing however is that seeking within a stream is possible. HTTP servers

    --
    Custom electronics and digital signage for your business: www.evcircuits.com
    1. Re:Technical Objections by Armchair Engineer? by pclminion · · Score: 1

      The reason we have such high-performance compression formats today isn't because we ignore pointless overhead. If you think these technical objections are bad, wait until you read the specs for JFIF, flate streams, etc. Every last bit is squeezed out that can possibly be squeezed out. Even data which only occurs in the header and could be argued to be "constant overhead" are optimized.

      It's true that storage is cheap and always getting cheaper. But compressed formats (and I include their containers) are designed expressly to avoid wasting space. This is one of those cases where ridiculous optimization is the entire point. So, would you like to send an email to the creators of flate and let them know that they're retarded for caring about how many bits a flate header takes up?

    2. Re:Technical Objections by Armchair Engineer? by bbn · · Score: 2, Interesting

      Random access
      You've got somewhat of a point there, maybe somebody will find a solution for that. The issues around indexing however is that seeking within a stream is possible. HTTP servers allow you to start/stop downloading from different points in time and QuickTime is one of those formats that uses this feature.

      He is trying too hard make an issue out of it. Read this:

      In a large file (sizes upwards of 10 GB are common), 50 seeks might be required to find the correct position.

      A typical hard drive has an average seek time of roughly 10 ms, giving a total time for the seek operation of around 500 ms, an annoyingly long time.

      Now being a binary search, each seek halves the size of the search domain. The minimum size a harddrive can read is 512 bytes, so there will be no further seeks after we find a search domain less than that.

      So 50 seeks is only needed with a filesize of 512 * 2^50 = 576460 terabytes.

      For a 10 GB file you would need no more than half that many seeks (25). Take into account that most filesystems do not distribute the file at random over the whole harddrive, which makes the average seek time for the file much smaller than 10 ms. We are probably looking at no more than 100 ms to do this random access search on a 10 GB file.

      100 ms might still be enough to complain about. But he is not making his point stronger by exaggerating the problem.

    3. Re:Technical Objections by Armchair Engineer? by Anonymous Coward · · Score: 0

      My guess is you haven't worked in embedded where the difference between a $10 chip and a $9 chip due to complexity is the difference between being fired or promoted - Every little bit helps if it's simple to implement and easy to expand in the future.

    4. Re:Technical Objections by Armchair Engineer? by bbn · · Score: 4, Insightful

      I forgot to mention that one can do much better than a naive binary search. Read the first and the last of the file to calculate the average block size. Calculate the approximately place your target will be. Jump there and repeat. Once you are very close to your target, read a larger block of data which will get your target by a very large probability.

      This would get your target with not many more seeks than reading an index.

    5. Re:Technical Objections by Armchair Engineer? by pslam · · Score: 5, Interesting

      Your objective is to Armchair engineers? Ok, well I'm not an armchair engineer. I've written my own Ogg/Vorbis decoder from scratch in the past (here). I've worked on codecs for about 10 years. I'm a fan of Vorbis and Theora, but Ogg needs to die a horrible death.

      Ogg was by far the most bug-inducing part of the code. It's just AWFUL. It's ill-designed. It's incredibly complicated. It's inherently inefficient (copy sometimes required).

      In short, it's the worst container format I've used in any serious application, and I've used pretty much all the common ones.

      The irony of what you're saying, is that actually Ogg is what you'd end up with if an armchair engineer designed an audio codec container from scratch.

    6. Re:Technical Objections by Armchair Engineer? by flabordec · · Score: 1

      32-bit elementary stream number? Are they anticipating files with four billion elementary streams? An eight-bit field, if not smaller, would seem more appropriate here.

      Why not, how many languages are there around the world? If you need to bring out a media file with subtitles and audio-tracks for each language, braille instructions and who knows what else for open access to certain media, you might want to use more than 256 streams.

      I know I'm nitpicking but according to wikipedia there are around 514 languages. Which does make the four billion streams seem wasteful, even if you wanted to add subtitles, audio tracks, braille instructions, different camera views and director's commentary in Ter Sami for the two native speakers of that language.

      I agree that these formats should be planning for the future and a big stream number allows for that (640kb ought to be enough for anybody, right?) but I find four billion streams a bit excessive.

      --
      "I see undead people" Warcraft III - Necromancer
    7. Re:Technical Objections by Armchair Engineer? by shutdown+-p+now · · Score: 2, Insightful

      I wonder who's the armchair engineer here...

      Ok, it's a container format, nobody cares about an extra 27 bytes when you can buy TB of storage for virtually nothing.

      It's extra 27 bytes per page, not per total file. "Tb of storage" reference is irrelevant, since we're talking about streaming here.

      And if you're complaining because it needs to go in the intertubes, gz compression on the server does a very good job of extracting and compressing plain non-random text like page headers

      Are you seriously proposing live streaming the entire an audio or video stream (presumably produced by a compressing, lossy codec) through gzip?...

      Or did you suggest just running gzip on the headers? In the latter case, you do realize that the overhead will likely be larger than header size?

      It's kind of important to keep track of versions. If your player can't play the next version or an older version it should be able to detect that so it doesn't try-and-fail. It might also want to suggest what version of the player is required.

      TFA doesn't say that it's not important. It says that there are more space-efficient ways of doing so, especially when there is only a single container version so far in practice (so we may just as well optimize for this case).

      That's what they said about our memory too back in the early 90's. 32-bit addressing is enough, nobody will ever have more than 4G of RAM. Again, these open formats tend to be scalable across time because they need to fulfill a certain mission. Look at ZFS, they have 128-bit addressing but nobody (currently) needs that amount of storage.

      Again, TFA does say that, for those extremely rare cases where 64-bit positions would be needed, a more efficient variable-length encoding could be devised, so that the common case is smaller (e.g. 31 bits lower + 1 bit flag + optional 32 bits upper).

      Why not, how many languages are there around the world? If you need to bring out a media file with subtitles and audio-tracks for each language, braille instructions and who knows what else for open access to certain media, you might want to use more than 256 streams.

      I can actually agree on the reasoning here, but again, there are more efficient ways to encode a number of "usually less than 16, very unlikely but still possibly hundreds".

      Well, maybe the makers intended Ogg to be used eventually to replace MPEG (c)(patented) and used across links with much higher transmission errors. Sometimes my MPEG-encoded stream I get from my DTV provider has enough errors to stall and cause artifacts. When NASA wants to use Ogg for a non-repeatable stream from outer space, they should be able to. Again, overhead is a small cost to pay these days.

      If they "maybe intended" it for some hypothetical applications, making it a mandatory feature that is useless in 99% of all practical applications both today and in foreseeable future is kinda useless. In any case, error detection is much better handled at lower level, on the transmission protocol.

      Ah, well, what is reliable these days? Ever used a large array of hard drives? Ever used a freakin' dial-up connection? As the makers of ZFS, Google and a few others recently have shown hard drive and memory reliability is not as good as we take for granted. Silent data corruption is a major cause of data loss these days.

      You need to start with a solid reference for your final claim. Even if provided, though, this doesn't change the fact that a container format for streaming data is not the best place to do error checking, since it imposes this burden on all users, regardless of any error checking already present on lower levels (which may, and, in fact, almost always is enough for the practical application at hand).

      Whoop-dee-doo, you made it half the size bu

    8. Re:Technical Objections by Armchair Engineer? by hazydave · · Score: 1

      The reason he cares about all those large fields is support on small devices, and support for good streaming. On a PC, from disc, "who cares" is the right answer. On a pocket media player, it's not. Or on a network, where small packets work much better. In MPEG-2 transport streams, the packet is about 208 bytes in size. TS works very well over any kind of streaming media, and it's the format of choice on Blu-Ray and most digital camcorders. If you hinky up a packet with all kinds of needless overhead, you need gigantic packets, which means less effective streaming.

      For devices, he predicts a minimum of 128K just for packet management. Not a huge amount by PC or smartphone standards, but that's crazy RAM for many embedded CPUs, which could otherwise handle the playback just fine. Thus, the nearly complete lack of Ogg support in small devices.

      --
      -Dave Haynie
    9. Re:Technical Objections by Armchair Engineer? by I(0-0)I · · Score: 1

      That's right. Instead of 33 seek steps for 10 GB (which is O(log n) time) you can do it in about 5 steps (O(log log n) time) with the algorithm above.

  18. Because its a f*king streaming format by Anonymous Coward · · Score: 1, Informative

    The reason that the page header data is repeated is because Ogg is a streaming file format. You can write it out live in real time, and decoders can decode it as you write it... you can arbitrarily chop it in the middle and or truncated off the end and still get something demuxable. You don't have to seek back and rewrite headers when you're done writing, and you don't have to seek to the end to read footers when you're done reading. Other formats (e.g. MKV) don't handle truncation, incremental writing, and streaming as well (or without putting them into a mode that makes their behaviour and overhead more similar to Ogg.

    This means that some header data must be repeated frequently. The version number is 8 bits so that highly simplistic code can implement a version check with simple character level logic and without implementing a fancy format-specific bit unpacker. Yes, it costs a little efficiency, but if you really can't tolerate 7 BITS of additional overhead per greater than 500k bits (0.001%) then you have no business using _any_ multimedia transport format.

  19. A better free container, IMO: Matroska. by Hurricane78 · · Score: 3, Interesting

    Besides it being EBML (a binary and efficient kind of XML), I’ve yet to see a feature that it can’t do. Even a complete 3D TV series with multiple perspectives, languages, subtitles, additional content, hull cover... streamed over the net in one file? No problem.

    Also, it’s already the format of choice for HD video and multichannel audio format rips on the net.

    A competitor would be nice. Unfortunately, OGG can’t hold a candle to it. But if they manage to catch up, they will be very welcome.

    --
    Any sufficiently advanced intelligence is indistinguishable from stupidity.
  20. Overly-large analysis of article by azmodean+1 · · Score: 4, Insightful

    Quite a bit of the analysis seems to be reasonable on the surface, but something about the way it was presented set me off in a geek-rant that I put in the comments. Since I'm having trouble posting that comment on the site, here it is.

    Many of the points sound reasonable, but the argument is strongly undermined by the fact that it offers not a single apples-to-apples comparison between ogg and any other container format in the article. On a section-by-section basis:

    Generalities/codec mapping:

    Article complains about how there is no global mapping, but does not assert that other containers have one.

    Overhead:

    The breakdown of where space is wasted is informative and mostly reasonable, but some of them seem to be a reach, such as the checksum being unneeded, and the suggestion of implementing the functionality in optional fields seems like a bad idea to me in general, since it will make the header variable-length, which is something to strongly avoid in my experience. Finally, when the article does "compare" ogg to mp4, it compares some rather hand-wavey numbers for ogg to a different scenario for mp4.

    Latency:

    The article fires off a bunch of numbers here, but then offers no comparison to the alternatives. In fact it don't even provide an explanation of how other formats avoid this latency in theory, much less in practice, and instead of showing how bad the latency is, it uses it as a platform to show that a naive reaction to the issue will cause bad header overhead.

    Random Access:

    In this section it lists quite a few worst-case numbers for disk accesses (why isn't it being pre-cached by the filesystem?) and then ends with no comparison to alternatives at all.

    Complexity:

    Once again it has a bunch of statements of problems the author has with the format, but no comparisons to "good" formats, in addition this section is particularly weak, with statements like, "implementation is annoying", and "ambiguity is bad".

    Final Words:

    "We have shown" is a rather specific claim to make, which the article has not remotely achieved. This pretty much sums up the whole article, which is titled "Ogg objections", but then tries in the text to bill itself as a rigorous analysis of ogg, which it is not.

    If the author had matched the tone of the article to the title, this would be reasonable, but he only hurts his position when he throws around phrases like, "True generality is evidently not to be found with the Ogg format.", "The Ogg format is clearly not a good choice for a low-latency application.", and "We have shown the Ogg format to be a dubious choice in just about every situation.". He has demonstrated NONE of the above claims, and by making them the article has rendered me skeptical of the rest of its claims.

    1. Re:Overly-large analysis of article by pslam · · Score: 5, Interesting

      I'll do some analysis for you:

      Generalities/codec mapping

      The complaint is that there's no up-front header declaring all the streams contained. This is actually absurd - in theory you need to scan the entire file in case someone's just concatenated a video file with an audio file. This was, also absurdly, one of the aims of the Ogg container spec: concatenation. It's awesome to ask implementations to do this.

      Overhead

      One of Ogg's aims was to try to be less than 1% of the total stream space. It does achieve that, but the 'lacing values' end up looking pretty stupid for anything with large packets. It's like the article says: you end up with long strings of '255' summing up to 32-64KB packets, and hey just for extra complexity's sake, you'll have to split them across multiple not-quite-64KB pages. And then figure out where in that mess you're supposed to stick a timestamp: and here's a hint, you first page in that sequence has timestamp 0xffffffff which is nice if you randomly seeked to that place to find a position. God, what a mess that is to implement.

      Then there's decode CPU overhead: the above basically means you end up copying the bitstream, which is a significant few percent overhead when you're talking about video.

      Latency

      You didn't understand his point. The latency is inherent in Ogg due to the large pages (not packets) required to reduce its size overhead, and in the position of the CRC (at the front of the page rather than the end). Reducing the page size makes the page headers start taking significant percentages of size if it's a low bit rate stream, e.g internet audio.

      Random Access

      Try pre-caching a 2GB video file. Or try pre-caching a 2GB video stream coming off the internet where the other end of the pipe is the other side of the world. Random access in these two realistic cases (if you'll admit that) requires a look up table, and it's precisely why many containers DO.

      Complexity

      The lacing values crossing pages, packets crossing pages, position of CRC, position of timestamp between packets/pages especially when cross-page, timestamps between logical streams (elementary streams), and other oddities/idiocies all ADD UP to make it a bloody mess to deal with. You end up just making copies of packets out of the stream, which is inefficient. In fact, that's exactly what the official Xiph codecs do: they make ugly copies. On real world MP3 players (and I've worked on some) that accounts for about 10% of your battery play time right there. I kid you not.

      What this guy is expressing is what everyone who's worked on the Ogg container format itself has found out: it's just BAD at EVERYTHING. It needs replacing with something that doesn't suck, and there are free/open alternatives around. Maybe Vorbis 2 should switch container.

    2. Re:Overly-large analysis of article by jthill · · Score: 1

      On real world MP3 players (and I've worked on some) that accounts for about 10% of your battery play time right there. I kid you not.

      I didn't know MP3 was a general-purpose media embedding format.

      Is there a good reason people don't store single audio-only recordings in single vorbis-only data files?

      If the embedding is unnecessary and widespread, seems to me that'd be worth correcting.

      --
      As always, all IMO. Insert "I think" everywhere grammatically possible.
  21. Dirac? by Midnight+Thunder · · Score: 1

    I'd imagine container formats have far fewer patent issues to worry about compared to compression algorithms.

    Indeed. Technically there is nothing stopping you from having MPEG4/Theora beyond the playback applications.

    Dirac was one codec that seemed to show some promise, from the BBC, but I don't know how much of a decent candidate it is and how much push it is being given?

    --
    Jumpstart the tartan drive.
    1. Re:Dirac? by Midnight+Thunder · · Score: 1

      Responding to my own post:

      If this article is anything to go by, Dirac seems to perform worse that Theora and Theora appears to perform worse than H264:

      http://etill.net/projects/dirac_theora_evaluation/

      From the sample frames in the article, H264 provides a better quality at less bit-rate, which can make a huge difference to a site such as YouTube, which wants to provide high quality visual users want, while reducing bandwidth.

      --
      Jumpstart the tartan drive.
    2. Re:Dirac? by Anonymous Coward · · Score: 0

      Check out this comparison. It's newer and in my opinion pretty good (apart from the speed part). Don't trust the metrics too much but rather look at the pictures.
      The author is probably going to do another one with input from the codec developers.

  22. Ah, and now slashdot... by xiphmont · · Score: 5, Insightful

    This whole thing is really about bad blood between Xiph and the mplayer folks. Once, long ago, I made disparaging remarks about a particular mplayer developer's extensive collection of ass hats, and they declared war. This stopped being about facts or reason years ago. Here's the last blog thread that got completely hijacked by the anti-Ogg container wingnuts. It's a hell of a read:

    http://blog.gingertech.net/2010/02/20/googles-challenges-of-freeing-vp8/

    So, rehashing this yet again: The Anti-Ogg bullet points [Not going to bother with complete sentences, because I've wasted too much typing on this recently]:

    1) A few of the mplayer/x264 hackers are right pissed that Ogg and Theora are getting all this attention when x264 is so obviously superior. That simply cannot stand. Since only America has patents and there are no computers there anyway, nobody should have to worry about them. Stick it to The Man! (How very ironic, Xiph being considered 'The Man' by folks contributing to an h264 encoder).

    2) Xiph should immediately drop Ogg for [insert container here], breaking millions of hardware decoders and hundreds of millions of software decoders:

    a) the [patented] mp4/MOV container is one suggestion they actually make seriously. Never mind adding 'willful infringement' to breaking the entire installed software/hardware base, this choice would totally redeem Xiph in their eyes. The benefit: by their own figures, it would reduce container overhead from .7% to .3%.

    (Except that number is wrong. I found later that DonDiego screwed up his mp4 overhead figures at the link above; I had simply assumed he got his container numbers right. The mp4 file in his example has almost identical container overhead to the Ogg, a shade under 1%. His demultiplexed mpeg audio and video had framing in them, so it made it appear the mp4 container overhead was much smaller when he subtracted their file sizes.)

    b) OK, mp4 is patented and no better, fine, Xiph should have just used Matroska from the beginning. Despite the fact that Ogg and Vorbis predated it by about five years (also mkv's not been able to interleave until just recently, which == no streaming). This is not to say you can't put Theora and Vorbis in Matroska. It's even a good idea! I've come to like MKV. But for streaming, Ogg is still much easier to deal with. Ogg was designed to stream, mkv was not.

    c) OK, so, mp4 and Matroska are right out for streaming, Xiph should use Nut, which is the system they designed. Nut came ten years after Ogg was already widespread. And looks almost exactly like Ogg. Which is not to say there aren't things about it I like that improved on the Ogg approach. Eg, the packet length encoding is better. It has a conditional checksum coverage feature I had never considered, etc. At some point we'll make those changes when that wouldn't mean completely abandoning any chance we have at adoption just to save a fraction of a percent and add... no new features.

    d) but.. but.. even FLV is better! OK, at this point I can't even entertain the arguement.

    3) OK, maybe not adopt another container, but Xiph should immediately improve/change Ogg for, breaking millions of hardware decoders and hundreds of millions of software decoders for a 'better' implementation that won't actually give users any features they don't have now. FOSS need _tools_, not us wasting time overoptimizing something they couldn't care less about.

    3) 64 bit timestamp! OMG, waste! Wait, mov/mp4 uses 64 bit stamps... Also, plenty of things in Ogg use a full byte instead of one bit because the container assumes octet alignment. Alignment makes it much faster/easier to deal with (you don't need a bitpacker to read pages, and you don't have to repack packet data to embed it into the page). Remember, all the completely unacc

    1. Re:Ah, and now slashdot... by pslam · · Score: 1

      You're right, in that Ogg could be improved to make it suck a lot less. Here's my list, which I'm sure is the same as everyone else's list:

      • Make CRC either not mandatory or attached to individual packets. Optional 8/16 bit (truncated) CRC. A single byte CRC per packet would do its job fine. For any stream less reliable, there's bigger problems to tackle. The CRC requirement alone is big latency issue.
      • Use 'UTF-8' style fields. The lacing values look stupid when packets are large (video). E.g, 0x40 can be just 0x40. 0x800 can be 0x80,0x10 and so on.
      • Single byte version field. There has been 1 (One) Ogg format so far. I don't expect there to be 256 any time soon.
      • Disallow lacing values crossing pages. I did not enjoy implementing my own Ogg reader supporting stuff like that.
      • Disallow packets crossing pages. Allow larger pages to compensate. This removes any need to copy pages - they can be streamed directly into the decoder backend. That means page size doesn't matter so much as there's no buffering requirement.
      • Tie down the requirements on interlaced stream headers more tightly. Get all logical streams to 'register' themselves up front, or at least have their headers interleaved before anything else.
      • Remove the absurd requirement to support concatenation. It is intractable for implementations to support all cases of this.
      • Don't be so agnostic about contained streams. It would be nice to know some basics about them: audio, video, seek hints, that sort of thing. This isn't just 'that would be nice': it affects the start up order of your player. In Ogg's case, you need to attempt decode of each stream (or 'magic' detection) instead of just knowing it's an A/V stream before opening them.

      The major issue I've had with Ogg is it just does everything a different way to everyone else. Everyone else did it another way for good reason. It's not that your decisions are terrible ones - they're just making it awkward to implement Ogg in players where there's already support for a bunch of other containers. You have to admit that's a valid complaint.

      Copying packets/pages is a surprising hit on CPU and power consumption. When I was making MP3 players, it accounted for a few percent of power consumption. It's notably not something other codecs require, because they thought about that issue up-front.

    2. Re:Ah, and now slashdot... by Anonymous Coward · · Score: 0

      "The CRC requirement alone is big latency issue."

      What the fuck are you talking about? There is absolutely no "latency" harm caused by the CRC, at least not on any hardware actually able to decode the formats much less encode. If performing the CRC on decode is so burdensome, you can stop checking it once you obtain sync and only check it if you obviously lose sync.

      Moreover the overhead of Ogg with one packet per page is about the same as UDP+RTP which is really the next comparable container (in the sense of providing the same benefits) in that use case.

      "Single byte version field. There has been 1 (One) Ogg format so far. I don't expect there to be 256 any time soon."

      So 5 times the decoding complexity, correctly masking out the right bit, just to save 7 bits out of a half million. Yea, I'll get right on it.

      "Get all logical streams to 'register' themselves up front, or at least have their headers interleaved before anything else"

      You seem to have a reading problem:

      a physical bitstream begins with the bos pages of all logical bitstreams containing one initial header packet per page, followed by the subsidiary header packets of all streams, followed by pages containing data packets.
      ^RFC 3533

      "Disallow packets crossing pages. Allow larger pages to compensate."

      Ugh! so the amount of data that you must read in order to obtain a framing lock is then infinite?

      Did you even bother to spend five minutes thinking before posting this crap? The designers of Ogg obviously spent a lot more time.

    3. Re:Ah, and now slashdot... by pslam · · Score: 2, Interesting

      What the fuck are you talking about? There is absolutely no "latency" harm caused by the CRC, at least not on any hardware actually able to decode the formats much less encode. If performing the CRC on decode is so burdensome, you can stop checking it once you obtain sync and only check it if you obviously lose sync.

      There may be, for example, 64KB pages, containing many packets. None of the packets can be decoded until the entire 64KB page is received and its CRC checked. This may sound small, but for 32-64kbit stream, that's 10 seconds of latency right there. Alternatively, you can have 1 page per packet, but on 32-64kbit streams you end up with about 5-10% overhead from the container. It is a REAL problem.

      So 5 times the decoding complexity, correctly masking out the right bit, just to save 7 bits out of a half million. Yea, I'll get right on it.

      There is a version field on every page header, and it's 32 bits. It's a tiny waste, but it's still a waste. It's not so tiny a waste on the above mentioned low-latency, low-bitrate streams.

      Ugh! so the amount of data that you must read in order to obtain a framing lock is then infinite?

      Yes. Why not? Packets aren't infinite unless you're deliberately malforming a stream. Codecs generally have 'profiles' defining what the limits are. For example, Vorbis has a soft-limit of 8KB. Framing lock serves a purpose in some transports, but for on-disk, on-disc or WAN transport, it's not a big issue.

      Or if at least the container had simplified framing that could be placed throughout large packets. There are huge advantages to packet streaming being as simple as possible. Copying the packets out of a video stream is a bad thing for CPU and power consumption.

      Did you even bother to spend five minutes thinking before posting this crap? The designers of Ogg obviously spent a lot more time.

      I've spent a very long time with the Ogg container format, as well as most of the others in common use. That's why I can recognize the problems with it, as can the ffmpeg developers, as can all the other developers I've worked with at various companies. It's universally hated by anyone who's had to deal with integrating it into a project already supporting other containers/codecs.

      If you're reading this, Monty - it's not just bad blood with ffmpeg. I can't think of anyone I've worked on Ogg with who would admit to liking it, and who hasn't had to spend hours re-working their nice A/V streaming designs to work around its oddities.

    4. Re:Ah, and now slashdot... by Anonymous Coward · · Score: 0

      I like OGG. I use OGG. OGG good. Thank you.

    5. Re:Ah, and now slashdot... by Anonymous Coward · · Score: 0

      There may be, for example, 64KB pages, containing many packets. None of the packets can be decoded until the entire 64KB page is received and its CRC checked. This may sound small, but for 32-64kbit stream, that's 10 seconds of latency right there. Alternatively, you can have 1 page per packet, but on 32-64kbit streams you end up with about 5-10% overhead from the container. It is a REAL problem.

      So don't choose either of the extremes when encoding maybe?

    6. Re:Ah, and now slashdot... by adolf · · Score: 1

      There may be, for example, 64KB pages, containing many packets. None of the packets can be decoded until the entire 64KB page is received and its CRC checked. This may sound small, but for 32-64kbit stream, that's 10 seconds of latency right there. Alternatively, you can have 1 page per packet, but on 32-64kbit streams you end up with about 5-10% overhead from the container. It is a REAL problem.

      So picture it:

      You have a widget with knobs on it. Stuff goes into it, and other stuff comes out depending on how the knobs are set.

      You look at this widget and say to yourself, "Self, how can I make this widget do something bad -- something against the end-result that I'm attempting to achieve?"

      You notice that one of the knobs is labeled "Ouch" and another is labeled "Masochism." You turn the Ouch knob all the way up to "Fuck you, buddy!" and the "Masochism" knob to the "I like the hot poker in the eye!" setting.

      And, then, you have the gall to be surprised when the widget produces the badness that you asked it to?

      Pick reasonable tradeoffs, and you'll have a reasonable result.

  23. Ogg sucks, MKV is what's hot now. by Anonymous Coward · · Score: 0

    Ogg is silly. Matroska stomps it in every way possible except for a *slightly* higher amount of overhead--which, when compared to the total size of any audio-visual file, is negligible. There's no reason to use Ogg now that MKV is reasonably stable.

  24. OGM is criticized as well by Antiocheian · · Score: 1

    As you have seen, those properties of OGM used by people who propagate
    it are no real advandage, and at least one major drawback could be easily
    xed to some extent without breaking compatibility to anything. But no one
    seems to care to x it. It seems that people who could x don’t care enough
    about OGM to really do it.
    Finally, here the excerpt of a ’discussion’ between one of the most famous
    OGM Zealot and other people:
    Zealot: "Who would put ac3 or dts into ogm btw.? OGM is meant to be
    a container for ogg vorbis sondtracks and video as well as subtitles."
    Someone else: "So you acknowledge the fact that OGM is just a technology
    demonstration to advertise Vorbis ? Not a general purpose container ?"
    Zealot: "You know very well that OGM is a general purpose container..."

    As you can see, not even OGM Zealots trying to defend OGM at all costs
    (again, OGM, I don’t speak about OGG here!) can write reasonable sen-
    tences not contradicting each other.

    http://www.alexander-noe.com/video/documentation/containers.pdf

  25. Ogg needs to die so Vorbis and Theora can live. by pslam · · Score: 5, Insightful

    I sadly have to agree, and I've voiced the same objections for a long time. It really is like he tells it: it's just bad at everything it was intended to achieve. It's a source of bugs, it's horrendously complicated to support, and it's horrendously inefficient at anything but audio (and even then, not so good).

    It seems to me, most of what went wrong was trying to support concatenation of Ogg streams. This is a nice idea, but actually quite a rare case. It's also incredibly naive for the specification document to request that Ogg implementation detect this. What, I'm supposed to scan the entire file in case that happens? No. I'll just not be compliant to that, thank you very much.

    I even wrote my own Ogg/Vorbis decoder from scratch a while back (and dabble every now and then), and found Ogg to be a never-cooling, never-extinguishing steaming pile of hippo crap left over from consuming a dog. It just made everything so difficult to do. Seeking a stream involves divide-and-conquer - not necessarily a bad thing, but when you have huge streams the number of seeks can be bad. Not to mention if your stream has an endpoint the other side of the Atlantic Ocean. Why oh why did they pick timestamps being at the END of a page and indicating the output byte count produced by the END of that page? That little detail alone probably cost me days of debug.

    I almost gave up at one point and went to a container format of my own which would have worked much better. Header: 'CONTAINER v1'. Packet: 'MAGIC', 4 byte Length, 4 byte Output pos. Job done. The sad fact is, that's easier than Ogg, smaller than Ogg (unless you're talking really low bit rate), and does entirely the job of Ogg without the complexity.

    I'm probably going to add a Matroska container to my codec just to see how easy they are to produce. The spec looks fantastic, but the devil's always in the details - although seeing the praise on various (engineer) forums, it looks like the way to go.

    So, Ogg, please die. We need you to get out of the way.

    1. Re:Ogg needs to die so Vorbis and Theora can live. by Anonymous Coward · · Score: 0
      A while ago pslam said (numerous times):

      I even wrote my own Ogg/Vorbis decoder from scratch a while back (and dabble every now and then), and found Ogg to be a never-cooling, never-extinguishing steaming pile of hippo crap left over from consuming a dog. It just made everything so difficult to do.

      Either that or it just means that you're not that good of a coder.

    2. Re:Ogg needs to die so Vorbis and Theora can live. by pslam · · Score: 1

      Either that or it just means that you're not that good of a coder.

      And everyone at ffmpeg, and most of the previous companies I've worked for.

      There's a reason there's such universal dislike for the Ogg container (outside of Xiph.org anyway). I really wish the criticism was taken seriously and changes made, rather than just dismissed as "Slashdot crowd trolling" or some kind of bad blood. I hope it's just a case of inexperience using other codecs - because there's a lot you could learn from them.

    3. Re:Ogg needs to die so Vorbis and Theora can live. by pslam · · Score: 1

      And an old work colleague reminds me of another annoyance of the format: page numbering. Yes, the article already touches on it being too big and unnecessary. It's also a pain when it comes to tagging.

      All metadata/headers for Ogg files must be at the start of file. This is unfortunate, because it means if you re-tag a file, you need to resize the entire file and move the majority of it forward or backwards some bytes. Worse still, if you re-tag and end up creating a new page because it got large, you need to renumber the page numbers of the entire stream. That means reparsing the entire Ogg stream. Other containers stick metadata at the end of file, for good reason. This makes tagging utilities much more complicated for Ogg than other containers.

  26. NUT open container format by KonoWatakushi · · Score: 2, Interesting

    NUT is another alternative, which is open, simple, and well designed. Along with Matroska, it is also capable of containing Ogg Theora and Vorbis streams, so there is really is no good reason to use the Ogg container anymore. The author of the article is correct--the Ogg container is an awful format.

    The main complaints about Matroska are two-fold. One, the EMBL encoding is overly complicated. It requires a considerable amount of code to parse, and also imposes an unnecessary degree of overhead. The second is a much more serious problem: a Matroska file can only contain one timebase. Thus, in order to mux streams with different timebases, approximation is required. To accurately represent the converted timebases, it is necessary to use a much finer granularity, and then you also lose the exact timestamps.

    The NUT specification and code is available from svn://svn.mplayerhq.hu/nut, and the (de)muxers are included in MPlayer/FFmpeg, VLC, and probably elsewhere.

    1. Re:NUT open container format by Anonymous Coward · · Score: 0

      By "specification" you mean unreadable pseudo-code which mostly amounts to the ffmpeg source code with some English thrown in for added ambiguity.

      Ogg is simple enough that it can be documented by a normal IETF RFC.

    2. Re:NUT open container format by Anonymous Coward · · Score: 0

      a Matroska file can only contain one timebase. Thus, in order to mux streams with different timebases, approximation is required. To accurately represent the converted timebases, it is necessary to use a much finer granularity, and then you also lose the exact timestamps.

      Well, yeah. If you mix 25fps video and 30fps video, then you need to convert the timestamps to units of 1/150 of second. That's just how the math works out. How would you do it differently?

  27. Dirac may have more future by Anonymous Coward · · Score: 1, Interesting

    Overall, most experts would agree that Theora is still a good codec but it seems like the latest talk is all about Dirac: http://en.wikipedia.org/wiki/Dirac_%28codec%29 and http://diracvideo.org which is a very strong contender. It has suddenly gained backing from a number of the major corporations who were previously in favor of H.264... This is good news since Dirac offers much better quality than either of the other codecs, is royalty-free, and released under either GPL2, LGPL2, or MPL.

    1. Re:Dirac may have more future by Erinnys+Tisiphone · · Score: 1

      Agreed - there does seem to be a lot of interest in dirac. Also, the 1000 pound gorilla in the room is that Ogg *Vorbis* is nothing new - the format is over a decade old, and despite its benefits, it has never gained widespread use or support in portable devices. They speculated the same success for Vorbis back in 2000 as they are predicting for Theora.

    2. Re:Dirac may have more future by hazydave · · Score: 1

      Dirac is potentially wonderful. But it will need work. It's based on Wavelets, which have a ton of potential, but not much practical use. I'm familiar enough, though, I have been using Cineform on the PC for about 5 years. Cineform is proprietary, Wavelet based, and much more comparable to Dirac Pro (now enshrined as the SMPTE VC-2 standard) than Dirac (the whole intraframe compression issue).

      In short, AVC, DiVX, Theora, MPEG-2, WMV, etc. are all DCT-based. That's both good and bad. The good is that there's sometimes hardware to accelerate that, there is a long tradition of understanding these things, some of it's actually mature enough to live in realtime hardware, etc. On the downside, there's been so much work there, there are patent minefields... one factor preventing Theora from matching VC-1 or AVC in efficiency. And DCT-based compression artifacts are inherently more obvious to the human eye than Wavelet artifacts... they're there, but to my eye anyway, they seem more "organic".

      But Dirac will need work to speed it up and perfect it. The good thing is that it's starting out open source, so this work can technically happen in full view of the FOSS community.

      --
      -Dave Haynie
  28. Thanks by justthinkit · · Score: 1

    The great thing about Matroska is that it supports (or at least can support) absolutely everything.
    The main drawback of Matroska is that it supports (or at least can support) absolutely everything.


    Thanks! I had forgotten that Fight Club is on tonight on TCM.

    --
    I come here for the love
  29. MXF by TheSync · · Score: 1

    SMPTE (in coordination with the European Boradcasting Union and other groups) developed the Material eXchange Format (MXF) container:

    MXF is exceedingly flexible. Many MXF-wrapped files play back in VLC today.

  30. There are authoring-side issues also by gig · · Score: 1

    This article looks at the view from the player, but there are authoring issues also.

    A key feature of ISO MPEG-4 is it is based on the QuickTime file format that authoring tools all speak. So adding ISO MPEG-4 support to an authoring tool was a minimal job, and it happened quickly and broadly. The fact that ISO MPEG-4 was a standardization of the QuickTime we were already using was very practical. Very much like how many HTML5 features are things the browsers or authors were already doing.

    This all happened years ago, of course. The funny thing with the patent debate is the ISO MPEG-4 patents will expire before we could ever move everybody over to Ogg. And until then, it is a patent pool with cheap licensing that can't be denied to anyone, like GSM in phones, protection from liability, and with no content tax. Hardly the terrible evil it is made out to be.

    But even so, the author is right: you have to bring the tech first. It has to be practical.

  31. Re:why a container by rduke15 · · Score: 1

    why is a completely general video container format actually useful? [...] rather than a file that is decoder specific?

    A container format is needed because media files contain many different things using different codecs: video stream(s) using some video codec, audio streams using audio codecs, subtitles in various forms, timecode tracks, metadata, etc. Without a container format to bring all these together, your videos would be without sound unless you also have the audio file and manage to start both at the same time so they start in sync. If you also need subtitles, that would be 3 files to find and start at the same time.

  32. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  33. How Do Container Formats Work? by logicnazi · · Score: 1

    Alright, so despite doing a bit of reading on wikipedia I'm still pretty puzzled about exactly how container formats can work. Setting aside fancy features like user menus and things like chaptering it seems to me the primary purpose of a container format is to do two things.

    1) Define a format to multiplex many different data streams, e.g., allow packets in the audio stream, video stream, subtitle data to be interleaved so the right data can be available when needed (putting all the video stream first then the audio stream would be a bad idea).

    2) Provide synchronization information to let arbitrary video, audio, and subtitle formats coordinate their display.

    ----

    Now 1 seems relatively straightforward. What confuses me is part 2. I mean if we were encoding video as a simple list of pictures and audio in pcm this would seem straightforward. Each packet encoding a video frame gets tagged with the frame number and each audio packet gets tagged with the frame number it should be played with.

    However, how does this work given the fact that to display frame 10034 the video codec may need to use information from frame 10000 and similarly with the audio codec. So if I want to jump to frame 10034 the player needs to know to look back at the info for frame 10000. I mean I can think of various ways this might be done but they all would seem to require particular knowledge about how the individual streams work.

    Could someone explain how these work or give me a pointer to a good explanation?

    Thanks

    --

    If you liked this thought maybe you would find my blog nice too:

    1. Re:How Do Container Formats Work? by Omnifarious · · Score: 1

      I am really interested too. I have never seen a really comprehensive discussion of the various design contraints of a multi-media container format and I think it would be helpful all-around to get all that down. It seems to me that it's time to come up with something that takes into account all the issues encountered so far and is a really good all-around container.

  34. MEncoder by Anonymous Coward · · Score: 0

    Of course, a true geek uses ffmpeg (the basis for much of handbrake). Or MEncoder for the slightly less geeky.

  35. Easter Egg by dch24 · · Score: 1
    Don't look now, but if you read TFA all the way to the bottom:

    More commonly, the Ogg proponents will respond with hand-waving arguments best summarised as Ogg isn't bad, it's just different. My reply to this assertion is twofold:

    Now mouse over
    Ogg isn't bad, it's just different.
    and it will turn into:
    Ogg isn't dead, it's just resting.

    Even more fun:
    Put your mouse cursor right at the end of the t in different.
    This is far enough to the right that when the mouseover activates, it shrinks different to resting and your mouse is now outside the mouseover, so it goes into an infinite loop.

  36. Risen is very confused... by Anonymous Coward · · Score: 0

    Well, Risen, aren't you a little confused?

    Ogg is the container format, which can contain sound (Vorbis) or video (Theora).

    I'm guessing your Sansa Fuze does not play Theora, even if it claims to understand Ogg. Which was exactly the point of HairyFeet.

    That shitload of audio players you mentioned play *VORBIS*, not *THEORA*. There is a difference, one being audio, the other being video. Both are Ogg files. Neat, eh?

    1. Re:Risen is very confused... by Risen888 · · Score: 1

      My Fuze does in fact play both ogg Theora and ogg Vorbis files. And I am aware of the difference, thanks. I simplified my original post for the sake of brevity.

      But thanks for playing.

      --
      Hey, I finally got my first freak! Took you long enough!
  37. Youtube/Flash used H262 earlier. by Anonymous Coward · · Score: 0

    Youtube/Flash used H262 earlier. You know, when there were internet videos on Youtube but the H264 spec wasn't written.

  38. not slashdotted by Anonymous Coward · · Score: 0

    There are no technical shortcomings in the format!

  39. Sorry, you failed to understand my second point by Anonymous Coward · · Score: 0

    "You didn't understand his point. The latency is inherent in Ogg due to the large pages (not packets) required to reduce its size overhead, and in the position of the CRC (at the front of the page rather than the end). Reducing the page size makes the page headers start taking significant percentages of size if it's a low bit rate stream, e.g internet audio. "

    Can you please suggest another format that does single-packet-latenc operation with variable packet sizes and variable temporal duration?

    MOV (/MP4) can't, AVI can't, MKV can't. RTP/UDP (which isn't normally written to files) does, but its overhead is similar to Oggs in this use case.

    "ou end up just making copies of packets out of the stream, which is inefficient. In fact, that's exactly what the official Xiph codecs do: they make ugly copies."

    The tremor vorbis decoder library (the one for fixed point / low memory devices) includes an alternative version of libogg which is zero copy.

    Try again.

  40. The VIDEO question. by DrYak · · Score: 1

    And the whole VIDEO tag question will get solved, in the long run. Just not with Theora.

    But with some next gen video format which will be :
    - better quality for same bitrate as h.264
    - get openCL-accelerated (hardware acceleration on anything with a GPU)
    - be patent free

    I'm personally looking toward the Wavelet crowd (Dirac/Schroedinger, Tarkin, and the like).
    But Google's acquisition of On2 and their latest VP8 could be another pointer at that future.

    People would still keep their old collection ripped with x264.
    But if a new codec emerge, with a better compression ratio than anything available on Blue-Rays currently and thus enable better quality and smaller rips, it will be an overnight success on PirateBay and thus get mass adoption.

    And if TFA is right, Matroshka could perhaps become the preferred container for those too (although, I'm currently noticing better real-world performance with OGG containers as with MSK ones).

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  41. System codecs by DrYak · · Score: 1

    The whole debate is stupid, firefox needs to just use the operating system's built in codecs to play h264. Problem solved.

    Yup. Let's swap 1 binary BLOB - Flash, Silverlight.
    With another one - a system codec - which might not have been designed with Web in mind, or could even be absent from the system (No default h264 in most windowses).

    The whole idea of a standard is to specify something which could then be implemented by anyone wishing it.
    The patent trolls hanging around h264 just prevent that.

    But, the victory won't depend between h264 or theora.
    The biggest standard victory will be won by whoever manage to be the next MP3, MPEG-4.2/DIVX or MPEG-4.10/H264 : The next format to be vastly supperior to what is currently available and thus be an instant success as a sharing format.
    So let's better get the big brains of the programming world working on that one.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]