Slashdot Mirror


Theora 1.0 Released, Supported By Firefox

YA_Python_dev writes "The Xiph.Org Foundation announced Monday the release of Theora 1.0. Theora is a free/open source video codec with a small CPU footprint that offers easy portability and requires no patent royalties. Upcoming versions of Firefox and Opera will play natively Ogg/Theora videos with the new HTML5 element <video src="file.ogv"></video>, and ffmpeg2theora offers an easy way to create content. Theora developers are already working on a 1.1 encoder that offers better quality/bitrate ratio, while producing streams backward-compatible with the current decoder." Adds reader logfish: "Since its bit-stream freeze in June of 2004 there have been numerous speed-ups and bug-fixes. Although Nokia claimed it to be proprietary almost a year ago, nothing has been proven. So now it's time to help it take over the internet, and finally push for video sites filled with Theora encoded vlogs, blurts and idle nonsense."

41 of 310 comments (clear)

  1. Re:Containers... by iamdrscience · · Score: 3, Informative

    Just like MKV hardly anything will play it, but unlike MKV it doesn't actually add anything useful.

    Mod me troll if you like, but I speak the truth.

  2. Free Is Good, But Quality Is Lacking by rsmith-mac · · Score: 4, Insightful

    I really want to like Theora, but it's really, really hard to get around the quality issues. VP3, which Theora is based on, just isn't competitive these days. It was subpar back in 2001 when it was donated to Xiph, and the contrast has only gotten worse over time. H.264, VC-1/WMV9, MPEG-4 ASP, even Adobe Flash 8 (which added VP6) are clearly capable of outperforming it.

    If nothing else, free is good (both in terms of speech and beer) and a royalty free standard for video would be great, but it's too hard to ignore just how inferior this standard is. I'm a pragmatic person, I can't think of any reason why I'd want to use this over a better codec; free isn't all that enticing if the video quality sucks.

    1. Re:Free Is Good, But Quality Is Lacking by stevek · · Score: 5, Informative

      There's certainly better quality codecs out there, compared to 1.0. Take a look at the work happening now on 1.1, though, it gets very competitive:

      http://web.mit.edu/xiphmont/Public/theora/demo5.html

    2. Re:Free Is Good, But Quality Is Lacking by yourfuneral · · Score: 3, Insightful

      But, those are issues that can be addressed, and with more attention like this it will get more help from "joe the programmer". I'm glad to see something like this. I'm tired of the "format wars" going on by a few companies. The consumer wants something that works well. If there is a free and equally good alternative the world would open up to it. To me quality optimizations can come after they something that works well and is open.

    3. Re:Free Is Good, But Quality Is Lacking by toots5446 · · Score: 5, Insightful

      With the billions of crappy flv video being used all over the web, are you claiming that cutting edge video technology is the key for broad acceptance ??

    4. Re:Free Is Good, But Quality Is Lacking by rsmith-mac · · Score: 4, Insightful

      But, those are issues that can be addressed, and with more attention like this it will get more help from "joe the programmer"

      Can it though? Certainly part of the issue is definitely the encoder, but you're still constrained by the inherent limitations of the codec (and more to the point, the decoder). Theora can't be overhauled without breaking the decoder, and even if it was overhauled as Theora 2.0, it couldn't implement any of a multitude of patented video compression technologies already used in MPEG or other standards. And unless someone wants to hire a team of engineers for Xiph, the odds of someone inventing a revolutionary, non-patent-infrining video codec on their own is pretty slim.

      From what I've seen with the work on 1.1, improving the encoder just isn't enough to nullify the deficiencies in the codec itself. It's like trying to improve Mac OS Classic when really you need to make a clean break and invent Mac OS X.

    5. Re:Free Is Good, But Quality Is Lacking by TheRaven64 · · Score: 5, Informative

      Think of Theora as a successor to MPEG-1 on the web. It works everywhere, is easy to support, and doesn't need much CPU to play back (so you can use it for mobile sites), and the quality is 'good enough' but not great. At the other end there's Dirac (which also went 1.0 recently), which provides amazing quality but at the cost of much higher CPU loads. If you're streaming films or HDTV episodes, you'd want to consider something like Dirac. If you're just showing little clips and you want them to just work, you'd use Theora (well, at the moment you'd use MPEG-1, but hopefully in the future you can use Theora).

      --
      I am TheRaven on Soylent News
    6. Re:Free Is Good, But Quality Is Lacking by Grey_14 · · Score: 4, Insightful

      Don't forget, lots of nightmarish IE specific stuff also "Just Works" for "The Majority", And ask any 64bit linux user exactly how much they love adobe for their support. (I think they have it now, after something like 4 years of waiting or running in emulation, or running a 32bit OS on their 64bit machines)

      The magical wonderland I think of is one where anyone on any system can easily watch video online, not just the majority.

    7. Re:Free Is Good, But Quality Is Lacking by Godji · · Score: 3, Informative

      Flash doesn't just work. It requires a proprietary plugin that crashes my browser all the time, and is not 64-bit.

    8. Re:Free Is Good, But Quality Is Lacking by Anonymous Coward · · Score: 4, Interesting

      Theora quality is good enough. You may be able to see a difference under a microscope but not to the human eye.

      To get a good quality video, from A to Z must be quality, not just one step.

      Many convert a MPEG video into Theora and say Theora video is not good quality. MPEG means video is already compressed and data is dropped as part of the encoding process. You don't take a such a video and convert the format to Theora and drop data again as part of the Theora encoding process. Its of course not good quality then, because data is dropped twice.

      To get real quality video in Theora, you should get a raw video and convert to Theora. I have converted a raw video footage shot by a RED camera (http://www.red.com/) into Theora, I don't see any quality issue. Its crisp clear.

      In digital camcoders this is what is done inside, ie. it first shot in raw and then convert to MPEG. I have not come across a video camera that convert to Theora natively inside the camera. If it does, there should not be any quality difference compared to MPEG.

      Sagara

    9. Re:Free Is Good, But Quality Is Lacking by freddy_dreddy · · Score: 5, Insightful

      if anyone goes through with this, choose a video which contains:
      - noise
      - fire
      - rain or snow
      - smoke

      These are the frames which have the highest amount of entropy and are easiest to visually illustrate the quality of a coder.

      --
      "Violence is the last refuge of the competent, and, generally, the first refuge of the incompetent" - Thing_1
    10. Re:Free Is Good, But Quality Is Lacking by bigmammoth · · Score: 5, Interesting

      The fact that the quality improvements for theora 1.1 put it on par with a base mpeg4 implementation while not on par with the most recent h264 encoders is not really relevant in the larger sense.

      Once a free codec becomes widely adopted the chance of some proprietary codec coming along afterwards is near zero. Its just like today we can't imagine someone coming out with a proprietary image format and expecting people to adopt it.

      Its relatively easy to add in support for Dirac or some future free codec once there is support for a free codec ecosystem. No one will pay h264 licensing costs when quality free alternatives are vibrant. The entrenched proprietary systems are being pushed aside for free alternatives. This 1.0 release is a step towards that direction, not as big of a step once firefox 3.1 ships but an important step ;)

    11. Re:Free Is Good, But Quality Is Lacking by BrentH · · Score: 3, Informative

      Here's a link that compares last years Theora with xvid and divx:
      http://web.mit.edu/xiphmont/Public/theora/demo.html
      Note that this is before the major changes made this summer and the major changes still coming (in the encoder). The VP3 technology actually puts it between MPEG-4 ASP (xvid/divx) and H264 in theoretically achievable quality, it's just that the encoder has been extremely badly tuned up until this summer, because of lack of interest. If Theora can catch up to MPEG-4 ASP codecs and perhaps even close in on H264, it would make for an excellent patentfree codec.

  3. Re:Native Video in Firefox by Chester+K · · Score: 4, Funny

    Sounds like feature creep and bloat to me.

    Don't worry, the pages that implement it will never get loaded into RAM because nobody will ever use it.

    --

    NO CARRIER
  4. Re:Long test cycle? by stevek · · Score: 5, Informative

    The bitstream format was frozen, not the code.

  5. Re:How long until... by DurendalMac · · Score: 4, Funny

    Ogg/Theora IS porn to the FOSS zealots. Anything at all encoded in said formats gives them a chubby.

  6. Comment removed by account_deleted · · Score: 3, Interesting

    Comment removed based on user account deletion

  7. Dirac by ast_rufio · · Score: 3, Informative

    Dirac (see http://diracvideo.org/) probably has much more potential to become the next generation open video codec. From what I understand it is more cutting edge and than Theora due to e.g. the use of wavelets.

    1. Re:Dirac by TheRaven64 · · Score: 5, Informative

      They're aimed at different markets. Dirac is a very high-quality CODEC, but it is incredibly CPU intensive. Remember what MPEG-4 was like when it was introduced? A couple of days to encode a film, and you could only just decode it in realtime on a fast computer? Dirac is like that. It will be a few years before you start getting Dirac support in something like an iPhone. If you want to stream HD content, Dirac is a good choice.

      In contrast, Theora is very cheap in terms of CPU power. You can run it on very low-power devices. This makes it a good choice for Internet video, where the viewer might be using a massive desktop computer, a mobile phone, or anything in between. You wouldn't want to use Dirac here, because even fast laptops would struggle not to drop frames, and handhelds would just fail.

      That said, my mobile phone now has about as much CPU power as the PC I had when I first got an MPEG-4 video, so eventually it will be feasible to run Dirac in low-power devices (sooner if they have dedicated ICs), but in the short term it's not ideal.

      --
      I am TheRaven on Soylent News
  8. So you prefer Flash installed on every browser? by Lino+Mastrodomenico · · Score: 4, Insightful

    Sounds like feature creep and bloat to me.

    Why? Ins't going to affect you if you don't visit pages with videos and, unlike Flash there's a browser preference to start all videos in paused state. The Theora binary library is only 250 kB on AMD64, even smaller on x86. The Flash plugin, is much, much bigger.

    Video on the internet (think youtube, movie trailers, pr0n, etc.) isn't going away any time soon.

    The current state of the art is to have a proprietary Flash plugin installed in almost every browser. Switching to native support for an open format directly in the browsers seems like an improvement to me. In the good ol' days, people considered image support in browsers as bloat too..

    And Firefox isn't alone here: Opera and Safari will support it too (altough Safari will not support Theora out-of-the-box).

  9. Re:Containers... by ShieldW0lf · · Score: 5, Insightful

    Just like MKV hardly anything will play it, but unlike MKV it doesn't actually add anything useful.

    You've obviously never negotiated costs with MPEG-LA, or you wouldn't say that.

    --
    -1 Uncomfortable Truth
  10. Re:Containers... by rsmith-mac · · Score: 3, Interesting

    Matroska isn't an MPEG standard. It's patent and royalty free, and the standard itself is open for FOSS to implement (as many have).

  11. Uh? by Xest · · Score: 3, Insightful

    "Although Nokia claimed it to be proprietary almost a year ago, nothing has been proven. So now it's time to help it take over the internet"

    I admit I don't know what the situation with Theora's licensing history is but this comment strikes me as rather worrying. We're being told to use it because no one's proven it's not likely to end you up with licensing troubles later on. Personally I'd rather before something "takes over the internet" that the burden of proof was on it to demonstrate that it is completely open. This should be as easy as showing use of a relevant open license no?

    From what I can see it's under a BSD license and so should really be open. Is this the case? The way the article summary is written just really doesn't instil confidence in their intentions.

    Giving this codec the benefit of the doubt I think the summary is just a case of carried away fanboyism having an adverse effect towards the neutral observers view of the situation much as seeing a forum war between a PS3 and a 360 fanboy might put someone off the idea of online console gaming.

    Can someone a bit more grounded give us a better view of the concerns and realities of Theora licensing and it's suitability as a codec to "take over the internet"?

    1. Re:Uh? by Anonymous Coward · · Score: 5, Informative

      Xiph had the Software Freedom Law Center help establish that Nokia's claims were untrue. Mozilla sought counseling from lawyers before supporting Theora. Is that enough?

    2. Re:Uh? by steveha · · Score: 3, Informative

      That "nothing has been proven" comment is pretty clearly tongue-in-cheek, just like the "take over the Internet" part.

      The video encoding field is crowded with patents, so it's probably impossible to do something like Theora without needing a patent license. But Theora is based on some patented technology (VP3) whose patents have been donated for free use, irrevocably forever. And Theora is free, open source software with a BSD license. If you use the Ogg container format, Theora video, and Vorbis audio, you have a completely free media format.

      http://en.wikipedia.org/wiki/Theora

      So, you can use Theora for any purpose, without needing to pay royalties, without needing to get permission. That's why it's so funny that Nokia claimed Theora is "proprietary"... I do not think that word means what they think it does.

      steveha

      --
      lf(1): it's like ls(1) but sorts filenames by extension, tersely
    3. Re:Uh? by a+nona+maus · · Score: 3, Insightful

      Proof? Prove to me that H.264 doesn't violate any third party patents. Prove that this slashdot AJAX comment interface doesn't violate any patents.

      You're asking the wrong question.

      I don't know about Unreal. Halo uses Vorbis in Ogg. Then again I can't believe that I'm responding to someone who would even suggest that Ogg has patent problems.

      Proving a negative is usually hard. With patents proof is not even possible. (but proving a violation is far more straight forward) What is relevant is the decisions of experienced engineers and attorneys and what we have is experienced engineers and attorneys advising their clients (I.e. Mozilla; Wikimedia) that Theora is okay to use. Meanwhile, can you point to anything more credible than a Slashdot comment saying Theora violates anything specific?

  12. Re:Native Video in Firefox by erikdalen · · Score: 5, Insightful

    Yep, and Windows proves Linux is unnecessary as it is a widely accepted and usable solution for operating a computer.

    --
    Erik Dalén
  13. Re:Horray by David+Gerard · · Score: 5, Informative

    It's the only video format allowed on world #8 site Wikipedia.

    --
    http://rocknerd.co.uk
  14. Re:Horray by doti · · Score: 3, Funny

    "smaller random nerd sites and one big nerd site"

    there, fixed.

    --
    factor 966971: 966971
  15. Re:Back to the better! by gad_zuki! · · Score: 4, Informative

    People and companies likes flash players because it usually just works. The days of embedding video objects are dying because in practice this is what would happen:

    1. WMV files would lock up or you would have to spend 20 minutes at windows update downloading the newest wmp or reinstalling the plug-in.

    2. Mac users would complain that WMV files arent working.

    3. Realplayer would do the same, except the install would crap up your computer and ruin all your file associations. You would also have to troubleshoot plugin issues.

    4. Quicktime files would crash the browser and then you would have to install the newest version usually along with itunes in a 60+ meg download. Windows users would complain how crazppy quicktime is.

    5. Someone would embed an avi and no one would be able to play it because end users have no idea what codecs are.

    6. Some plugins would work in IE but not in Firefox.

    What flash did is put all video in one cross-playform container and player. Turns out people like it this way.

  16. Re:Well... by doti · · Score: 4, Informative

    So is MKV, just a container.

    --
    factor 966971: 966971
  17. Re:Why not using the "object" tag? by TheRaven64 · · Score: 4, Informative

    The object tag is not a great way of doing anything. It requires too much knowledge of the plugin that will be used to render it to be at all nice to work with. The big difference between the audio and video tags in HTML 5 and the object tag in HTML 4 is that they have a set of well-defined parameters. If you want to use an object tag for video, you need a set of param tags inside it giving parameters to the player. Each player (WMV, Quicktime, VLC, etc.) understands a slightly different set, and the set a generic plugin for video should understand is not defined by the standard.

    --
    I am TheRaven on Soylent News
  18. Re:Containers... by delt0r · · Score: 5, Insightful

    Thats parents point. H264 etc are patent encumbered so Theora does add something very dam useful to the community just like MKV does. MPEG-LA is the group that runs the patent pool on mpeg/h264 etc while the OP was suggesting that Theora is without merit.

    If we want h264/mpeg4 support in FF you going need about $3M+ donated per year for the license fees.

    If you have ever needed to care about the licensing of things like codecs you would know the value of Theora and Dirac.

    --
    If information wants to be free, why does my internet connection cost so much?
  19. Re:Containers... by BrentH · · Score: 4, Informative

    Many posters here are confusing two things here: codecs and containers. Theora is the videocodec, OGG the container (which has the extension .ogv). OGG (as per .ogv) is also the standard container for Theora, which Firefox supports. But, MKV being really a superior container on pretty much all fronts, could contain Theora equally well as any containerformat (actually, better IMHO). Just making sure everyone is talking about the same thing.

  20. Re:Horray by David+Gerard · · Score: 3, Informative

    Commons:File types - this is what is permitted by the WMF MediaWiki installation.

    --
    http://rocknerd.co.uk
  21. That's not what "free" means. by Grendel+Drago · · Score: 4, Informative

    So unless you have specific examples of I-TU chasing down people who implement their (publicly available) specifications, I consider H.264 to be free...

    Sure, you can consider it to be free, but boy is that ever not what free means.

    And a publically available spec means little or nothing. Patents are publically available, but try implementing those and see if you manage to escape the long arm of the litigator.

    --
    Laws do not persuade just because they threaten. --Seneca
  22. Re:Thank you very much, Mozilla Corp. by a+nona+maus · · Score: 5, Insightful

    As Wikipedia would say: "Citation needed".

    Care to show an example of *any* MPEG-2 codec out performing the current Theora encoder on a typical web-video 500kbit/sec stream? Forget the new enhanced theora encoder, MPEG-2 can't even match the old crap. Plus mpeg-2 is patented to hell and back, you even have to pay for mpeg-2 decoding in Windows to play DVDs!

    Can you cite a *single* example showing Vorbis to be glaringly inferior to AAC? At best the listening tests show AAC to edge out Vorbis only for speech samples at the lowest bitrates (where Xiph has Speex, which blows AAC away for those applications). And no multi-channel? wtf. Vorbis supports 255 channels.

    I shouldn't expect better from slashdot, but could you at least find lies that are a bit less obvious.

    Ogg high overhead? Okay, Ogg/Vorbis+Theora is something like 1% overhead vs a typical of 0.9% overhead for a movie in AVI. You win there. Then again, OGG provides frequent checksums so that a damaged OGG/Vorbis file will *never* break your speakers and damage your hearing. People who have had the misfortune of hitting a corrupted MP3 in their iPod playlist should be able to appreciate the advantage of this approach. What you consider a fault I consider a feature. Egads, room for design differences exists! who would have thought?

  23. Re:Containers... by delt0r · · Score: 4, Insightful

    Yes there are examples. Just ask the mplayer developers. Even in the EU its not as clear cut with software patents as /. will have you believe. Our lawyers said that your fine if you aren't selling it, probably, but don't push it with commercial (for profit) products and services. The idea of using codecs on the basis that "they won't do anything" is about as smart as claiming RIAA won't do anything for downloading music. Quite a few said that back in the napster days. You remember how that went.

    --
    If information wants to be free, why does my internet connection cost so much?
  24. Re:the new HTML5 element by bigmammoth · · Score: 3, Informative
    you should take a look at the mv_embed script. Once included your embed line looks like this:

    <video src="my_video.ogg">

    This then gets rewritten to java cortado for IE clients. Or if you don't like cortado and would prefer flash fallback:

    <video>
    <source type="video/ogg" src="mymovie.ogg" />
    <source type="video/x-flv" src="mymovie.flv" />
    </video>

    Or if you want to make the video accessible with multiple downloadable video formats and multiple timed text tracks (annotations, multiple subtitle languages and what have you) all pulled from xml via JSON request (to support remote embedding) all auto-scrolled/updated with javascript based on whatever underlining playback system your browser supports:

    <video roe="my_roe_file.xml">

    (uses ROE for the xml format) presently in use in blogs such as this one

  25. Re:Horray by freddy_dreddy · · Score: 3, Interesting

    that's used on a site that gets over a million visitors each day

    WP isn't a video server, a very small amount of their pages contain moving images. They can have as many visitors a day as you want, they all go there for text & images. Youtube is the #3, is 100% video and not a bit of theora there.

    --
    "Violence is the last refuge of the competent, and, generally, the first refuge of the incompetent" - Thing_1
  26. Re:MPEG 4 LA terms by delt0r · · Score: 3, Informative

    Firefox would have to pay the maximum fee as would every derived product. Thats not so cheap (4Million+ freking dollars better spent *anywhere* else). And if you think it so cheap, will you donate that money please.

    You are also forgetting the fees for producing content in H264 that come into effect later.

    They are also leaving out a *lot* of fine print. In order to get a license you don't just have to pay, but you must agree to the license terms (aka hardware players must use zone flags, DRM etc). There is more than they tell you without NDAs. Not to mention all the lawyer fees in between.

    They are not even going to let you pay a blanket fee for a product that others can use "free" in there own products. No matter what you pay. Because then there is no one else that needs a license and hence no one to tie into these extra terms.

    Also what makes you think the fees won't increase at a latter date?

    Encumbered means just that. Encumbered.

    ps I have talked to them about a license......

    --
    If information wants to be free, why does my internet connection cost so much?