Slashdot Mirror


Ogg Format Accusations Refuted

SergeyKurdakov sends in a followup to our discussion a couple of months ago on purported shortcomings to the Ogg format. The inventor of the format, Monty "xiphmont" Montgomery of the Xiph Foundation, now refutes those objections in detail, with the introduction: "Earnest falsehoods left unchallenged risk being accepted as fact." The refutation has another advantage besides authoritativeness: it's far better written than the attack.

248 comments

  1. Obligatory by Anonymous Coward · · Score: 5, Funny
    1. Re:Obligatory by pandrijeczko · · Score: 0, Flamebait

      I thought this was a discussion about the ogg format, not totally overrated badly-drawn unfunny crap on the Internet?

      --
      Gentoo Linux - another day, another USE flag.
    2. Re:Obligatory by Anonymous Coward · · Score: 0

      Rullgard status:
      [] : Not told
      [X] : Told

    3. Re:Obligatory by noidentity · · Score: 2, Funny

      That is so fitting, especially because this rebuttal quotes the original with numbered lines! I can't stop laughing.

    4. Re:Obligatory by Anonymous Coward · · Score: 0

      Blasphemy, I say!

    5. Re:Obligatory by Anonymous Coward · · Score: 0

      Oh, come now. Just because you're either not educated enough or smart enough to find something funny doesn't mean that it's not funny.

    6. Re:Obligatory by Anonymous Coward · · Score: 0

      amen. :(

    7. Re:Obligatory by Anonymous Coward · · Score: 0

      Longest troll I've ever seen. It took quite a while to scroll down to the button to post this.

    8. Re:Obligatory by Anonymous Coward · · Score: 0

      About the refutation: tl;dr

      The pure, simple reason that ogg sucks is because it's not as well supported as other formats. Discussion over.

    9. Re:Obligatory by Anonymous Coward · · Score: 0

      Obligatory "You only don't like XKCD because you're stupid! LOL!" comment. It's entirely possible to be smart, and reasonably well-educated, and still think that XKCD is overrated and generally unfunny, you know. I'm more or less smart and fairly well-educated -- Bachelors (1st class honours), Masters, PhD and now doing a third postdoctoral position -- and I grew bored of the increasingly inane and unfunny turd that Randall Munroe spits onto the world a long time back.

    10. Re:Obligatory by Anonymous Coward · · Score: 0

      You must be new here. This is Slashdot, we discuss everything except TFA (since we don't read it anyway).

    11. Re:Obligatory by guhknew · · Score: 1

      You're right, even highly educated people can lack a sense of humor ;)

    12. Re:Obligatory by pandrijeczko · · Score: 1

      I actually enjoy truly funny geek humour like this, XKCD has grown up around this concept of "If you like it then you're a cool dude" whereas in reality, as stated previously, it's badly drawn and not very funny.

      --
      Gentoo Linux - another day, another USE flag.
  2. tl;dr by Anonymous Coward · · Score: 0

    tilder.

    1. Re:tl;dr by quercus.aeternam · · Score: 0, Offtopic

      Thanks to your excellent information, I shall be /extra/ careful to not look at TFA.

    2. Re:tl;dr by gknoy · · Score: 3, Informative

      Summary so far:

      Many of the complaints levied against Ogg were not about its technical merits, but about its inadequate documentation -- a feature Matroska shares. Other complaints were about features of Ogg (such as mappings) which nearly every other container format has as well. ... I've only gotten about a quarter of the way through, so far.

    3. Re:tl;dr by fusiongyro · · Score: 2, Informative

      The article is itself basically a summary of the format. If you don't care enough to read the article, probably all you should be worried about is what your iPod will and won't play.

    4. Re:tl;dr by Anonymous Coward · · Score: 5, Informative

      Nearly every other container format+codec has exactly two bits that are codec dependent: an identifier (e.g. 'XVID' or "V_MPEG4/ISO/AVC" or a number) and binary private data/codec-specific init data/whatever you want to call it. Some codecs in some containers additionally define one bitstream, if the codec has multiple possible (h.264).

      Timestamps, dimensions, aspect ratio, framerate, samplerate, etc. are stored in codec-independant ways in the container.

      Ogg is not like that at all. The only thing it stores in a codec-independant manner is framing. Every other piece of information you might expect a container to have is stored in a codec-dependant manner. Even metadata!

      I have no fucking clue why the creator does not see this as the problem that it is for everyone that tries to work with ogg.

    5. Re:tl;dr by dgatwood · · Score: 4, Interesting

      What possible use could you have for obtaining time stamps within a video stream that you cannot decode? As far as I'm concerned, a container format should provide enough information to determine two things:

      1. A CODEC identifier (magic/FOURCC)
      2. The physical length of each frame's data so that decoders that don't understand a particular CODEC can skip it.

      Although there might be advantages of having other data encoded in a consistent fashion for people writing debug tools, when it comes to general software, as long as the CODEC software provides a standard set of accessor functions that return the data in a consistent way across all CODECs, it is by no means a requirement that they be stored in the same way, and in terms of the format's long-term flexibility, it is advantageous to allow the data to be stored in a codec-specific fashion.

      --

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

    6. Re:tl;dr by Anonymous Coward · · Score: 2, Interesting

      A better question is: why should the demuxer care about whether or not you can decode a given codec?

      There has been absolutely nothing new with regards to codec timestamps since MPEG-1 introduced the concept of out-of-order coding and B frames. ogg was developed nearly a decade after that. Thus, there is and was no reason whatsoever to make timestamps codec-dependant.

      And you're ignoring the problem that with ogg you have to hunt down and read the spec of every single codec that you want to implement demuxing support for, and that it is impossible to have, say, a generic lightweight file analyzer that tells you duration, codecs used, metadata, samplerate, framerate, etc.

    7. Re:tl;dr by Rockoon · · Score: 3, Interesting

      As far as I'm concerned, a container format should provide enough information to determine two things:

      Basically, what you just wrote is "there shouldn't be containers."

      Is that really your position? I certainly can understand it. It has that quality to it that any hack can go ahead and start coding to handle it immediately, which is great. But checking with reality, we seem to have so many container formats because ID/LEN is just not enough for purposes.

      --
      "His name was James Damore."
    8. Re:tl;dr by MrLint · · Score: 2, Insightful

      I want to prepend my ignorance in this area, however one thing that occrs to me in your complaint is that isnt this really how the OSI model works? The higher level (container) has the info it needs to pass its payload along to the next level. http, being a payload in the data of IP, and so on. Now I cannot speak to if this makes sense in the contact of media storage, but parsing deep into the media itself would seem to be out of scope of a container, and then end up being a crutch that could break later for yet unimagined content.

    9. Re:tl;dr by Anonymous Coward · · Score: 4, Informative

      And you're ignoring the problem that with ogg you have to hunt down and read the spec of every single codec that you want to implement demuxing support for, and that it is impossible to have, say, a generic lightweight file analyzer that tells you duration, codecs used, metadata, samplerate, framerate, etc.

      From the article:

      "This is commonly asserted by detractors, but a combination of false and missing the point.

      Ogg transport is based entirely on the page structure primitive, described accurately above. There are no other structures in the container transport itself. Higher level structures are built out of pages, not built into them. All Ogg streams conform to this page structure and all Ogg streams are parseable and demuxable without knowing anything about the codec. "Drop the needle" anywhere in an Ogg stream and start demuxing; you get the codec data out without knowing anything about the codec. You possibly won't know what exactly to do with that data without the codec mapping and the data is possibly useless without the codec anyway, but that's true of every container.

      To avoid being accused of sidestepping the issue, I posit that the actual [if unstated] objection is that the Ogg container does not fully specify the granule position in the transport specification. Beyond a few requirements, a codec mapping defines the granule position spec for that codec's streams, not the Ogg spec. In theory, this would mean that without codec knowledge or some other place to find the granule position definition, a decoder missing the codec for a given stream would not be able to determine the timestamp on the stream that it is not capable of decoding anyway. In practice, the granule position mapping does in fact exist in the stream metadata within the Skeleton header[7] (as it would be in Matroska or NUT). Additionally, the Ogg design allows implementations to ignore the pretty design theory and just do things the way other containers do by building granule position calculation into the mux implementation.

      There's specific considered reasons for the granulepos design which take some space to explain accurately. Because Mr. Rullgard also wrote a lengthy diatribe against Ogg timestamping[8], I'll leave the explanation for there and link to it here when my response to the other article is live."

    10. Re:tl;dr by tgd · · Score: 2, Insightful

      I wouldn't assume because the OSI model works that way means its the right model for a video container format.

      And, given the plethora of systems out there that have had to add functionality to introspect higher layers while routing lower layers, I wouldn't even assume the OSI model is actually the right one for networking, either.

    11. Re:tl;dr by Anonymous Coward · · Score: 1, Informative

      And you're ignoring the problem that with ogg you have to hunt down and read the spec of every single codec that you want to implement demuxing support for, and that it is impossible to have, say, a generic lightweight file analyzer that tells you duration, codecs used, metadata, samplerate, framerate, etc.

      Ogginfo seems pretty lightweight. It tells me the duration, codecs used, metadata, samplerate, framerate, and more. I guess someone has already solved the problem for you. Here is a sample of its output run against Elephants Dream:

      $ ogginfo Elephants_Dream.ogg

      Processing file "Elephants_Dream.ogg"...

      New logical stream (#1, serial: 1e05b679): type skeleton
      New logical stream (#2, serial: 72ba3177): type theora
      New logical stream (#3, serial: 30fa15ff): type vorbis
      Theora headers parsed for stream 2, information follows...
      Version: 3.2.1
      Vendor: Xiph.Org libThusnelda I 20081201
      Width: 426
      Height: 240
      Total image: 432 by 240, crop offset (0, 0)
      Framerate 24/1 (24.00 fps)
      Aspect ratio undefined
      Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)
      Pixel format 4:2:0
      Target bitrate: 0 kbps
      Nominal quality setting (0-63): 32
      User comments section follows...
                      ENCODER=ffmpeg2theora-0.24
      Vorbis headers parsed for stream 3, information follows...
      Version: 0
      Vendor: Xiph.Org libVorbis I 20080501
      Channels: 2
      Rate: 48000

      Nominal bitrate: 80.000000 kb/s
      Upper bitrate not set
      Lower bitrate not set
      User comments section follows...
                      ENCODER=ffmpeg2theora-0.24
      Logical stream 1 ended
      Vorbis stream 3:
                      Total data length: 4986375 bytes
                      Playback length: 10m:53.696s
                      Average bitrate: 61.023779 kb/s
      Logical stream 3 ended
      Theora stream 2:
                      Total data length: 30621851 bytes
                      Playback length: 10m:53.791s
                      Average bitrate: 374.698578 kb/s
      Logical stream 2 ended

    12. Re:tl;dr by Anonymous Coward · · Score: 2, Interesting

      >Ogg transport is based entirely on the page structure primitive, described accurately above. There are no other structures in the container transport itself. Higher level structures are built out of pages, not built into them.

      And my argument is that a container should provide more than just framing. Hell, many codecs provide framing themselves and don't need container framing.

      >All Ogg streams conform to this page structure and all Ogg streams are parseable and demuxable without knowing anything about the codec.

      Only in the sense that you can find frame boundaries, not in the sense that you can do anything useful with them whatsoever. And indeed, the only thing you can do is drop and ignore pages for streams with codecs you don't recognize.

      >and the data is possibly useless without the codec anyway, but that's true of every container.

      Dead wrong. As a trivial example, remuxing.

      And didn't you just say that you can parse streams without knowing about the codec?

      >In practice, the granule position mapping does in fact exist in the stream metadata within the Skeleton header

      Too bad that in practice, I've seen a skeleton header maybe once. And anything optional is guaranteed to be missing in many cases. Thus to demux a new codec you still have to find the codec spec, find the ogg mapping, write the granule demangler, write a parser for the codec headers, etc. instead of adding a single entry to a table like you would for sane containers.

      >Additionally, the Ogg design allows implementations to ignore the pretty design theory and just do things the way other containers do by building granule position calculation into the mux implementation.

      I'm not really sure what he's talking about here, but ogg certainly doesn't allow you to do like other containers do and store the unmangled timestamp.

    13. Re:tl;dr by Anpheus · · Score: 2, Interesting

      It looks like it's depending on the information from each codec though. What happens if you don't have one of the codecs installed?

    14. Re:tl;dr by Anonymous Coward · · Score: 3, Informative

      Too bad that in practice, I've seen a skeleton header maybe once. And anything optional is guaranteed to be missing in many cases. Thus to demux a new codec you still have to find the codec spec, find the ogg mapping, write the granule demangler, write a parser for the codec headers, etc. instead of adding a single entry to a table like you would for sane containers.

      I think this speaks to your own inexperience more than anything else. Here's an ogg video with a Skeleton stream:

      http://videos.videoonwikipedia.org/video/275/cell-phone-engineerguyogv

      You can find many more with Skeleton streams at http://videos.videoonwikipedia.org or http://openvideo.dailymotion.com or http://www.archive.org or many other sites. I can only conclude that you are not very knowledgeable about ogg usage in practice.

    15. Re:tl;dr by hardburn · · Score: 1

      Summary: certain uses require certain tradeoffs. Ogg tries to balance many different uses, and mostly succeeds. The original rant often cherry-picked which container formats it would compare Ogg against in a given context. Even so, Ogg often ends up comparing favorably to that container under real world conditions. The other FOSS Swiss Army Knife of container formats, Matroska, often does things the same way or comes out with similar performance in the end.

      --
      Not a typewriter
    16. Re:tl;dr by Anonymous Coward · · Score: 2, Informative

      Okay, I'll uninstall libtheora from my Fedora 12 desktop:

      # rpm --nodeps -e libtheora-1.1.0-1.fc12.x86_64 libtheora-1.1.0-1.fc12.i686

      Totem no longer plays Elephants_Dream.ogg because libtheora is not installed. It outputs a warning:

      $ totem Elephants_Dream.ogg

      (totem:8219): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-0.10/libgsttheora.so': libtheoraenc.so.1: cannot open shared object file: No such file or directory

      Let's try ogginfo now:

      $ ogginfo Elephants_Dream.ogg
      Processing file "Elephants_Dream.ogg"...

      New logical stream (#1, serial: 1e05b679): type skeleton
      New logical stream (#2, serial: 72ba3177): type theora
      New logical stream (#3, serial: 30fa15ff): type vorbis
      Theora headers parsed for stream 2, information follows...
      Version: 3.2.1
      Vendor: Xiph.Org libThusnelda I 20081201
      Width: 426
      Height: 240
      Total image: 432 by 240, crop offset (0, 0)
      Framerate 24/1 (24.00 fps)
      Aspect ratio undefined
      Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)
      Pixel format 4:2:0
      Target bitrate: 0 kbps
      Nominal quality setting (0-63): 32
      User comments section follows...
                      ENCODER=ffmpeg2theora-0.24
      Vorbis headers parsed for stream 3, information follows...
      Version: 0
      Vendor: Xiph.Org libVorbis I 20080501
      Channels: 2
      Rate: 48000

      Nominal bitrate: 80.000000 kb/s
      Upper bitrate not set
      Lower bitrate not set
      User comments section follows...
                      ENCODER=ffmpeg2theora-0.24
      Logical stream 1 ended
      Vorbis stream 3:
                      Total data length: 4986375 bytes
                      Playback length: 10m:53.696s
                      Average bitrate: 61.023779 kb/s
      Logical stream 3 ended
      Theora stream 2:
                      Total data length: 30621851 bytes
                      Playback length: 10m:53.791s
                      Average bitrate: 374.698578 kb/s
      Logical stream 2 ended

      Information output is the same. Reinstall libtheora:

      # yum install libtheora.x86_64 libtheora.i686

      And totem plays Elephants_Dream.ogg once again.

    17. Re:tl;dr by dotwaffle · · Score: 1

      And indeed, the OSI model isn't even used in modern networking. It can be loosely applied to IP networking, but it was meant for the CLNP networking infrastructure.

    18. Re:tl;dr by dgatwood · · Score: 2, Informative

      No, that's not at all what I wrote. The fundamental purpose of a container is to consolidate multiple pieces of information into a single file. Without containers, you would need one file for your audio data and a separate one for your video data. You should not need to understand the video data to play the audio data; it is sufficient to know its length. And *that* is what I wrote.

      --

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

    19. Re:tl;dr by Anonymous Coward · · Score: 0

      Ogg allows per codec metadata, but it also has skeleton for single stream wide metadata.

    20. Re:tl;dr by Rockoon · · Score: 3, Insightful

      ID and LENGTH is not a "container" by any definition that I have ever heard of or used in practice.

      What you are describing is a common ordinary linked list.

      None of the containers that I am aware of require you to understand the video data in order to play the audio data, so what the heck are you actually getting on about? That "containers" should be ordinary linked lists?

      In reality, thats not fit for purpose. That media file contains at least two stream, and while each stream can be treatable as independent, they can also be treatable as semi-dependent. There exists information that is shared between streams. For example, metadata.

      If I am not required to decode the video stream, then you can't put the shared metadata in the video stream. If I am not required to decode the audio stream, then you can't put the shared metadata in the audio stream. So what then?

      And thus, the media container is born. Linked lists just don't cut it. These formats are more than linked lists for a real (and I gave only one of them) reason.

      --
      "His name was James Damore."
    21. Re:tl;dr by Anpheus · · Score: 4, Informative

      Ah, the gotcha is in the source:

      http://svn.xiph.org/trunk/vorbis-tools/ogginfo/ogginfo2.c

      Ogginfo's source includes information on how to process the metadata for various codecs.

      So, the grandparent's complaint is still valid. Ogginfo appears to require recompilation for every stream that they want to support inside an ogg container.

    22. Re:tl;dr by diamondsw · · Score: 1

      An interesting observation, but when you have significant amounts of common data that are useful to be exposed - timestamps, dimensions, aspect ratio, framerate, samplerate were mentioned - then these should be stored in a standardized format and location. No need to make 7 layers when two will do the job every bit as well.

      --
      I don't know what kind of crack I was on, but I suspect it was decaf.
    23. Re:tl;dr by RAMMS+EIN · · Score: 1

      ``Ogg is not like that at all. The only thing it stores in a codec-independant manner is framing. Every other piece of information you might expect a container to have is stored in a codec-dependant manner. Even metadata!''

      Ok, so you are saying that there are things that you can do which, with Ogg, require you to understand the codec, whereas other containers allow you to do these things without having to understand the codec. Correct?

      Could you or someone else provide (or link to) some examples of things you may want to do that require knowledge of the codec when Ogg is used as a container, but can be done with only knowledge of the container for other container formats?

      --
      Please correct me if I got my facts wrong.
    24. Re:tl;dr by rtfa-troll · · Score: 1

      It is often wrongly applied to IP networking, but it was meant for the CLNP networking infrastructure.

      There FTFY. I have never seen anything which causes more confusion to people learning networking than the use of the OSI model to explain it. Any trainer who does it (yes I'm looking at you CISCO) should be damned to Steve Ballmer's dungeon.

      --
      =~ s,(.*),<sarcasm>$1</sarcasm>,g if any_point_you_wish();
    25. Re:tl;dr by Anonymous Coward · · Score: 0

      I'd like the container and codecs to work together to support seeking into the file without reading trough each of it's frame and decoding it's timestamp.

    26. Re:tl;dr by radtea · · Score: 2, Insightful

      What possible use could you have for obtaining time stamps within a video stream that you cannot decode?

      Right, so much for Ogg.

      This kind of answer, which amounts to "You shouldn't want to do that", is an absolutely certain indicator of a product that doesn't solve the problem that poeople actually have and never will, because when the inadequacies of the solution are pointed out, users are told they should have a different problem.

      Every time I have ever been told by anyone anything like that it has been a sure indication that they have simply failed to understand the domain I am working in.

      --
      Blasphemy is a human right. Blasphemophobia kills.
    27. Re:tl;dr by bluefoxlucid · · Score: 1

      And the audio stream may be of a type that encodes in specified chunks (i.e. MP3) where the video stream encodes in chunks of different lengths, so i.e. time stamping might not be "throw in one or the other and line them up with each other" but rather a process of demux, sync, and play both back at once. I can't see why someone would parasitically intertwine two independent pieces of data to one another, i.e. make an audio stream that doesn't make sense without a video stream, or vice versa, in a strict data sense.

    28. Re:tl;dr by bluefoxlucid · · Score: 1

      Your rebuttle is "just trust me, I want to solve a problem half-way without the ability to fully approach the problem." Have fun sticking your head in a black box you don't actually understand; if we're lucky it'll be a guillotine.

    29. Re:tl;dr by mrbobjoe · · Score: 1

      If I am not required to decode the video stream, then you can't put the shared metadata in the video stream. If I am not required to decode the audio stream, then you can't put the shared metadata in the audio stream. So what then?

      Put the shared metadata in the metadata stream?

    30. Re:tl;dr by dgatwood · · Score: 1

      That's really an orthogonal issue. If you're seeking into the file in any useful way, you must have the ability to play one of the codecs, in which case it really doesn't matter whether the data you need is part of the generic container data or part of the codec-specific data. If you can't play any of the codecs, then what's the point of seeking?

      --

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

    31. Re:tl;dr by Mr+Z · · Score: 1

      I can't see why someone would parasitically intertwine two independent pieces of data to one another, i.e. make an audio stream that doesn't make sense without a video stream, or vice versa, in a strict data sense.

      I could, if it were some esoteric format. (For example, I've considered doing something like that to log data out of my Intellivision emulator, since it happens to be easier to do that way for my purposes, and therefore it is in no sense general purpose. Esoteric is a perfect label for it.) But, if it's some esoteric format, the label "esoteric" applies to both the audio and the video together, since they're clearly joined at the hip. In that situation, what are the odds you can decode one but not both?

      For more traditional codecs, though, you're exactly right. Each one brings its own framing/chunking requirements so it makes no sense to store one's metadata in the other.

    32. Re:tl;dr by maestroX · · Score: 1

      Although there might be advantages of having other data encoded in a consistent fashion for people writing debug tools, when it comes to general software, as long as the CODEC software provides a standard set of accessor functions that return the data in a consistent way across all CODECs,

      Not gonna happen.
      Same problem since SGI's times, same shoddy solution. Generic access work badly for audio, video codecs.

    33. Re:tl;dr by Rockoon · · Score: 1

      If I am not required to decode the metadata stream, then you can't put the shared metadata in the metadata stream.

      And here it is. The reason for container formats. If there are things that you ARE required to do, then they should be part of the format.

      --
      "His name was James Damore."
    34. Re:tl;dr by Anonymous Coward · · Score: 0

      so now we're expected to pretend the article summaries and published report titles are irrelevant and not open to interpretation on their own?

      troll? the moderators on this site are ignorant.

      the original poster makes this exact point: if this is the way the people behind ogg act, it is doomed.

  3. tl;dr by Anonymous Coward · · Score: 0

    Is there, you know, a summary or something so I don't have to wade through that long fricking rant in order to actually learn anything interesting about the Ogg format? Inadequate summaries aside - if this is the extent of the creator's ability to communicate about issues surrounding the format, no wonder it's suffering.

  4. Really? by Goaway · · Score: 0, Redundant

    You mean the creator of a file format thinks that his file format is good? This certainly is newsworthy!

    1. Re:Really? by amicusNYCL · · Score: 2, Funny

      Oh, it's far worse than that: one of his competitors thinks it's not a good format.

      --
      "Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
    2. Re:Really? by postbigbang · · Score: 4, Insightful

      And more importantly, they're wrong, in the eyes of its developer.

      It's a cogent flame of his critics, but it also exposes what are plainly design differences-- and his critic's non-nuanced eye. You have to appreciate someone that can split hairs so finely when taking a set of arguments apart. I like thinkers.

      --
      ---- Teach Peace. It's Cheaper Than War.
    3. Re:Really? by icebraining · · Score: 3, Insightful

      He didn't say it was good, he explained why it is good.

    4. Re:Really? by bluefoxlucid · · Score: 1

      The guy who wrote the original complaint cherry-picked different formats he liked; ignored the fact that most formats he liked did things the same as Ogg; and also used the excuse "X format is intended to be implemented in hardware, which makes everything okay because implementations in hardware are infinitely fast no matter what you do wrong!"

  5. Well written, and informative, but... by Dragoniz3r · · Score: 4, Informative

    ... the last time we discussed this, didn't the consensus eventually become that ogg isn't a fun container to work with, despite the fact that the guy who wrote the rant about it was a moron for wanting to trim headers that contribute fractions of percents to the overall size of files? I know I personally have worked with ogg, and it was a pain in the ass, mostly because (as the author of the format admits) the documentation blows.

    1. Re:Well written, and informative, but... by imsabbel · · Score: 5, Interesting

      Yeah.
      Also, for some reason there seems to exist no player in the world that can skip or jump in a video inside an OGM container without severe slowdowns and pauses even on an Core i7. Something that does simply not happen for avi, mp4, mkv or even mov (which is more or less mp4).

      --
      HI O WISE PRINCE. WHT TOOK U SO DAM LONG?
    2. Re:Well written, and informative, but... by Anonymous Coward · · Score: 1, Informative

      I'm not sure what crazy German fetish porn you are watching that does that, but I've never had that issue.

    3. Re:Well written, and informative, but... by BikeHelmet · · Score: 4, Interesting

      I've noticed the same thing. MP4, MKV, AVI, etc. are instant, but ogv (ogm according to GSpot) has multi-second delays when seeking to specific parts of the video.

      I must be doing something wrong... and yet it's the same for every media player I try.

    4. Re:Well written, and informative, but... by Slotty · · Score: 2

      This was well written?

      The authors response in no way enticed the audience to keep reading.

      Informative yes... Well written I don't believe so. But his admission to poor documentation is a nice sign of humility you rarely see in today's world

    5. Re:Well written, and informative, but... by Dragoniz3r · · Score: 5, Insightful

      Certainly better written than Rullgard's hatchet-job. Maybe I'm just used to reading technical documentation (RFCs and the like), but I really dislike reading the flippant opinions of some hack with an axe to grind. Much prefer reading the technicalities of the topic and making up my own mind.

    6. Re:Well written, and informative, but... by EMN13 · · Score: 4, Informative

      As the article notes, .ogm isn't actually a normal ogg container, so the author isn't disputing issues with ogm (he calls it an ugly windows specific hack). And in any case, if you use a codec set to use few keyframes, you'll get poor seek performance in *any* container format - it's quite likely the issues you saw had everything to do with the encoding choices made and little with the (deprecated) ogm container.

    7. Re:Well written, and informative, but... by Anonymous Coward · · Score: 0

      ogm is ogg as in rfc 3533 is ogg. Seeking has the same constraints and problems.

      The problem with ogm is that it basically defined new codec mappings without documenting them. Xiph never liked it because it allowed a way for patented codecs to be put in ogg.

    8. Re:Well written, and informative, but... by Hatta · · Score: 3, Informative

      Have you tried it with MPlayer? I just tried it with an OGV from archive.org. Seeking was instantaneous.

      --
      Give me Classic Slashdot or give me death!
    9. Re:Well written, and informative, but... by poetmatt · · Score: 2, Interesting

      uh, OGM is not ogg. So of course you cant' help but not have problems with it. It's a horrible attempt at getting WMV to work in ogg, basically. Try OGG instead of OGM and what do you know! skipping and jumping works wonderfully!

      Helps to read the article because then you'd actually know that.

    10. Re:Well written, and informative, but... by evilviper · · Score: 4, Interesting

      And in any case, if you use a codec set to use few keyframes, you'll get poor seek performance in *any* container format - it's quite likely the issues you saw had everything to do with the encoding choices made and little with the (deprecated) ogm container.

      Not at all. Every other format listed as having good seek performance has an INDEX. Ogg/Ogm does not. Lacking an index generally results in broken frames when seeking as well.

      The are a couple efforts to get Ogg files indexed, but Xiph.org remains utterly indifferent, so you can expect it to remain an unsupported bastard step child like OGM, which is also only unofficial because Xiph can't be bothered with other people's needs.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    11. Re:Well written, and informative, but... by Slotty · · Score: 1

      Yes Rullgard's piece from the excerpts seemed to be technically incorrect. However I was simply trying to point out that the response piece imho was long winded and to convoluted to be effective.

      And as other people point out there are some underlying issues in the format but if people don't like it they don't have to use it :)

    12. Re:Well written, and informative, but... by Blakey+Rat · · Score: 0, Flamebait

      It's not well-written at all. He responds to obvious jokes with indignant corrections. For example, this one:

      32.
                  Generality
          33.

          34.
                  Ogg, legend tells, was designed to be a general-purpose container
          35.
                  format.

      "Legend tells us"? Ogg is not a dramatic, unknowable mystery shrouded in the mists of time. I designed it. I'm alive and willing to answer any questions about the format. Allow me this opportunity to reiterate that Ogg was designed as a general purpose container.

      (Sorry about the formatting-- he also formatted quotes from the original article like a 1975-era IBM line printer for some retarded reason.)

      He has his knickers in a twist over an obvious joke intended to lighten-up the mood of the original article. It makes me sound like a humorless oversensitive prick from the very start. It doesn't help that he feels compelled to respond to things he has no debate over, like the format of the file header.

      Anyway, I stopped reading after the first few pages. He's too uptight and protective to effectively defend the format.

      (Cue the obvious: "how would anybody editing Slashdot articles know what 'well-written' looks like?" joke. At least the original article wasn't written by a humorless prick.)

    13. Re:Well written, and informative, but... by Blakey+Rat · · Score: 1, Informative

      Since I'm on a bit of a soapbox, I'd also like to address this:

      Detailed documentation (or the lack thereof) is vitally important, however it has little to do with the container design itself. Mr. Rullgard claims to establish that Ogg is badly flawed, not that it needs more documentation.

      Not having adequate documentation *is a flaw*. I find it incredible that anybody working with file formats would argue otherwise.

    14. Re:Well written, and informative, but... by Twinbee · · Score: 1

      Is this a problem with Ogg, or the media players implementations? Could this even theoretically be fixed with Ogg in its current state?

      Afaik, usually, codecs have something called 'key frames' where the lower the step for each key frame, the quicker it is for the user to seek to any particular part of the video. The extreme case would be to have each frame as a key frame. This should allow instant random access of the video, but the resulting filesize will be bigger.

      Doesn't Ogg have/support anything like that?

      --
      Why OpalCalc is the best Windows calc
    15. Re:Well written, and informative, but... by BikeHelmet · · Score: 2, Informative

      Yes, I have. I can only conclude that I'm encoding it wrong.

      But I seem capable of making streamable/seekable vids in other formats, so why is it so difficult with ffmpeg2theora?

    16. Re:Well written, and informative, but... by BikeHelmet · · Score: 2, Interesting

      And in any case, if you use a codec set to use few keyframes, you'll get poor seek performance in *any* container format - it's quite likely the issues you saw had everything to do with the encoding choices made and little with the (deprecated) ogm container.

      That's quite possible. I'm just having trouble finding settings that let it be seekable, without torpedoing the quality.

      Tons of keyframes does work, but the bitrate required goes up quite a bit.

    17. Re:Well written, and informative, but... by Rennt · · Score: 1

      Don't feed crap trolls. The crafty ones can get you sometimes but there was no excuse for this.

      If it wasn't for your response the moderation system would have made sure I, and thousands of other readers, would never had read the AC's post at all. It has already disappeared off the radar.

      But you had to go and open a dialogue. You even quoted the whole thing! No offence man, but WTF were you thinking?

      I do agree that it would be nice to ban everybody named "Anonymous Coward" though. I wish we could to a poll on that.

    18. Re:Well written, and informative, but... by Trepidity · · Score: 4, Insightful

      It's a different kind of flaw, though. Rullgard was arguing that Ogg is inherently technically flawed. Arguing that it's technically fine but unusable due to a lack of documentation is a different argument.

    19. Re:Well written, and informative, but... by malloc · · Score: 0

      He has his knickers in a twist over an obvious joke intended to lighten-up the mood of the original article

      Absolutely. Just like how you should laugh at the when the guy robbing you at knife-point says "do what I say, get the point".

      Seriously, Monty was replying to an absolute hatchet job on something he'd put major work into. We should find it funny?

      P.S. his quoting style was easy to read, yet you use it as an excuse for your bad formatting?

      --
      ___________________ I want to be free()!
    20. Re:Well written, and informative, but... by Anonymous Coward · · Score: 0

      Neither it is a problem with OGM, the problem is OGM sucks.

    21. Re:Well written, and informative, but... by Thinboy00 · · Score: 2, Insightful

      Where, exactly, is the boundary line between a file format and its documentation/specs?

      --
      $ make available
    22. Re:Well written, and informative, but... by Jesus_666 · · Score: 2, Informative

      Except that TFA mentions they're likely to put an index in the next revision of Ogg.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    23. Re:Well written, and informative, but... by Anonymous Coward · · Score: 0

      It's standard, run of the mill crazy German fetish porn and I expect it to just work dammit!

    24. Re:Well written, and informative, but... by robmv · · Score: 1

      OGM used the Ogg page structure (mostly correctly) though with private data for the VfW framework. The result was parseable as Ogg container but containing an ugly Windows-specific hack. We objected because it was not well formed and confused users who thought it was regular Ogg. It was a quick and dirty fork.

      For the record, Tobias later joined Xiph along with his DirectShow filters[9] and deprecated OGM. OGM is no longer supported in our DirectShow offerings[10].

      So your need is a video container format only for Windows?

    25. Re:Well written, and informative, but... by segedunum · · Score: 1, Troll

      He has his knickers in a twist over an obvious joke intended to lighten-up the mood of the original article.

      No, it isn't. The original 'legend tells us' phrase is an obvious piece of pretentious bullshit full of its own self-importance. Nothing else. It is not a joke at all. It was designed to be sarcastic. If you had a decent grasp of using English in a practical manner then you'd know that.

      Anyway, I stopped reading after the first few pages. He's too uptight and protective to effectively defend the format.

      Yay. Let's dismiss arguments because we think a person is to uptight, and worse, because we don't understand English meaning.

    26. Re:Well written, and informative, but... by Anonymous Coward · · Score: 0

      Did you RTFA? He addresses this issue directly, cogently, and convincingly. He admits that he resisted indexing demands deliberately, and gives good reasons why. He also admits that someone has come up with a good use-case that has convinced him to include an index.

      If you are going to write such a condemnation, perhaps you should read the article so you can avoid making a fool of yourself.

    27. Re:Well written, and informative, but... by Blakey+Rat · · Score: 1

      Even if you're right (and we'll probably just have to agree to disagree on that) he still replied as if it was a literal statement, which is at best extremely irritating.

      BTW, my dismissal of his opinion is mostly:
      1) because the blurb says it was well-written when I believe it clearly is not. I expected it at least to be entertaining.
      2) I really don't give a flying rat's ass about the OGG format.

      Neither of which is really the author's fault. So there you have it.

    28. Re:Well written, and informative, but... by kbg · · Score: 1

      So obviously they where wrong in the first place if they are now only revising the standard to include an index.

    29. Re:Well written, and informative, but... by styrotech · · Score: 1

      It makes me sound like a humorless oversensitive prick from the very start.

      Oh I dunno, the quip about Xiph panzer divisions was clearly intended as humour. Unless of course he wasn't actually joking about that - do you know something the rest of us don't?

    30. Re:Well written, and informative, but... by evilviper · · Score: 2, Informative

      So your need is a video container format only for Windows?

      No, Monty is simply lying about this point.

      While the fields in Ogm are based on Window's VfW, they can be created and parsed on any platform quite easily. I've NEVER used Ogm one Windows, I've ALWAYS used it under Unix systems. Ogmtools can be used to generate such files, and MPlayer (which works on damn near every platform, from Linux, Windows, and OSX to VMS and OS/2) will play them out of the box, with no additional dependencies.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    31. Re:Well written, and informative, but... by Anonymous Coward · · Score: 0

      The author of the article mentions that indexes weren't really useful except for http-over-satellite connections.

      Sometimes RTFA is a good thing. Yeah, I'm new here and all that.

    32. Re:Well written, and informative, but... by BitwiseX · · Score: 1

      mostly because (as the author of the format admits) the documentation blows.

      Then get to work community! Someone is getting answers from somewhere. Isn't that why we're here? :-O

    33. Re:Well written, and informative, but... by diamondsw · · Score: 1

      A different argument with the same result - it's unusable.

      --
      I don't know what kind of crack I was on, but I suspect it was decaf.
    34. Re:Well written, and informative, but... by b4dc0d3r · · Score: 0, Troll

      Next time, maybe he'll make his point using only XKCD links or Maddox quotes and you'll enjoy it a lot more.

    35. Re:Well written, and informative, but... by Trepidity · · Score: 1

      Yeah, but the fixes are different. If it's a technically sound format with bad documentation, the fix is to write better documentation. But if the format itself has significant technical shortcomings, just documenting it better isn't a fix.

    36. Re:Well written, and informative, but... by Daengbo · · Score: 3, Informative

      I guess you didn't RTFA (Don't feel bad -- I only got 80% through before throwing in the towel). OGM's status is thoroughly explained, and the author talks about adding indexes in the next version of OGG, due to concerns about HTTP over satellite.

    37. Re:Well written, and informative, but... by JasterBobaMereel · · Score: 1

      Have you read the documentation of the other containers ....? ...probably not as you would have noticed that the documentation for those are equally as bad ....

      --
      Puteulanus fenestra mortis
    38. Re:Well written, and informative, but... by Jesus_666 · · Score: 1

      Actually, their rationale for this is that Ogg is now used in different contexts where an index becomes neccessary. In more contexts, xiphmont maintains, simply implementing the recommended searching strategy would suffice as it can scan to any part of the file and continue playing within about three seeks.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    39. Re:Well written, and informative, but... by commodore64_love · · Score: 1

      I have observed paused in non-OFF files. Some of the WMV files I own will pause for 2-3 seconds before playing. Or else the video will play instantly, but the sound won't resume until 15 seconds later.

      As for OGG:

      Isn't this also considered outdated? Test results I've reviewed show the video/audio quality is no better than an MP3 or AAC encoded file, and far inferior to newer codecs like MP3pro (MP3+SBR), MPEG4 VLC, or AAC+SBR

      --
      "I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
    40. Re:Well written, and informative, but... by jvj24601 · · Score: 1

      So he's

    41. Re:Well written, and informative, but... by radtea · · Score: 1

      Seeking was instantaneous.

      How does providing an example where Ogg does work well in any way counter the multiple cases we've seen referenced in this thread where it does not?

      Demonstrating that Ogg is capable of not sucking doesn't mean there aren't severe problems with the usability of the format if hardly anyone anywhere is actually able to use it in that narrowly defined way, which demonstrably they are not.

      So thanks for making it clear that Ogg is incredibly fragile, and therefore unusable for most users most of the time.

      --
      Blasphemy is a human right. Blasphemophobia kills.
    42. Re:Well written, and informative, but... by Kamien · · Score: 1

      OGM was an old and deprecated fork. From the original article:
      "OGM used the Ogg page structure (mostly correctly) though with private data for the VfW framework. The result was parseable as Ogg container but containing an ugly Windows-specific hack. We objected because it was not well formed and confused users who thought it was regular Ogg. It was a quick and dirty fork. For the record, Tobias later joined Xiph along with his DirectShow filters[9] and deprecated OGM. OGM is no longer supported in our DirectShow offerings"

    43. Re:Well written, and informative, but... by Anonymous Coward · · Score: 0

      RTFA.

    44. Re:Well written, and informative, but... by Dan+Ost · · Score: 2, Informative

      A previous responder to your earlier post explained that ffmpeg puts a bogus value in the OGG header which causes the entire OGG vid to be parsed.

      If that's true, then you're using a broken tool to create your OGG vids. File a bug report or switch tools.

      --

      *sigh* back to work...
    45. Re:Well written, and informative, but... by Anonymous Coward · · Score: 0

      And with German efficiency, I imagine!

    46. Re:Well written, and informative, but... by steveha · · Score: 1

      Where, exactly, is the boundary line between a file format and its documentation/specs?

      If a file format is bad, no amount of documentation can make it good. To fix problems in the file format, you need to get everyone to upgrade their decoders (media players or whatever).

      If a file format is good, but poorly documented, then improving the documentation can help people to use the file format correctly. There is no need for anyone to upgrade their decoders (and the people who have hardware-based decoders, like portable media players, are especially grateful); new content will just work better.

      (Also, if a file format is good but the decoders were written badly, then if you document how to do the decoder right and get everyone to upgrade, then all the existing content starts working better.)

      steveha

      --
      lf(1): it's like ls(1) but sorts filenames by extension, tersely
    47. Re:Well written, and informative, but... by PastaLover · · Score: 1

      No, Monty is simply lying about this point.

      While the fields in Ogm are based on Window's VfW, they can be created and parsed on any platform quite easily. I've NEVER used Ogm one Windows, I've ALWAYS used it under Unix systems. Ogmtools can be used to generate such files, and MPlayer (which works on damn near every platform, from Linux, Windows, and OSX to VMS and OS/2) will play them out of the box, with no additional dependencies.

      Monty:

      The result was parseable as Ogg container but [...]

      I think his point in that section was, there's a more general way to do it.

    48. Re:Well written, and informative, but... by PastaLover · · Score: 1

      As for OGG:

      Isn't this also considered outdated? Test results I've reviewed show the video/audio quality is no better than an MP3 or AAC encoded file, and far inferior to newer codecs like MP3pro (MP3+SBR), MPEG4 VLC, or AAC+SBR

      I suppose you meant audio quality? And vorbis instead of ogg? You realise the article was about the container format right?

  6. and at the end... by Anonymous Coward · · Score: 1, Funny

    he goes "and that's why the Ogg format is awesome...bitch!" and deliberately drops the microphone a-la Chris Rock. The ogg format critic...dat muddafugga just got served, yo.

  7. watch it... by SuperBanana · · Score: 1, Insightful

    The refutation has another advantage besides authoritativeness: it's far better written than the attack.

    coughcoughADHOMINEM

    If you're going to make commentary about an argument, try not to use a logical fallacy when doing so...

    1. Re:watch it... by Anonymous Coward · · Score: 0

      Uh, retard -- he didn't attack the person he attacked the written work.

    2. Re:watch it... by ScrewMaster · · Score: 1

      Uh, retard -- he didn't attack the person he attacked the written work.

      Probably he didn't read the definition.

      --
      The higher the technology, the sharper that two-edged sword.
    3. Re:watch it... by dgatwood · · Score: 1

      I think the original comment was implying that Monty's reply contained ad hominem attacks. It sort of did (pointing out that the person complaining had contributed to a competing design, thus at least implying a conflict of interest), but not in a fallacious way.

      --

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

    4. Re:watch it... by Anonymous Coward · · Score: 0

      Indeed, if that had been Monty's sole defense it would have been a piss-poor one. However he used it more to provide context to supplement his real arguments. In fact, if Monty hadn't also provided a strong point-by-point rebuttal of the technical arguments, "pointing out that the person complaining had contributed to a competing design" might instead be interpreted by the reader as an indication that the original critic has significant experience in that area of knowledge and added to that critic's authority on the subject.

    5. Re:watch it... by Anonymous Coward · · Score: 0

      http://www.youtube.com/watch#!v=jGrMJIGJFmM&t=0m35s

  8. And don't forget by Anonymous Coward · · Score: 5, Funny

    "Whenever you want information on the 'net, don't ask a question; just post a wrong answer."

    -- Cancer Omega

  9. Destroyed! by Anonymous Coward · · Score: 0

    He goes through every bloody line and shows how ill-formed just about everything his detractor had to say about Ogg.

    Very thorough.

  10. Re:If you say something often enough... by jellomizer · · Score: 0, Offtopic

    You mean all Political Parties Try to do this. Don't let your personal favor to an other political party make you think that you are not getting brainwashed too.

    --
    If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  11. Re:HTML5: The failure of the decade. by Nadaka · · Score: 0, Offtopic

    1: ok.

    2: what does that have to do with this topic?

    3: I have been complaining about html5 for the better part of 2 years.

    4: I've had to shelve a few xhtml2 projects I had started when I heard the spec was being cancelled. I have reason to complain.

  12. The goal by DaMattster · · Score: 4, Insightful

    Funny, I thought the goal was to get away from a patent encumbered format. Does Ogg work? Is it reasonably close to MP3/4? I believe the answer is yes to both. Now is Ogg as efficient as MP3/4, I cannot really comment because I am not that technically versed. If a standard HTML5 Video is adopted, it should and must be patent unencumbered. Rather than this nitpciking, I would love to see that same energy poured into improving Ogg. Like any design, Ogg can be improved upon to reach the same robustness of MP3/4.

    1. Re:The goal by Anonymous Coward · · Score: 0

      Open discussion is how designs get improved, not bashing out hundreds of lines of crap code.

    2. Re:The goal by jasonwc · · Score: 0

      Matroska is a non-patent encumbered container which is much more flexible and can with zero effort, support virtually any audio, video and subtitle format. Nobody opposes OGG because it's patent-free. They attack it because there are superior options - namely Matroska.

    3. Re:The goal by kiwieater · · Score: 4, Interesting

      I've always found Ogg/Vorbis to be superior to MP3. Using semi-good gear(electrostatic headphones, for the geeky folk), I find Ogg at q6(average of ~192kbps) to be nearer to CD quality than an MP3 at any bitrate - it's transparent in 95%+ of tracks.. Some music isn't transparent on either format regardless of bitrate, but Ogg has always tended to give better quality for a given filesize. All in my experience...

    4. Re:The goal by jasonwc · · Score: 4, Insightful

      The problem with this argument is that it somewhat misses the point. MP3 is "good enough" for the vast majority of users at LAME V0/V2. I would venture a guess that 95-99% of persons couldn't ABX at V0 in perfect conditions (expensive amp, DAC, and high-end headphones), yet if we're talking about the use of a DAP and earbuds, it is quite clear qualtiy isn't relevant.

      MP3's primary advantage is its effective standardization and universal support in all hardware and software. This single advantage far outweighs any benefit Ogg Vorbis can provide. An MP3 can be played on any DAP, on any operating system (with the right codecs), and all music software. It's therefore the preferred lossy sharing format. On the large music trackers, Vorbis makes up fewer than 1% of lossy downloads by file size and # of downloads. MP3 is the clear preference.

      The fact is that, while Ogg Vorbis, may be better than MP3 quality-wise at V0 or 320 CBR, this is not the main point of lossy audio. If your primary concern is quality and archival, you shouldn't use any lossy format. You should use FLAC - it is open source and has superior error detection features (MD5/CRC for each frame, use with Accuraterip to verify any disk).

      I use FLAC on my desktop and only download EAC rips with 100% logs, or try to, at least. This ensures that my downloads are "perfect rips", and the encoding process has not reduced quality at all. With a single click, I can verify my FLACs against the Accuraterip database to ensure they are perfect.

      No lossy format provides this benefit. If I want to put the music on my iPod, I can convert it quickly with my Core i7 (45 seconds an album). I can convert my entire collectoin in several hours.

      So, why use OggVorbis over FLAC?

    5. Re:The goal by Yaur · · Score: 1

      Vorbis is better than MP3 and Ogg was more or less designed to contain Vorbis so it does it isn't surprising that it works well together where it fails is trying to use it as general purpose container format.

    6. Re:The goal by caseih · · Score: 1

      Can't blame you for not reading the article, since it was dry. But if you would read the article you'd know that you're wrong. ogg was not designed specifically for ogg vorbis. It was designed as a generic container for all sorts of streams, right from the beginning. Before you post next time, please consider whether what you are saying is actual fact or just something you made up based on what you thought you knew.

    7. Re:The goal by kiwieater · · Score: 1

      So, why use OggVorbis over FLAC?

      I don't, I also use FLAC, and am one of the fools with an external DAC and whatnot. The question asked by the OP was how Ogg compares to MP3/4 - for a given bitrate, Ogg/Vorbis was(to my ears) of better quality than an MP3, and could give comparable quality for a smaller filesize, sometimes noticeably so. I started to read the full article, but skipped through the comments(and posted) without getting very far into it, and did kinda miss exactly what was being got at. Sorry.

    8. Re:The goal by Blakey+Rat · · Score: 1

      I didn't realize there was a "the" goal. My goal certainly doesn't have anything to do with patents. (It does care about expense, but that's not a 1:1 relationship.)

    9. Re:The goal by Anonymous Coward · · Score: 0

      Before you post next time, please consider whether what you are saying is actual fact or just something you made up based on what you thought you knew.

      If you can't understand what is wrong with that, you should go drown yourself in a toilet, right now. Save the rest of us the inconvenience of putting up with you.

    10. Re:The goal by Anonymous Coward · · Score: 0

      Hey dipshit, if you RTFA, you would know that OGG *was* designed as a general purpose container format.

    11. Re:The goal by Yaur · · Score: 2, Interesting

      My opinion is based on implementing software around OGG and I stand by it. That the original developer says something different 10 years after the fact is interesting but not definitive.

    12. Re:The goal by SanityInAnarchy · · Score: 2, Insightful

      And that's exactly what TFA was refuting. Why is Matroska better?

      --
      Don't thank God, thank a doctor!
    13. Re:The goal by AtlantaSteve · · Score: 2, Insightful

      So, why use OggVorbis over FLAC?

      Because:

      • You may not need absolute-100%-CD-quality, but you're still more demanding than the majority of users
      • You have a decent (i.e. non-Apple) media player that supports a variety of formats, and Ogg happens to be one of them

      • You don't see the point of wasting space with a FLAC that's half the size of a ripped WAV, when you could just use an Ogg file that's less than ten-percent the size of a ripped WAV

      [shrug]... That's my reasoning for using Ogg, anyway.

    14. Re:The goal by caseih · · Score: 1

      Oops. That should have read "ogg was not designed specifically for vorbis."

    15. Re:The goal by Anonymous Coward · · Score: 0

      > The problem with this argument is that it somewhat misses the point. MP3 is "good enough" for the vast majority of users at LAME V0/V2.

      Quality is important; "good enough", sometimes, isn't. For "Queen of the Night", e.g., it has to be good.

      I no longer have young hearing ( see http://journal.plasticmind.com/ears/mosquito-tone-or-how-to-tell-youre-a-youngun/ ), but I can clearly see differences in purity between a downloaded mp3 and ogg (even if ripped). Ogg is much better for female voices singing a capella.

      > it is quite clear qualtiy isn't relevant.

      Quality... 8-P

      When you download MP3 at low bitrates, ogg can make a difference. In fact, at high enough bit rates they probably become equivalent. There are two instances where those rates are kept low: the internet and inside a small memory portable audio player (and some play ogg, like mine).

      > MP3's primary advantage is its effective standardization and universal support in all hardware and software.

      Widespread use is not standardization. Even if one accepts "de facto" standards, they value much less than "de jure" ones.

      > This single advantage far outweighs any benefit Ogg Vorbis can provide.

      Interesting opinion. Being a freedom-zealot, allow me to disagree.

      > An MP3 can be played on any DAP,

      These are too inexpensive nowadays -- and the easiest to buy with ogg support.

      > on any operating system (with the right codecs),

      Ogg is just as easy as mp3 in that regard -- I can play ogg on Windows, for instance, no problem; in Linux, mp3 is harder to play than ogg! (mainly because of license issues, not technology).

      > and all music software.

      The same comment above applies here.

      > It's therefore the preferred lossy sharing format. On the large music trackers, Vorbis makes up fewer than 1% of lossy downloads by file size and # of downloads. MP3 is the clear preference.

      This is tautologic. MP3 comes preinstalled while Vorbis usually not. MP3 is not really sought.

      > If your primary concern is quality and archival, you shouldn't use any lossy format. You should use FLAC

      I just want to hear music in my ogg playing car radio... when I'm at a traffic jam, good music can make a huge difference. There's a hacking virtue in producing superb sound with ordinary hardware. This frugality is usually underappreciated.

      > I use FLAC on my desktop and only download EAC rips with 100% logs, or try to, at least. This ensures that my downloads are "perfect rips", and the encoding process has not reduced quality at all.

      Good tip, thanks.

      > No lossy format provides this benefit.

      Lossy formats have their virtues.

      If I want to put the music on my iPod, I can convert it quickly with my Core i7 (45 seconds an album). I can convert my entire collectoin in several hours.

      I don't have an i7 -- I do have a good machine, but other people simply cannot spare the money and must do with their 5-year old PCs. Besides, if you got Vista, your several hours may become days, even on an i7... lol!

      > So, why use OggVorbis over FLAC?

      Space, the final frontier. No, seriously, you might have a memory-deprived gizmo -- even some cheaper cellphones have small memories (which is best left free for photos, anyway).

      Size (==space), if you own a site/blog. At the end of the month, it might mean not going over a contracted maximum bandwidth usage.

      Cost, IIRC, MP3 encoding is not free (especially for wide distribution).

      Ethics, because formats should be free and open for people like me.

      etc.

    16. Re:The goal by diamondsw · · Score: 1

      Ogg video (Theora) is most certainly nowhere near H.264 (MP4). Every independent (non-Xiph-run) test has shown that. Xiph's "proof" was comparing against H.263, which is an ancient codec.

      --
      I don't know what kind of crack I was on, but I suspect it was decaf.
    17. Re:The goal by jasonwc · · Score: 2, Informative

      Your points are good ones. However, you and other make reference to "low bitrate MP3s". Isn't that somewhat besides the point? If you're going to compare Ogg Vorbis q6 or q8 to MP3, you should compare to the best and most widely available codec and encoding options.

      By far, the most popular MP3 encoder is LAME, and the preferred format is V0 or V2. V0 generally has the most downloads on the popular private bittorrent trackers, but V2 is the choice of "scene" release groups.

      Neither is low quality. V2 averages around 192 kbit/sec and V0 around 245 kbit/sec. There is very little perceptible difference between LAME at V0 v. 320.

      While Ogg Vorbis using the aoTuv encoder can achieve transparency at a slightly lower bitrate, from my ABX tests, and reading on Hydrogenaudio, you save, at most around 5%.

      I grant that this may be valuable on a DAP. While there are DAPs with Ogg Vorbis support, lets be honest here. What's the most popular DAC on the market? Apples iPod or Touch/iPhone, most likely. The vast majority of people I see with DAPs use an Apple product. Unless you use the third party Rockbox firmware, which substantially reduces the UI quality, one of the reasons people pay a premium for Apple products, you're not going to have Ogg Vorbis support.

      So, while it is possible to buy a DAP that supports Ogg Vorbis, you have to make your hardware purchase based on your codec choice, which really shouldn't be the case.

      You suggest that Ogg Vorbis support is only a problem if you're looking at cheap DACs. This clearly isn't the case. If you want to use an iPhone, Apple Touch, an iPod or any other popular DAC, you have two lossy choices - MP3 or AAC.

      So, while you do gain some space by using Ogg Vorbis, IMHO it's not worth the limitations in hardware and software choice.

      As for desktop usage, conventional hard drive storage is so cheap, that it is really inexpensive to simply rip to FLAC and your choice of lossy format. In fact dBpoweramp can rip a CD to both FLAC and any lossy format of your choosing in one simple step, and it will use the Accuraterip database to confirm the rip was accurate.

      Or you can use EAC, which is free, and then use dbpoweramp or another tool to batch convert at a later point. While my i7 makes the process very quick, even a mid-range Core 2 Duo can transcode a large FLAC collection in a few hours, and certainly overnight.

      With 1.5 TB drives at $100, hard drive space simply isn't a meaningful concern.

      The market for lossy audio formats on private bittorrent trackers shows the strong preference for MP3. A recent statistical analysis at what.cd showed that MP3 was by far the most popular lossy format, accounting for at least 98% of all downloads.

      Ogg Vorbis had very few downloads, and Ogg Vorbis uploads were the most likely to have 0 downloads. It's just not a popular sharing format for the reasons I raise above.

      That doesn't mean nobody is using it. FLAC has become much more popular as of late, and lossless formats provides the benefit of being able to transcode to any lossy format retaining tags and album art.

      I still think downloading, and certainly, riping to FLAC makes the most sense. You then can purchase any DAP of your choice, and know that you'll be able to convert your music to a supported lossy format. Even a relatively old computer can rip to MP3 relatively quickly. Foobar2000 even has a plugin that will do this for you automatically, for DAPs, including the iPod that don't support your format of choice.

      BTW, I'm only referring to encoding for personal use. Obviously, when widespread distribution is a concern, you must consider licensing costs, and size becomes a greater issue.

      As a matter of practicality, I don't see why FOSS advocates continually argue for Ogg Vorbis and don't talk much about FLAC. It is probably because MP3, and lossy formats in general are considered to be so popular. But, from my experience at what.cd, a private music tracker with over 120,000 members, FLAC is most certainly po

    18. Re:The goal by jasonwc · · Score: 1

      Sorry for the spelling errors and such. I wrote my response quickly.

    19. Re:The goal by Anonymous Coward · · Score: 0

      wow, rtfa

    20. Re:The goal by arose · · Score: 1

      You are referring to a specific test, comparison was both against H.263 (not ancient, just off the bleeding edge, but that's beside the point) and H.264 as they are used on youtube. The point wasn't to show that Theora can achieve better compression then H.264 (monty quite clearly admits the opposite), but to refute a specific claim by a Google representative (this is clearly spelled out on the test page). Said representative hasn't bothered to defend his statements. Now please define "nowhere near" and we can move on with the usual.

      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    21. Re:The goal by Anonymous Coward · · Score: 0

      Here's a simpler comparison for you. Theora compared to YouTube H.264. The Theora video is smaller and looks better to me:

      http://people.xiph.org/~maikmerten/youtube/

    22. Re:The goal by wall0159 · · Score: 1

      So, the wisdom of /. tends to say that
      1. Theora cannot compete with h264, because it has marginally worse performance (that in itself being contentious, apparently)
      2. Vorbis can't compete with MP3 because the mp3 files produced by LAME* are nearly as good as Vorbis, and MP3 is ubiquitous.

      To me, this reads as a double-standard. Surely, for the sake of openness and freedom of online video, people should be willing to accept the same _slight_ trade-off in quality that they're willing to accept in audio for the sake of convenience? Or is this just another case of convenience trumping freedom, or another case of astro-turfing at work?

      *note that LAME is not actually an mp3 encoder, but just makes compatible files - mp3 files produced by commercial encoders are likely worse!

    23. Re:The goal by AtlantaSteve · · Score: 1

      The vast majority of people I see with DAPs use an Apple product. Unless you use the third party Rockbox firmware, which substantially reduces the UI quality

      Wow... you are definitely not "someone I could have a beer with"! Rockbox is dramatically superior to native firmware in terms of feature set and intuitiveness, and with a sensible choice of skin it can be more aesthetically pleasing as well.

      The rest of your novella of a post is really arguing apples and oranges though. You could have boiled that down to two sentences: "(1) FLAC is a great lossless format for archival purposes, because it's popular and cool, (2) Ogg is poor lossy format for portable device use, because it's unpopular and nerdy." Assuming that #2 is a valid point (which it is not), there's little to no connection between these two threads of discussion.

    24. Re:The goal by jasonwc · · Score: 1

      Wow... you are definitely not "someone I could have a beer with"! Rockbox is dramatically superior to native firmware in terms of feature set and intuitiveness, and with a sensible choice of skin it can be more aesthetically pleasing as well.

      The rest of your novella of a post is really arguing apples and oranges though. You could have boiled that down to two sentences: "(1) FLAC is a great lossless format for archival purposes, because it's popular and cool, (2) Ogg is poor lossy format for portable device use, because it's unpopular and nerdy." Assuming that #2 is a valid point (which it is not), there's little to no connection between these two threads of discussion.

      The Rockbox firmware has relatively simplistic failings. For example, look at the screenshots on Wikipedia or their site. The text is so small that it's relatively difficult to read. Apple's firmware is certainly less powerful.

      However, I think you missed my basic point:

      If you use Ogg Vorbis, you have to make your DAP purchasing decision based on your audio codec choice. This simply shouldn't be the case. You shouldn't have to severely limit your hardware choices because of your chosen audio codec. Ogg Vorbis provides some advantages over MP3, but none that are significant enough to justify replacing my current DAC.

      Furthermore, preferring a popular format due to network effects is perfectly reasonable. If I want to share an album with a friend, providing an MP3 will ensure that it will be supported by his music program and DAP of choice. MP3 is universally supported, and thus the simple choice for file sharing.

      I don't even think Ogg Vorbis is "nerdy". The reason people use MP3 over Ogg Vorbis is not because they view the latter as "nerdy", but rather because Ogg Vorbis provides no significant advantage over MP3, and the popularity and universal support for MP3 makes it a perfect format for sharing, while at the same time ensuring your files will be playable for some time.

      Anyway, the market speaks for itself. There are many Ogg Vorbis evangelists. Despite the outspoken support, there is virtually nobody sharing Ogg Vorbis content on bittorrent, Usenet etc. Sure, it's often used in games due to the licensing costs of MP3, but even most internet radio stations use MP3.

      I am certainly not telling you to switch. There are many nice attributes of Ogg Vorbis. It certainly can achieve transparency at lower bitrates and can achieve a higher overall level of audio quality than MP3. If these factors are paramount, or you simply want an open source lossy format, by all means, use Ogg Vorbis.

      But I think it's important to recognize why MP3 is and will likely continue to be so popular. Your view that choosing a format due to its popularity is somehow reflective of ignorance of technology or anti-nerdiness is flawed. Network effects are real. MP3 is a more valuable format because it is universally supported on all DAPs and software players, and therefore can be shared with near 100% certainty that it can be played with little effort.

      While licensing issues have introduced issues on Linux, it's relatively easy to install MP3 support on Ubuntu, Debian and others. And Linux users tend to have a higher level of technical competence anyhow.

      But if I want to send an album to my girlfriend, I am not going to do so using Ogg Vorbis. She will complain that she can't play the files in iTunes. It's just not worth the effort.

      Would I use iTunes? Hell no. I think it's a bloated piece of crap. I use the highly configurable foobar2000, setup to my liking. However, my format choices are somewhat dependent on the choices that others have made. Since many users DO want to use iTunes and DO want to use their iPods and Touches, it makes sense to use a format that they can easily use. This is especially true considering LAME V0 is transparent to my ears anyhow.

      But please explain how an audio codec can be "cool" or "nerdy". I don't use FLAC or MP3 because they're cool. I use

    25. Re:The goal by jasonwc · · Score: 1

      Well, I think the difference in treatment has a great deal to do with the differences between audio and video, and human perception.

      For most people, LAME V2/V0 is transparent, as is 256 kbit AAC, q6 Ogg Vorbis. Thus, there is no perceptible difference between any of these formats.

      It is MUCH easier to tell quality differences in video because the amount of compression is so much greater (50-100x vs. 5-10x). For example, I don't know anybody that can ABX DVD-Audio/SACD against CD. 24/96 audio is technically superior but virtually nobody can hear the difference. The difference between DVD (480p) and Blu-Ray (1080p) is like night and day for those that care to look.

      The choice of encoder makes a lot more difference in the video arena, as does the choice of codec. I'm relatively indifferent to lossy audio codecs because they all sound the same to me, but x264 CLEARLY produces output superior to Theora or xvid/divx at any given bitrate. It retains more detail. It retains more grain. It's just better - and obviously so. In fact, the differences between H.264 encoders can itself be dramatic. x264 is VERY GOOD.

      1) Theora isn't "marginally worse" than x264 in encoding quality. It is a lot worse. In certain use cases it may be acceptable, but it simply can't retain the level of detail that x264 can for a Blu-Ray sourced 1080p encode. The same is true for Xvid/Divx. H.264 demands greater CPU cycles for encoding and decoding but it can achieve much better results at a given bitrate. My 1080p encodes at 12-14 Mbit are virtually indistinguishable from the source.

      I don't think that was ever the case for Xvid encodes of DVDs at any bitrate. Xvid just couldn't retain all the detail, even at very high bitrates (relatively).

      H.264 is also the preferred video format for all high definition encodes, due to its clear superiority and the quality x264 encoder.

      Thus, the H.264 v. Theora comparison is different from the MP3 v. Ogg Vorbis comparison for these reasons:
      1. H.264 markedly better than all competitors at any given bitrate (VC-1, Xvid, Theora, MPEG-2 etc.)
      2. Most people can easily tell these differences without prior training, or seeking out flaws (many MP3 artifacts can be detected only after training yourself to listen for them)

      2) Ogg Vorbis is marginally superior to MP3, but since both are transparent to most users at 192-256 kbit range (when using LAME V0 or V2) that advantage doesn't matter. MP3's ubiquity and "good enough" sound quality takes the cake.

      NOTE: Theora may be "good enough" for online video sites such as Youtube, but it will never be good enough for high-quality Blu-Ray and DVD rips. However, I doubt even this use. Youtube videos are very bitrate starved. This is where codec differences make the most impact. I just don't think Theora can compete with H.264 at very low bitrates.

      And as home users' bandwidth continues to increase, true high definition video streaming will become more common. I definitely care more about video qualtiy when I watch HD than SD. High Definition video provides so much more detail that minor flaws become more apparent.

      The current HD streaming on Youtube is terrible since the H.264 videos are so horribly bitrate starved and thus blocky as hell. When this changes, our expectations may increase markedly. I just don't think Theora is in the position to compete.

    26. Re:The goal by jasonwc · · Score: 1

      Perhaps I should be more clear. I would be quite supportive of the use of Ogg Vorbis for internet radio and for streaming video, where licensing costs are a concern.

      Ogg Vorbis is an excellent format. While I wouldn't use it for my own archive due to the network effect advantage of MP3, that is simply not an issue for streaming audio and video.

      Ogg Vorbis is a good choice for HTML5. Theora is not. I'm hoping Google's new codec acquisition is superior.

    27. Re:The goal by AtlantaSteve · · Score: 1

      The Rockbox firmware has relatively simplistic failings. For example, look at the screenshots on Wikipedia or their site. The text is so small that it's relatively difficult to read.

      Yes, the default Rockbox skin sucks. Hence the "with a sensible choice of skin" qualifier that you overlooked.

      My man, you really need to get over the love affair with the sound of your own voice! This behemoth of a post could have been expressed in a single paragraph, and it would have been more effective. You're basically saying that:

      • Using Ogg limits your choice of hardware
      • It limits the number of people you can share with.

      My response to these two points is:

      • The only significant hardware vendor that refuses to support Ogg is Apple. Even that's not necessarily true if you're a fan of the Rockbox firmware. Either way, all the Apple guys probably stopped reading this thread two or three levels back.
      • You keep citing to statistics on file-sharing sites, for the formats that leeches would prefer to have provided to them for free. Number one, I frankly don't understand the motivation behind catering to those who would look a gift horse in the mouth. However, if you want to share a CD with the torrent community, or your girlfriend, or whoever, then fine... rip to MP3. I don't see what any of that has to do with the format that you choose to rip for your own personal purposes.
    28. Re:The goal by Anonymous Coward · · Score: 0

      You seem to have a standpoint most of us don't share. It's like you're working in the audio industry, since you're worried about ubiquity and a general level of quality.

      Not that any of these are problems de per se, but please understand people often do individual choices.

      As much as your video requirements lead you to choose h.264 (and I agree it's better than Theora, from what I've seen), others like me need the extra quality of Vorbis. Forget about 192-256 kbps, I've been downloading free music and they really must save on b/w (it's 128kbps, it seems).

      IMHO, they're are throwing money away, because Vorbis at lower rates would beat mp3 hands down. Since disk is cheap these days, online services should keep mp3 versions for those less demanding.

      Regarding Apple, sorry to say it, but my DAP is as good or better than Apple products -- and it plays ogg (no ads here). Also, IMHO, closed products are incomplete -- by the very definition of open: extensible. So, albeit people fight for an Apple product, I won't use one if I get it for zero dollars (ok, I'd use it if I had to choose between an iPod and a Zuned).

      Last but not least, it's about control. There's an ongoing war between music distributors and consumers. No closed format will ever be acceptable... especially not a worse one.

      Flac, ok, good idea -- but why use mp3 instead of Vorbis?

      The added advantage of ogg is that pirates use mp3, so you're out of the piracy circle...

    29. Re:The goal by jasonwc · · Score: 1

      "It's like you're working in the music industry."

      Heh, I guess you didn't read all my prior posts in which I stated that part of my preference for MP3 was its superiority as a sharing format on the various private music trackers I visit. As a frequent uploader, this is important to me. If I uploaded Ogg Vorbis, I would get few if any downloads.

      I use FLAC for my music archive. I listen to FLACs in foobar2000 with my DAP/Headphone Amp/Sennheiser HD-580s. I also transcode FLACs for sharing.

      I use MP3 for the sole purpose of sharing with others. I never listen to the MP3s. I have a DAP but barely use it. My collection is too large to fit on my DAP, and my portable use doesn't justify an upgrade. I listen to classical music which is difficult on a portable due to ambient noise. (the lower dynamic range makes it more difficult to hear the soft parts)

      So, I choose the format that the vast majority of people want - MP3. My friends can play it. My gf can play it in iTunes. And it's preferred on all the trackers I frequent.

    30. Re:The goal by jasonwc · · Score: 1

      You are definitely right about Ogg Vorbis's superiority at low bitrates. If you are using a horridly low bitrate like 128 kbit/sec, then you will obtain dramatic gains by using Ogg Vorbis over MP3.

      I'm just shocked that's your best source of music. I haven't downloaded anything below V0 (avg. 245 kbit/sec) in years. Perhaps you are in need of an invite to a private music tracker. I'm sure your friends can be of assistance. :P

    31. Re:The goal by jasonwc · · Score: 1

      The only significant hardware vendor that refuses to support Ogg is Apple. Even that's not necessarily true if you're a fan of the Rockbox firmware. Either way, all the Apple guys probably stopped reading this thread two or three levels back.

      Ok, I'll keep this short. There are two marginally popular DAPs that support Ogg Vorbis - Cowan and iRiver. See http://wiki.xiph.org/index.php/PortablePlayers

      It's not just Apple that doesn't support Ogg Vorbis. It's basically everyone. But assume for a moment you are correct. You make it sound as if Apple makes up an insignificant percentage of the DAP market. Apple's iPod makes up 90% of the market for hard-drive based DAPs and 70% of the overall market. Including other Apple products, that number increases to at least 75%. Ignoring 75% of the market is actually a big deal. See http://www.appleinsider.com/articles/06/05/24/ipod_how_big_can_it_get.html AND http://battleangel.org/2006/08/26/dap-market-shares/

      Furthermore, the Ogg Vorbis supporting players all fall into the last category which appears to make up 6% of the total market. Do you really think that being excluded from nearly 95% of the DAP market is inconsequential?

      You keep citing to statistics on file-sharing sites, for the formats that leeches would prefer to have provided to them for free. Number one, I frankly don't understand the motivation behind catering to those who would look a gift horse in the mouth. However, if you want to share a CD with the torrent community, or your girlfriend, or whoever, then fine... rip to MP3. I don't see what any of that has to do with the format that you choose to rip for your own personal purposes.

      The reason is obvious. Nobody wants to their CD collection multiple times. Ripping to MP3 ensures you can share with anyone. Ripping to FLAC or another lossless format ensures you can transcode to any format. Ripping to Ogg Vorbis ensures you have a format that virtually nobody wants.

    32. Re:The goal by AtlantaSteve · · Score: 1

      I think we are ultimately applying very different criteria. I use one of the 100+ "nobody" devices that you just linked to, and for me Ogg provides the best balance between audio quality and file size. That's my criteria.

      In your criteria, you seem far more focused on avoiding "exclusion". Oh my gosh, what if I'm locked out of the most popular and trendy (and overpriced) devices? What if people don't want to download the pirate torrents that I go through the hassle of creating and publishing? What if I'm in a minority?!? Oh noes!!!

      Cool. If anybody reading this is highly concerned about fitting in, then:

      • Buy an iPod or iPhone
      • Use MP3 for your own rips
      • Just leech torrents rather than create them
      • Ignore all the 20 paragraphs this guy wrote about FLAC
        (it is a good archival format, but it's silly to carry around on a portable device)

      Presto, now you are just like most everyone else!

      Anyway... if you want a lossless archival format, FLAC is the best choice. If you have a device with weak format support, or if creating torrents is a big deal to you, then MP3 is the best choice. But if you have a device that supports Ogg, and you don't really give a crap about sharing your own rips, then this format happens to provide the best ratio of quality to file size. Pick your criteria accordingly.

    33. Re:The goal by jasonwc · · Score: 1

      >Anyway... if you want a lossless archival format, FLAC is the best choice. If you have a device with weak format support, or if creating torrents is a big deal to you, then MP3 is the best choice. But if you have a device that supports Ogg, and you don't really give a crap about sharing your own rips, then this format happens to provide the best ratio of quality to file size. Pick your criteria accordingly.

      Hey, we agree for once! Let's leave it at that. :-D

    34. Re:The goal by jasonwc · · Score: 1

      Excuse the improper formatting/quoting.

    35. Re:The goal by Anonymous Coward · · Score: 0

      > As a frequent uploader, this is important to me. If I uploaded Ogg Vorbis, I would get few if any downloads.

      Ah, I really missed the concept. If you're talking about this, then sure "mp3" is THE way to go. Just like talking in English is needed now for international communications. Supoptimal choices mandate by the net effect. Actually, it's not really a decision, since it's dictated by the current market rules.

      Just an observation: elephants are lousy to catch foxes in England, but you'd want one in India to get tigers. So, mp3 is not better than Vorbis (or vice-versa); IOW, "horses for courses".

      It's obvious you have a higher grade of demands about subjects I faintly understand:

      1) I seem no to get the meaning of "it's transparent": does it mean the lossy codec perfectly reproduces the original tune?
      2) What's a "private music tracker"? Some kind of Digg or Reddit for music? If so, thanks, but I don't have the time to follow such things...
      3) I'd ask what's foobar2000, but it seems to be some kind of media playing software -- not available on Linux, it seems, and with its own license. (*)

      > I use MP3 for the sole purpose of sharing with others. I never listen to the MP3s. I have a DAP but barely use it. My collection is too large to fit on my DAP, and my portable use doesn't justify an upgrade. I listen to classical music which is difficult on a portable due to ambient noise. (the lower dynamic range makes it more difficult to hear the soft parts)

      I hear primarily varied music and I really have no time to enjoy it by itself. I'm always either doing work or an errand or even reading on the internet... music is more like a friend than a goal. In my car, I must deal with traffic noise. Even so, I perceive 128k mp3 to be harsher on my ears than my usual 112kbps oggs; I'm hearing a 192k ogg and it's "good enough". Without any special headphone or speakers and with my hearing somewhat impaired by age, for mp3 to sound bad -- well, I think it's time for an improvement.

      Wikimedia -- and other freedom-related sites -- will probably keep on using ogg; come to think, there should be a "Freedom Through Formats Guild" where the non-proprietary formats would be gathered .

    36. Re:The goal by jasonwc · · Score: 1

      1) Transparency means that the music SOUNDS indistinguishable to you when compared with the source. So, if I took the original CD and compared it against a V0 MP3, I would find that they sound the same (tested by a blind ABX test). They are most certainly NOT the same - the MP3 throws out quite a bit of high frequency detail, but the vast majority of people simply can't perceive this information. It sounds the same, but it's not the same.

      FLAC, and other lossless formats, should always be transparent since they are in fact identical to the source.

      2) It's like any other bittorrent tracker, but it's dedicated to music and designed for that purpose (advanced search features, grouping of albums to allow multiple lossy and lossless codecs per album, grouping of editions per album, searching by artist, album, label, catalog # etc.) It's private, so it's invitation only, or requires an "interview".

      3. foobar2000 is a highly configurable mostly open-source (special license) player that supports every major format including Ogg Vorbis and FLAC, and can basically do whatever you want it to. If there is a will, there is a way. I currently have it setup with 6 columns for Genre, Album, Artist (Composer), Performer/Conductor, Orchestra, and Compilation. I can simultaneously search all 6 categories.

    37. Re:The goal by Anonymous Coward · · Score: 0

      Nice. Thanks for the explanations.

      An observation... FLAC being a digital representation of analog phenomena (voice/instruments), I suppose ('cause I don't know the details) it needs a very high sampling frequence to achieve "identical" (at least, for human perception).

      Also, the missing explanation:

      (*) Right now, I am not as purist as RMS -- for instance, I'd use Opera, a closed source app. But I won't use an app that is Windows-only. I hope it gets ported to Linux... btw, nothing against foobar2000 -- I also consider things like Photoshop subpar, just because they are Windows-only (well, proprietary-only).

    38. Re:The goal by jasonwc · · Score: 1

      Nice. Thanks for the explanations.

      An observation... FLAC being a digital representation of analog phenomena (voice/instruments), I suppose ('cause I don't know the details) it needs a very high sampling frequence to achieve "identical" (at least, for human perception).

      When I say it's identical to the source, I mean that the FLAC decodes to an exact replica of the original PCM digital stream. A redbook audio CD uses 44,100 samples/second and each sample is 16 bits.

      So 16 bits/sample x 44,100 samples x 2 channels = 1,411,200 bits/sec or 1411 Kbit/sec

      FLAC compresses the audio losslessly, and decodes to the identical PCM input. However, the source may not be "perfect".

      Garbage in, Garbage out. :P

    39. Re:The goal by Anonymous Coward · · Score: 0

      *note that LAME is not actually an mp3 encoder, but just makes compatible files - mp3 files produced by commercial encoders are likely worse!

      That's just needless pedantry. From the LAME man page

      lame - create mp3 audio files

      Sounds like an MP3 encoder to me. OK shortly after that it says:

      LAME is a program which can be used to create compressed audio files. (Lame ain't an MP3 encoder)

      But that seems more like a joke to justify the name and perhaps to argue that it shouldn't be required to license the MP3 patents to use it. However, it does create MP3 files via a method of encoding, therefore it is an MP3 encoder. Note particularly that the files aren't incidentally compatible but rather the compatibility is the whole point of LAME.

  13. Denials and Belief by gringer · · Score: 0, Troll

    Earnest falsehoods left unchallenged risk being accepted as fact

    And emphatic denials risk a stronger belief in the denied thing.

    --
    Ask me about repetitive DNA
    1. Re:Denials and Belief by losfromla · · Score: 1

      This was not an emphatic denial. It was a thorough, albeit boring, and complete negation of incorrect assertions.

      THIS IS EMPHATIC!!!

      --
      Only I can judge you.
    2. Re:Denials and Belief by Anonymous Coward · · Score: 0

      Really, it wasn't so much that the original rant was wrong at any individual point, it's that as a whole, the position was apparently "OGG isn't the best at everything therefore you should use mpegmatroskaTSasf!" because for every use-case cited, a completely different set of containers were compared against.

      If you want something that's best at one thing, use a container that's the best at that one thing.

      If you want something that's good at many things, ogg is a pretty good contender.

      Especially since it's getting an index.

  14. This matches my experience by Anonymous Coward · · Score: 5, Funny

    The best way to get documentation out of a project is trash talk it until a developer gets into such a frothy rage he explains it in a manner "even an idiot could understand." Used to do this all the time in the early years of Linux, worked like a charm :-)

    1. Re:This matches my experience by arkane1234 · · Score: 1

      Would the early years of Linux be when Ubuntu came out, in this case?
      *ducks*

      --
      -- This space for lease, low setup fee, inquire within!
    2. Re:This matches my experience by gknoy · · Score: 1

      You're modded funny, but there's some truth in it. As developers, we often tend to underestimate the opacity of our code or of how we intend it to be used. Since we have access to sources and headers, which might be in flux, sometimes we don't do much more than API documentation. When we do, we rarely feel that we have time to write a tutorial on how it is Meant To Be Used (otherwise known as a user's manual), nor to write documentation explaining /why/ we made the design decisions we did. (e.g., we chose to use X awkward feature because that's central to the spec that we are trying to mimic.)

      Sometimes it takes someone demonstrating a fundamentally wrong understanding for us to realize that other people Don't Get It, and therefore need a better explanation. If we're good, we will manage to convey that explanation with tact, rather than belligerance.

  15. OSS dev fails to see flaws, news at 11 by timmarhy · · Score: 0

    I've got a lot of respect for a lot of OSS programmers, however they seem to fail to know how to respond on a non technical level. it's like the local computer geek spouting about the technical reasons his N64 is better then a SEGA - no one is going to give a shit and the other nerds have already made up their minds, so he won't do anything to sway them.

    --
    If you mod me down, I will become more powerful than you can imagine....
    1. Re:OSS dev fails to see flaws, news at 11 by Anonymous Coward · · Score: 0

      I've got a lot of respect for a lot of OSS programmers, however they seem to fail to know how to respond on a non technical level. it's like the local computer geek spouting about the technical reasons his N64 is better then a SEGA - no one is going to give a shit and the other nerds have already made up their minds, so he won't do anything to sway them.

      Yeah right. According to your analogy, he should just answers "NO U!" to an argumentation perceived as a 'technical proof of the OGG container inferiority'.

      Technical argumentation are refuted by technical argumentations, unless you want to look like a fucking moron. And TFA is talking about multimedia stream containers, not codec quality.

      So TL;DR : NO U !

    2. Re:OSS dev fails to see flaws, news at 11 by MrHanky · · Score: 2, Funny

      You're wrong, but instead of pointing out why, I'll just note that my teeth and hairstyle are better than yours, and that my opinion is the opinion of a proven winner. Only disagreeable people would disagree with me!

      (This comment is known to cause cancer in the state of California.)

    3. Re:OSS dev fails to see flaws, news at 11 by fuzzyfuzzyfungus · · Score: 1

      Luckily, the number of non-geeks who care about media container formats, beyond the level of "will it play/won't it play", is approximately zero, so any failure to style your communications for the layman is largely unimportant...

    4. Re:OSS dev fails to see flaws, news at 11 by RAMMS+EIN · · Score: 1

      ``it's like the local computer geek spouting about the technical reasons his N64 is better then a SEGA - no one is going to give a shit and the other nerds have already made up their minds, so he won't do anything to sway them.''

      You are likely correct, but I still think it is useful to provide good argumentation based on technical facts. After all, opinions can vary, but facts stay the same. Some of us like to make choices based on technical merits rather than opinions. I often base my arguments on technical facts, and, even though people have gone in directions that weren't what I recommended in many cases, they often ended up coming around to my point of view in the end. The truth is that technical differences matter, and technically better ends up being Real World better and better for what you are trying to do in many cases, too.

      Note that I am not saying that any container format is technically better than any other. I am sure this is the case, but I don't know anywhere near enough about container formats to make an informed statement about that.

      --
      Please correct me if I got my facts wrong.
    5. Re:OSS dev fails to see flaws, news at 11 by Anonymous Coward · · Score: 0

      Monty should answer a technical complaint with a non-technical reply? You, sir, fail at logic.

  16. Ogg format considered not as good as MPEG by kegon · · Score: 3, Insightful

    From the article:

    When Xiph started out in the early ninties, MPEG was hardly dominant.

    When MPEG-1 started it closely followed H.261. H.261 was very well written. Back in 1994 when Xiph started, MPEG-1 had already been going 6 years.

    Ogg is full of strange fields and difficult to read structures. The author of the criticism is right to question it, especially when Ogg used similar fields but changed the names. There was never any need to change terminologies. H.261 and MPEG-1 were well written standards but not freely available and included patented technologies. The "not freely available" means that you have to buy it, not that it's secret.

    If Xiph wanted to produce a free standard for video coding they could easily have adopted the same terminologies and similar structures, defining their own versions of them and recommending unpatented technologies. Instead they chose their weird terminology and rushed to come out with something different without spending the time to work out how difficult it would be for users to implement and what quality it would give. H.261 and MPEG were backed up by masses of research by companies and universities of which much was freely available in journals and conference proceedings.

    The idea that "MPEG was hardly dominant" is the thought of someone who either didn't do his homework at the time or a revisionist. VCD (created 1993) was massively popular in the second half of the nineties, or doesn't that count ?

    From the summary:

    it's far better written than the attack.

    I wish it had been. If you want to refute a rant, pick some illustrative points and clearly answer them. Don't pick apart the text, all of it, sentence by sentence. Fancy colouring and highlighting don't make it better written.

    1. Re:Ogg format considered not as good as MPEG by Haeleth · · Score: 4, Interesting

      VCD (created 1993) was massively popular in the second half of the nineties

      Really? I don't think I ever saw a single VCD on a store shelf. I recall they existed, and I think I even watched one once, but basically they were a brief fad that completely failed to make a measurable dent in the VHS market and rapidly disappeared without a trace. That's not what I'd call "massively popular".

      If you want to refute a rant, pick some illustrative points and clearly answer them.

      That is exactly the wrong thing to do. If you don't answer every point, then your opponents will simply pick out the points you omitted and claim that your failure to refute them proves that they are valid.

      Fancy colouring and highlighting don't make it better written.

      Who said they did? What makes it better-written is the higher quality of the prose. The supporting references and the real-world measurements help, too.

    2. Re:Ogg format considered not as good as MPEG by teknomage1 · · Score: 1

      VCD is still popular in international markets. VCD just never made it here in the States.

      --
      Stop intellectual property from infringing on me
    3. Re:Ogg format considered not as good as MPEG by 99BottlesOfBeerInMyF · · Score: 1

      VCD (created 1993) was massively popular in the second half of the nineties

      Really? I don't think I ever saw a single VCD on a store shelf.

      Your experiences don't really define the popularity of a format. It never took off in North America but they were very popular in Asia, with more than half of Chinese homes containing a VCD player at one point.

    4. Re:Ogg format considered not as good as MPEG by magus_melchior · · Score: 1

      I'm guessing that he didn't use the same names in his design partly because that would be inviting a patent infringement lawsuit. It would be trivial to convince a judge (let alone a jury) to bring down the legal hammer because the two specs use the same terminology. It would make for a horrible technological explanation, sure, but imagine Montgomery trying to explain where his spec differs in testimony without putting the audience to sleep.

      If you want to refute a rant, pick some illustrative points and clearly answer them. Don't pick apart the text, all of it, sentence by sentence. Fancy colouring and highlighting don't make it better written.

      That's your preference for a rebuttal, but it seems that Montgomery doesn't want to leave any room for ambiguity-- that means he has to be thorough, or allow his critics to get away with the figurative hoodwinking.

      Besides, I'm sure he wanted to rant in response.

      --
      "We are Microsoft. You shall be assimilated. Competition is futile."
    5. Re:Ogg format considered not as good as MPEG by Toonol · · Score: 2, Informative

      The idea that "MPEG was hardly dominant" is the thought of someone who either didn't do his homework at the time or a revisionist. VCD (created 1993) was massively popular in the second half of the nineties, or doesn't that count ?

      Doesn't count... in America. I've never seen a VCD for sale, except in obscure import shops. It was big in Asia.

    6. Re:Ogg format considered not as good as MPEG by Anonymous Coward · · Score: 0

      my dick is big in asia. That doesn't stop niggers from laughing at it.

    7. Re:Ogg format considered not as good as MPEG by NoMaster · · Score: 2, Informative

      Really? I don't think I ever saw a single VCD on a store shelf. I recall they existed, and I think I even watched one once, but basically they were a brief fad that completely failed to make a measurable dent in the VHS market and rapidly disappeared without a trace. That's not what I'd call "massively popular".

      It may not have been popular in the US (it certainly wasn't obvious here in Australia) - but just about every Chinese home in Australia I went to (in the course of my job) from the mid-90's onwards had at least 1 VCD player (and often one for each TV), and discs were common in the local Asian shops and markets.

      Even now, if you buy Asian movies from any of the on-line Asian retailers you'll see plenty of VCD versions.

      --
      What part of "a well regulated militia" do you not understand?
    8. Re:Ogg format considered not as good as MPEG by Anonymous Coward · · Score: 0

      Of course that was as much because of all the bootleg/pirated hollywood movies that were available on VCD in Asia that would have landed the vendors in jail in North America, as it was because of the legitimate Bollywood/HongKong/Chinese movies. You don't normally find legit versions of Hollywood movies on sale by street vendors for $3 or less a pop. But hey, why let a piddly thing like rampant illegal behaviour be an issue? They were popular because they were cheap in price and quality and all the Asian markets could afford, but that's not exactly a rousing endorsement for the format.

    9. Re:Ogg format considered not as good as MPEG by Johnno74 · · Score: 1

      Yeah, I've still got some VCDs at home which appeared to be legit licensed versions of hollywood movies that I brought in Singapore and Hong Kong in the mid 90s. They were sold everywhere. I doubt if they were bootlegs, I brought most of them in reputable looking music and video stores at the airport, not some shady stall in a market.

    10. Re:Ogg format considered not as good as MPEG by diamondsw · · Score: 2, Informative

      Really? I don't think I ever saw a single VCD on a store shelf. I recall they existed, and I think I even watched one once, but basically they were a brief fad that completely failed to make a measurable dent in the VHS market and rapidly disappeared without a trace. That's not what I'd call "massively popular".

      Just because *you* never saw them doesn't mean they weren't successful. Head to Asia - they still sell them by the truckload aside DVD and Blu-Ray, and displaced VHS over 15 years ago. I bought a few dozen a couple months back because they were cheap and easy to copy to the computer. Then I remembered just how awful MPEG-1 looked.

      --
      I don't know what kind of crack I was on, but I suspect it was decaf.
    11. Re:Ogg format considered not as good as MPEG by diamondsw · · Score: 1

      Yes, and clearly the couple billion people in Asia "don't count" compared to your ethnocentrism.

      --
      I don't know what kind of crack I was on, but I suspect it was decaf.
    12. Re:Ogg format considered not as good as MPEG by BitZtream · · Score: 1

      Really? I don't think I ever saw a single VCD on a store shelf.

      So you live in America, the rest of the world is a little different.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    13. Re:Ogg format considered not as good as MPEG by Anonymous Coward · · Score: 0

      I'm guessing that he didn't use the same names in his design partly because that would be inviting a patent infringement lawsuit.

      Patent law doesn't work that way. Infringement status is determined by similarity to the patent description on an abstract level, not on similarity of names.

      Besides, patents are deliberately written to be as generic in their use of language as possible. Most of them use numerical references to previous definitions in the patent rather than names, though I don't think it would make a lot of difference if names were used.

    14. Re:Ogg format considered not as good as MPEG by kegon · · Score: 2, Interesting

      > I'm guessing that he didn't use the same names in his design partly because that would be inviting a patent infringement lawsuit. It would be trivial to convince a judge (let alone a jury) to bring down the legal hammer because the two specs use the same terminology.

      It wouldn't happen, you can't patent terminology. You might be able to copyright names, if they are specific enough.

      MPEG is commonly thought of as "patent encumbered" but the patents only refer to some specific components. These components are not necessary for implementing a codec but if you do use these valuable methods then you get better results. Think of it like the patents that apply to glyph hinting for TrueType fonts: We still have lib FreeType and use TTF in Linux.

    15. Re:Ogg format considered not as good as MPEG by ap7 · · Score: 1

      VCDs had completely taken over the market from VHS in Asia. They were indeed massively popular and even led to slow uptake of DVD players in Asian markets, particularly India, for a few years. Ofcourse, they were almost unheard of in the US and other western markets.

    16. Re:Ogg format considered not as good as MPEG by Anonymous Coward · · Score: 0

      This figure is from the China Daily article, right? I find it highly suspicious. Do the math: 400 million households means over 200 million VCD players. Let's assume 10% break down in a year. Just replacing those means 20 million players, count in other replacements and new buyers and you should end up with several tens of millions sold every year. Have you seen the industry boast such numbers? I haven't.

    17. Re:Ogg format considered not as good as MPEG by red+crab · · Score: 1

      As someone from India I can attest to that. VCDs are still sold on street shops as well as in music stores. On a standard CRT television or on a PC with a cheap graphics card, you won't be able to tell the difference in video quality - between a VCD and a DVD movie.

      Indian movies are released in DVD as well as VCD versions, the latter being cheaper. The difference in price is not much but if the same content can be stored in 1/3rd of the storage space with barely noticeable loss in quality, isn't that a good deal?

    18. Re:Ogg format considered not as good as MPEG by 99BottlesOfBeerInMyF · · Score: 1

      This figure is from the China Daily article, right?

      Indeed.

      I find it highly suspicious.

      You think the study was incorrect or fabricated? Could be. Even so, anyone who has spent time in Asia can tell you they certainly were very popular there.

      ...you should end up with several tens of millions sold every year. Have you seen the industry boast such numbers?

      A quick Google search shows sales in China of 8 and 7 million in consecutive years in the late 90's. So that's not quite what your napkin estimates would require, but neither is it insignificant.

  17. It still doesn't address many real world problems by pslam · · Score: 5, Informative

    My rant with Ogg is not so much the minute details of the format itself but that it works badly in a few common real world cases:

    • Resizing metadata. It's stored at the beginning, so resizing the metadata requires moving the majority of the file around (or rewriting it).
    • Metadata growing across a page boundary (64KB). Not unlikely if you're storing anything substantial such as album art. I know, that's slightly abusing it, but it's convenient to go there and it's common practice. The trouble is this affects the page numbering, requiring every page in the stream to be renumbered, and then every page including its contents to have its CRC recalculated. Very expensive.
    • No index. Seriously, why can't we have an index? It doesn't have to be at the beginning of stream - the end is fine too. Which leads me to...
    • Random access video across a high latency link. Think that's uncommon? What about cell phones playing a web-hosted video, where 1000ms+ is the norm? Or even laptops with a 3G access dongle? An index (even a small one) mitigates the issue, even if placed at the end of stream.
    • Mandatory per-page CRC forces low-latency streaming to use single packet per page. Demux cannot continue before an entire page is received, which increases latency by the number of packets in a page (minus 1). Per-packet or even no CRC would be more appropriate.

    I know it's all been said before, but these are pretty common cases and Ogg isn't great when you have to deal with them. Everything else is nit-picking. I'm not a fan of the minute details of the format either, to be honest, but the above are real world examples of where it falls a little short. I should add that none of these issues make it unusable in any of those situations: just annoying.

  18. MPEG-LA bad mouthing? by bit01 · · Score: 2, Insightful

    Just how much money is MPEG-LA making on their patent pool? How much are they spending on bad mouthing OGG to preserve/increase their income?

    Treat any criticism of proprietary product competitors with a very large grain of salt.

    Particularly against free competitors since it's legally safer as they often don't have the legal resources to fight half-truths and innuendo.

    Good to see Monty's refutation.

    ---

    Anonymous company communication is unethical and can and should be highly illegal. Company legal structures require accountability.

    1. Re:MPEG-LA bad mouthing? by Blazewardog · · Score: 2, Insightful

      People aren't arguing to use mp4 over ogg (at least most aren't). They are arguing to use Matroska instead. Matroska is also a patent free container that is more flexible, can hold any stream, and is apparently much nicer to work with.

    2. Re:MPEG-LA bad mouthing? by Jesus_666 · · Score: 1

      Actually, the criticism came from someone who contributes to another open source container format. It was just one OSS developer trying to bad-mouth a competing project - and getting shot down.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    3. Re:MPEG-LA bad mouthing? by Angst+Badger · · Score: 1

      Just how much money is MPEG-LA making on their patent pool? How much are they spending on bad mouthing OGG to preserve/increase their income? Treat any criticism of proprietary product competitors with a very large grain of salt. Particularly against free competitors since it's legally safer as they often don't have the legal resources to fight half-truths and innuendo.

      Good advice in general, but in this case, I think it verges on paranoia. The bulk of consumers not only don't care, they aren't even aware of the issue. Most software vendors don't particularly care either, as few of them are in the codec business, and MPEG-LA's licensing fees are not exorbitant. The calculation that likely licensees are probably making is that the proprietary solution is well-documented, well-tested, and easy to integrate (and already integrated in most cases), and Ogg is none of these things.

      Sometimes the proprietary solution succeeds because of various nefarious anticompetitive practices and backroom deals. But sometimes it succeeds because the FOSS alternatives are lacking in one or more critical areas.

      In the long term, the fix for this problem is either for us to somehow develop the political momentum to get rid of software patents or, more realistically, to develop a free codec that not only addresses Ogg's shortcomings, but also significantly outperforms the proprietary solutions.

      --
      Proud member of the Weirdo-American community.
    4. Re:MPEG-LA bad mouthing? by diamondsw · · Score: 2, Insightful

      Well that was a load of paranoia. There are clearly technical problems with the format - but according to you any criticism must be funded by the evil MPEG-LA!

      --
      I don't know what kind of crack I was on, but I suspect it was decaf.
    5. Re:MPEG-LA bad mouthing? by Anonymous Coward · · Score: 0

      Perhaps you should read the article and/or provide your own well written piece which backs up such a common, yet apparently fallacious, claim?

    6. Re:MPEG-LA bad mouthing? by vadim_t · · Score: 1

      So let's hear your take on what's wrong with it. We had a claim, then this refutation. What's your take on it?

  19. Re:refuted? by MoFoQ · · Score: 1

    dunno how it's offtopic....

    anyways...here's what I learned (unlike Comedy Central)....Ogg isn't ".OGM" (a now-defunct bastard child/fork), it's got features that Matroska has and more, it's got error-detection...MP4 can't do live....etc.

    man...must say though...I had a good laugh when I saw the line: "...wholesale dismantling..."

    I only wish there would be more Flash media players that supported it (I know there's a haxe-based Ogg Vorbis decoder out there though...wish it was developed on more and would do video as well)

  20. In a nutshell by iris-n · · Score: 2, Funny

    Mans Rullgard:

    "Ogg considered harmful"

    Monty Montgomery:

    ""Ogg considered harmful" considered harmful"

    --
    entropy happens
  21. Re:It still doesn't address many real world proble by Akoman · · Score: 1

    Indexing and seeking over low-latency connections is discussed in this piece. He specifically cedes this point and I *think* transOgg may address it.

  22. Re:It still doesn't address many real world proble by Anonymous Coward · · Score: 0

    • Mandatory per-page CRC forces low-latency streaming to use single packet per page. Demux cannot continue before an entire page is received, which increases latency by the number of packets in a page (minus 1). Per-packet or even no CRC would be more appropriate.

    Would you like to clarify this? A packet is split into segments, and a page encapsulates one or more segments. You seem to be confusing packets and pages, as it is normally one or more pages per packet, not the other way around.

  23. Does MPEG-TS have indexes? by thule · · Score: 1

    I don't have problem seeking DVD dumps and as far as I know, MPEG-TS does not have indexes -- it is a pure stream. In fact, you can seek in an MPEG-TS stream even if it is partially corrupted or incomplete.

    1. Re:Does MPEG-TS have indexes? by NoMaster · · Score: 4, Informative

      That's because MPEG Transport Streams have an easily-accessible Presentation Time Stamp (PTS) in each GOP header, and it's reasonably easy to calculate the increment between PTSs (which will vary with framerate). The simplistic explanation is that the GOP header has the bit rate* & framerate; you can calculate the PTS increment either from the framerate or examining adjacent blocks, you then check the current PTS, calculate the desired PTS from that, and can then jump to the appropriate part of the file to find the PTS you're after.

      (That's assuming you're working with a TS file, where the player can examine the first & last block to determine file length. With streaming, you're restricted to working with what's in the buffer (& hopefully your app knows how long the buffer is, since it allocated it!))

      Ogg, AFAIK, doesn't have that info in the block header - IIRC it relies on the bitstream having presentation timing stored in it (i.e. none, in the case of most audio formats), which means you have to decode the block to find it. It was done that way to allow for variable framerates to be stored without having to build a huge index. MKV is a bit better in this respect, but it's a remarkably fragile container.

      * It falls down a bit sometimes, particularly where the bitrate in the block header is set to max (15Mbps), or where you're using VBR. With the latter the calculation will usually get you in the ballpark; with both cases, some splitters/decoders calculate the bitrate themselves while playing, store it, and use that for seeking.

      --
      What part of "a well regulated militia" do you not understand?
    2. Re:Does MPEG-TS have indexes? by Anonymous Coward · · Score: 0

      tl:dr, but I think it was something about republicans giving head to transsexuals and post traumatic stress? I see GOP, TS, PTS...

    3. Re:Does MPEG-TS have indexes? by Wumpus · · Score: 3, Informative

      A DVD is MPEG-PS, not MPEG-TS. Your cable system and satellite feed are TS. Both are built on top of the PES layer.

      MPEG-2 is the reason I have no hair left on my head.

    4. Re:Does MPEG-TS have indexes? by Wumpus · · Score: 2, Informative

      The PTS isn't stored in the GOP header. The GOP header is defined in part 2 of the spec, the PTS is in part 1. So the PTS and the DTS are in the PES header. MPEG frames are typically sent out of order. You'll need to do a lot of decoding to figure out the frame rate from the PTS. The bitrate is just as tricky to determine if you're just looking at one layer. A transport multiplexer needs to know a lot about the video it's multiplexing to be able to maintain the proper bitrate and order the frames correctly, etc. etc.

      So basically, without understanding your elementary stream to some degree, you can't do much with it in the system layer. Even something seemingly simple, like remuxing, isn't easy to do without knowing something about the structure of the elementary stream. I'm guessing that this is why Ogg doesn't even try to pretend like you can abstract the codec enough to do something meaningful with data you know nothing about - other than skip it, that is.

      I've dealt with proprietary data that was multiplexed in MPEG-2 TS before, and there's not a whole lot you can do with it without knowing what it is.

    5. Re:Does MPEG-TS have indexes? by NoMaster · · Score: 1

      Yeah, my bad, I conflated 2 or 3 things & mucked it up badly while simplifying. Framerate & nominal bitrate is in the sequence header, GOPs contain *a* timestamp (not the PTS) for the first frame in the GOP. Given that info though, which is all stored pretty much 'in the clear' & easily extractable by the splitter (or you can just binary read the stream until you see the correct header flags), it's still relatively easy to calculate the ballpark position in the file / buffer for a given playing time position without too much effort. Incorrect bitrate flagging, VBR, changing GOP sizes, & multiple GOPs per sequence (1 for DVD but, IIRC, up to 16 is valid in DVB?) makes it more difficult, but still somewhat do-able if you can guess that info from previously-played frames.

      Yeah, the problem with .ogg seeking is down to the way they don't implement a standard timestamp; timestamps are dependent on the codec used. The original original article covers this well, but it makes you wonder why they chose to implement not only a container where data packets can be any size smaller or larger than a frame (the only timestamps, granules in Ogg-speak, relate to the end of the current frame), but one that (in the canonical case of Vorbis in .ogg) requires you to decode the Vorbis-compressed audio to PCM in order to seek within the frame!

      --
      What part of "a well regulated militia" do you not understand?
    6. Re:Does MPEG-TS have indexes? by Wumpus · · Score: 1

      Oh, I don't know what everyone is complaining about.

      First, the sequence header is STILL part of the video elementary stream, so the metadata is still codec dependent... Even if a container would store it (redundantly) outside of the elementary stream, robust code would still need to get it from the elementary stream. Why? Because it might be different from the container stored values. I've seen that in MP4 and MOV files in the past, I think. How they ended up this way? How should I know? I'm just decoding here.

      Even in MPEG, you need to at the very least understand the video and the audio headers. Want to mux something else in there? (private data, maybe?) There's no standard for that. Framing in PES headers is defined for MPEG video and audio (and AC-3, outside the standard per-se) so the PTS and DTS encoding is up to you, basically. Or the implementer of the private data. In any case, you can't find it unless you know what you're doing. The only thing you have at the systems layer is the PCR, so you can seek, but then you have to go looking around for a good place to start decoding.

      PES packets can be smaller or larger than frames. MP4 files store data in a downright weird way - packets? Ha. Ha ha. I laugh at your packets. I have tables of pointers to tables in three different places that all have to agree and you still can't seek without an index, and there's this hinting thing that's optional but you can't stream without it.

      I guess what I'm saying is that all video formats are weird, quirky, and rely on mind numbing complexity to achieve their design goals. Picking one format to bitch about is counter productive. Don't like it? Go play with RLE encoded AVIs circa '93 or so. That's easy.

      Hey, I wish MPEG didn't have a 9 bit extension field for the PCR, or multiple bits in the sequence header that can go out of sync with each other forcing you to stay up until 4 am trying to figure out that the top-field-first needs to be in agreement with some chroma related bit, and that there's only one hardware decoder in existence that cares about this, but that decoder is 4000 miles away and is about to be used for a demo in 6 hours, and there I am, looking for this one bit, not even knowing that the problem is a single flipped bit, because the only thing I have to go on is a guy on the phone telling me that the picture "jumps."

      So no - I don't care anymore. The harder it is, the more they pay me.

      But I still want my hair back.

  24. Reminds me of an Albert Einstein quote: by Hurricane78 · · Score: 1

    From a letter about the theory of general relativity to Hermann Weyl, from 1916-11-23. Here is my amateurish translation:

    “While the theory has many enemy [sic] for the time being, I take comfort in the following circumstance: the otherwise determined mean thinking strength of the supporters outmatches that of the opponents by a tremendous amount.”
    (“Wenn die Theorie einstweilen noch viel [sic] Gegner hat, so tröstet mich der folgende Umstand: die anderweitig ermitte mittlere Denkstärke der Anhänger übertrifft diejenige der Gegner um ein Gewaltiges!”)

    (I dug this one out myself. The letters are available online. And: Yes, I added the “[sic]”. :)

    --
    Any sufficiently advanced intelligence is indistinguishable from stupidity.
  25. Re:It still doesn't address many real world proble by pslam · · Score: 1

    I hadn't considered a packet being split into multiple segments, because that would make even less sense for low-latency streaming. The case I'm thinking of is:

    • No packets crossing pages.
    • Segment == packet.
    • A small number of packets per page (e.g 4).

    However, there's still just 1 CRC per page. This means that the demux must wait until all 4 packets are entirely received (the entire page) before it is allowed to pass the contents on to the decoder layer.

    If CRC were not mandatory, or you ignored it, then the demux could pass each packet along as it's received instead of waiting for the link to receive all of them.

    On the sender's side, the CRC being before the data also means you need to buffer up the entire page before it can be transmitted. However, there's bigger problems here, such as the lacing values not being available until the size of each packet is known. There's no decent solution to that, other than moving the packet size fields to being placed between packets. That has its own problems and advantages.

    None of this is an issue if you restrict to 1 packet per page, and I guess you could just ignore the CRC, but it is something about the design that doesn't help.

  26. VP8 Codec by DaMattster · · Score: 0

    I just recently heard about the VP8 codec which Google plans to open up and allow its use royalty free. I have even heard that it might be opened up as early as next month. This should render the whole OGG vs. MPEG obsolete.

    1. Re:VP8 Codec by Anonymous Coward · · Score: 1, Informative

      Ogg is a container, not a codec. If Google does end up releasing VP8 on a royalty free basis they may very well do so by packaging it in Ogg. It would be a convenient way to go as Firefox, Opera, and Chrome already support Ogg.

    2. Re:VP8 Codec by NoMaster · · Score: 2, Informative

      That's great. What container are they going to put it in again?

      (Less snarky version: VP8 is a codec. Ogg (& MKV, & AVI, & etc) are container formats that hold data encoded with various codecs. The situation is muddied somewhat with MPEG, as the various versions encompass both a codec and a container. DivX too, but the DivX container is nothing more than a bastardised .AVI container containing video encoded with the DivX codec.)

      --
      What part of "a well regulated militia" do you not understand?
  27. Where were you... by Anonymous Coward · · Score: 0

    Where were you when that initial smear piece was posted on slashdot?

    1. Re:Where were you... by rtfa-troll · · Score: 1

      Where he's been ever since. Microsoft's evil layer, just under Steve Balmer's bedroom, chained to a chair, just waiting for this correction to be posted so that he could post the XKCD cartoon. Imagine the willpower it takes to sit for weeks refreshing slashdot just waiting for that first post. If only he could escape to use his powers for good.

      --
      =~ s,(.*),<sarcasm>$1</sarcasm>,g if any_point_you_wish();
    2. Re:Where were you... by rtfa-troll · · Score: 1

      s/layer/lair/ but then that's the problem with open sourcers.. We don't have the weeks of preparation by a team of PR people before we publish and are damned.

      --
      =~ s,(.*),<sarcasm>$1</sarcasm>,g if any_point_you_wish();
  28. Re:It still doesn't address many real world proble by Anonymous Coward · · Score: 0

    It is restricted to one packet per page, with packets being broken up among multiple pages if they're too large. A packet should be something like a single frame of video, or a single line of subtitle text, or whatever a codec is using as a discrete packet of information. Buffering should not be an issue.

  29. Re:It still doesn't address many real world proble by Anonymous Coward · · Score: 2, Interesting

    * Mandatory per-page CRC forces low-latency streaming to use single packet per page. Demux cannot continue before an entire page is received, which increases latency by the number of packets in a page (minus 1). Per-packet or even no CRC would be more appropriate.

    I don't know anything about Ogg, but you're forced to single "bigger unit per codec packet" for very low latency with all most all containers, CRC or not. What forces you is either length coding (either coding of the whole bigger unit size or the individual packet sizes), or the encoding of the "bigger unit" timing information. At least ogg does appear to support moderately low latency for that single packet case.

    Can you suggest another format which does zero (container) latency better while still being low overhead? I can think of some things which are about half the overhead compared to ogg in the single packet case, but they retain the high (several percent) overhead even when you don't care about very low overhead.

  30. Shortcomings addressed by Trogre · · Score: 1

    So can we expect to see a working example of bitrate peeling some time soon?

    --
    "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
  31. Re:If you say something often enough... by Anonymous Coward · · Score: 0

    Sure. But when one party uses it 15% of the time and the other party uses it 99% of the time, there is a big difference.

    "Marx would say that a sufficiently large quantitative difference is qualitative. One of his few useful insights". - Ashby

  32. Re:It still doesn't address many real world proble by Anonymous Coward · · Score: 0

    Wait, I think I'm wrong, you can have multiple packets per page. Still, pages are not supposed to contain large amounts of data unless it's a single large packet.

  33. RTFA. by SanityInAnarchy · · Score: 1

    From TFA:

    Mapping is a term I coined for the process of formally documenting how a codec will be placed into a container. Every container involves details beyond 'plop raw compressed frames into the container and you're done.' Some details include specifying codec magic (eg, the "FOURCC" in AVI, the 'Magic' in Ogg), choosing an appropriate timebase (or how to convert to the container's timebase), how one indicates keyframes/sync points, how this data is submitted to the container, and so on. Mappings also allow a given codec to take targeted advantage of the features offered by a particular container. One example is mp3 in Matroska, where the mapping specifies that the mp3 header is to be treated as duplicated/compressed data. Mappings need only be specified once and they're done.

    By definition, mapping must be done for any codec into any container, even if the mapping is relatively trivial. This is true of MP4/MOV, Matroska, Ogg, NUT, AVI, and every other container. Some containers, like Ogg and Matroska[5], explicitly describe and document mapping, as well as the codec mappings themselves. Other containers document mappings but have no explicit name for it. A few remainders like AVI neither institutionalize the process of mapping, nor reliably document how codec data is contained, leading to an 'anything goes' situation of widespread ambiguity and compatibility conflicts[6].

    In short, every container has codec mappings whether they are explicit or implicit or even well-formed. The Ogg project has a name for the process. It is disingenuous to claim that Ogg is inferior to some other container that requires these same decisions, but has no name for the process, or worse, no process at all.

    So I have to ask: Have you done significant work with both OGG and other formats?

    --
    Don't thank God, thank a doctor!
    1. Re:RTFA. by Anonymous Coward · · Score: 0

      I don't know WTF is wrong with your players, but really, how can a total of four seeks bring your system to a crawl?

      By reading a crapload of data and/or performing heavy computation between seeks.

    2. Re:RTFA. by radtea · · Score: 1

      And there you go. I don't know WTF is wrong with your players, but really, how can a total of four seeks bring your system to a crawl?

      This reminds me so much of Java speed discussions before Java's practical performance reached an acceptable threshold. People kept on pointing out that it was possible to write fast Java code (which I agree with--I had a team writing Java code that was so fast no one who saw it believed it was in Java) but ignored the fact that it was easy to write slow Java code.

      It appears that while in some theoretical universe it is possible to use Ogg in a way that doesn't suck, but in the universe we actually happen to inhabit Ogg is closely associated with suckage. Figuring out why this is so and addressing the actual problems that users have, either via better docs, better example code, or making doing the right thing easier, is the sane and sensible response.

      Complaining that "your players are borken" is not.

      --
      Blasphemy is a human right. Blasphemophobia kills.
    3. Re:RTFA. by SanityInAnarchy · · Score: 1

      By reading a crapload of data

      In what universe is four seeks "a crapload of data"?

      and/or performing heavy computation

      Can't really argue with that, other than I really don't see it. At all. Ever. Where are you getting your video?

      --
      Don't thank God, thank a doctor!
  34. RTFA. by SanityInAnarchy · · Score: 5, Informative

    From TFA:

    An index is only marginally useful in Ogg for the complexity added; it adds no new functionality and seldom improves performance noticeably. Why add extra complexity if it gets you nothing?

    You can do seeking without an index:

    A binary search is discussed in the spec for ease of comprehension; implementation documents suggest an interpolated bisection search. So far, this is the same as Matroska and NUT.

    The only difference being, Matroska implementers tend to be lazy about implementing the indexless seeking properly, and people tend to use indexes, thus propagating this myth even more.

    The Vorbis source distribution includes an example program called 'seeking_example' that does a stress-test of 5000 seeks of different kinds within an Ogg file. Testing here with SVN r17178, 5000 seeks within a 10GB Ogg file constructed by concatenating 22 short Ogg videos of varying bitrates together results in 17459 actual seek system calls. This yields a result of just under 3.5 real seeks per Ogg seek request when doing exact positioning within an Ogg file. Most actual seeking within an Ogg file would be more appropriately implemented by scrubbing with a single physical seek.

    And there you go. I don't know WTF is wrong with your players, but really, how can a total of four seeks bring your system to a crawl?

    --
    Don't thank God, thank a doctor!
  35. Re:It still doesn't address many real world proble by Anonymous Coward · · Score: 0

    • No index. Seriously, why can't we have an index? It doesn't have to be at the beginning of stream - the end is fine too. Which leads me to...
    • Random access video across a high latency link. Think that's uncommon? What about cell phones playing a web-hosted video, where 1000ms+ is the norm? Or even laptops with a 3G access dongle? An index (even a small one) mitigates the issue, even if placed at the end of stream.

    You can have an index:

    http://blog.pearce.org.nz/2010/01/indexing-keyframes-in-ogg-videos-for.html

    You're welcome.

  36. Re:Well written, and informative... (ogm skipping) by Anonymous Coward · · Score: 0

    Your skipping problems may have to do with how your source material was encoded.

    After reading your post, I KVM-switched to my WinXP PC, found a .ogm file, started MPlayer, used right-arrow, up-arrow, left-arrow, and down-arrow, and got instant skipping, with subtitles properly synced.

    Then, I KVM-switched to a Linux laptop, found a (different) .ogm file, started MPlayer, used right-arrow, up-arrow, left-arrow, and down-arrow, and got instant skipping, with subtitles properly synced.

    *shrug*
    "Works for me."

  37. Motion JPEG by tepples · · Score: 1

    The extreme case would be to have each frame as a key frame. This should allow instant random access of the video, but the resulting filesize will be bigger.

    I know of a few AVI codecs like that: motion JPEG, the motion-JPEG-like DV, and Huffyuv (which could be considered the PNG of video).

  38. Direct Stream Copy by tepples · · Score: 1

    What possible use could you have for obtaining time stamps within a video stream that you cannot decode?

    I believe VirtualDub calls it Direct Stream Copy. The user can transcode an AVI file's video and not touch the audio except to keep it in sync, or vice versa.

  39. Re:It still doesn't address many real world proble by Mr.Ned · · Score: 1

    The article specifically addresses random access across high latency. Search for "latency", or just read the article.

  40. easily-accessible Presentation Time Stamp by Anonymous Coward · · Score: 0

    Geesh. I only implemented ogg for a little embedded device and even I know this.

    Ogg pages store a "granulepos", which is a 64 bit composite number for representing the end time of the last frame completed by the end of the page. Ogg's only promises are "granulepos can be mapped to a time" and "granulepos monotonically increases". The codec is what does the time mapping for you. There are basically two schemes in use: Vorbis, flac, and speex just use a sample number. Theora uses a variable shift to split the granulepos into "frame number of the last keyframe" and "frames since the last keyframe".

    To seek you ask the codec to codecs to map the time you want into a "granulepos" then you use a bisection search to find the page with the largest value which is smaller than the time you want. You begin decoding there. Even with no more intelligence than that and simply relying on the codecs to tell you the timing you'll never need to decode more than an excess of 64kbytes of compressed data to get your timing. If that isn't enough for you, you look inside the codec data to back calculate the time for every frame from the "granulepos" then only decode the right ones but to me that seems like a lot of extra work for a very small cpu savings. You can make this even simpler by simply not worrying about sample accurate seeking at all.

    My guess is that the grandparent poster was simply trying to decode one of those broken Ogg files that FFMPEG writes. These files gave me quite some heartburn in my development: Because the ffmpeg developers hate ogg so much they made their software write ogg files that are maliciously constructed! They contain "0xFFFFFF...." for _ALL_ granuelpos values. This is a special value that says that no frame finishes on this page, so normally you look forwards or backwards a little further to find the time. But since an ffmpeg produced stream never has anything but -1 you end up seeking, then reading to the beginning or end of the file! I had to put in special case detection of the broken ffmpeg output in our product to avoid this problem.

  41. -1: Offtopic (AKA didn't RTFA not even TFS) by Anonymous Coward · · Score: 0

    As far as I agree with, you're offtopic.
    People aren't arguing about Vorbis the CODEC, but about Ogg the container.

  42. Re:It still doesn't address many real world proble by pslam · · Score: 1

    It talks about high latency. It doesn't solve it.

  43. Matter of taste. by fyngyrz · · Score: 1

    XKCD is plenty funny from time to time, and like every other comic out there, some strips are better than others. If you don't get the jokes, or you don't think they're funny, that's a reflection on your view-of/capacity-for humor, not XKCD. As for the drawing... it's minimal, because the point is rarely in the quality of the drawing. And it's only fair to point out that if everything you accept as funny must also be drawn to some arbitrary standard, you're going to miss a whole lot of funny things. I expect you don't tolerate South Park well, either, eh? Given the quality of the drawing, which is somewhere between hilariously abysmal and straight-up awful. It's still funny as heck from time to time.

    XKCD is one of the few comics I visit regularly. But then again, my sense of humor wasn't shot off in the war.

    --
    I've fallen off your lawn, and I can't get up.
    1. Re:Matter of taste. by cbreaker · · Score: 1

      So, if I don't think a joke on xKCD is funny, it's because I don't have a sense of humor - NOT because the joke wasn't funny?

      Often, the jokes are very over-played and done by the time an xKCD uses them. He often takes the lazy route by tugging on the old stereotypes - girlfriend is naggy, boyfriend is a dog, etc..

      Some of them are real good - thoughtful. The bulk of them aren't. But it can't be because they actually aren't funny, it's because I lack a sense of humor, but only sometimes?

      Sorry, but throwing in the occasional math joke doesn't make this a good web comic, in my opinion. You're free to have yours, of course!

      --
      - It's not the Macs I hate. It's Digg users. -
    2. Re:Matter of taste. by fyngyrz · · Score: 1

      So, if I don't think a joke on xKCD is funny, it's because I don't have a sense of humor - NOT because the joke wasn't funny?

      No, not that you don't have one, just that it doesn't intersect with the humor in the cartoon.

      Like I said, it's a matter of taste. It doesn't mean that the cartoon wasn't funny. It just means it wasn't funny to you.

      --
      I've fallen off your lawn, and I can't get up.
  44. XINE, VLC too by DrYak · · Score: 1

    Xine works marvellously too.
    VLC seeks instantaneously, but displays corrupted frame just after the seek.

    Which are the players with multi-seconds pauses ?

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]