Slashdot Mirror


Dirac: BBC Open Source Video Codec

NickFitz writes "Need To Know this week has a piece about Dirac, a BBC R&D project to produce a video codec, which has been released as an Open Source project. From BBCi: 'Dirac is a general-purpose video codec aimed at resolutions from QCIF (180x144) to HDTV (1920x1080) progressive or interlaced... Our algorithm seems to give a two-fold reduction in bit rate over MPEG-2 for high definition video (e.g. 1920x1080 pixels), its original target application. It has been further developed to optimise it for internet streaming resolutions.'"

109 of 523 comments (clear)

  1. Ahh codecs. by Anonymous Coward · · Score: 2, Funny

    The great thing about them is that there are so many to choose from and support.

    1. Re:Ahh codecs. by ThisIsFred · · Score: 3, Funny

      And yet, anything you want to watch is always in the worst-performing proprietary format. :-/

      --
      Fred

      "A fool and his freedom are soon parted"
      -RMS
  2. Finally!!! by WwWonka · · Score: 5, Funny

    BBC Open Source Video Codec

    Finally a codec to convert all the dry witty intelligent British TV humor over to bland cliche' stale American TV humor!

    1. Re:Finally!!! by BumpyCarrot · · Score: 4, Funny

      Never. We say wanker. We sometimes bloody.

      I have never, in my entire life living in pretty much the dead centre of the British Isles, heard anyone say "Bloody wanker".

      --
      Do you see what I did there?
    2. Re:Finally!!! by 91degrees · · Score: 2, Informative

      It's not too easy since the remakes were so unmemorable, it's easy to forget them. Examples that spring to mind:

      UK->US: Coupling, Red Dwarf, Dad's Army (as the Rear Guard).
      US->UK: That 70's show (as Days like these). They also tried a version of The Golden Girls, but I never liked the orignial.

      It seems to be only sitcoms that are a guaranteed failure. Quiz shows seem to work very well, so do lots of other formats. Junkyard Wars seems very popular, for example. Yet they keep trying sitcoms.

  3. Duplicating work? by bobbis.u · · Score: 3, Insightful

    Seems like a bit of a waste of license payers money when there already a several open source video codecs (eg. Ogg Theora, 3ivx). What does this offer that those don't?

    1. Re:Duplicating work? by bobbis.u · · Score: 2, Informative

      I of course meant xvid, not 3ivx (3ivx isn't open source).

    2. Re:Duplicating work? by Uzik2 · · Score: 5, Informative

      Theora doesn't have a working windows codec.
      Windows is most of the marketplace.

      --
      -- Programming with boost is like building a house with lego. It's a cool but I wouldn't want to live in it
    3. Re:Duplicating work? by breakinbearx · · Score: 3, Insightful

      It seems as if their codec performs very well (losslessly?) at very high resolutions, i.e. the ones the Beeb would need for HDTV. This would provide better (visual) quality programs over existing lines e.g. cable, satellite. I have a feeling the codec will not have a practical use for everyday computer users, but will be used more for video production.

      --
      Skill is successfully walking a tightrope over Niagara Falls. Intelligence is not trying. -- Anonymous
    4. Re:Duplicating work? by Anonymous Coward · · Score: 2, Insightful

      Codecs have varying quality/compression tradeoffs for different source material, intellectual property hassles (not all which are known up front), varying API support, etc. So the more that are available the better.

    5. Re:Duplicating work? by Kenja · · Score: 3, Funny
      "What does this offer that those don't?"

      Its British.

      --

      "Have you ever thought about just turning off the TV, sitting down with your kids, and hitting them?"
    6. Re:Duplicating work? by Trepalium · · Score: 4, Informative

      xvid is patent encumbered any may not be legal to use in the US and other countries. This one may not be.

      --
      I used up all my sick days, so I'm calling in dead.
    7. Re:Duplicating work? by SpinyNorman · · Score: 3, Interesting

      It's wavelet based, so presumably it doesn't suffer from the block artifacts of MPEG-2 & MPRG-4.

    8. Re:Duplicating work? by Anonymous Coward · · Score: 2, Funny

      "What does this offer that those don't?"

      Its British.

      Its British what?

    9. Re:Duplicating work? by dubiousdave · · Score: 5, Insightful
      I have a feeling the codec will not have a practical use for everyday computer users

      I don't know about that. I'd be rather pleased if MythTV could record twice the HD content on the same hard drive space on my computer, or, for that matter, if TiVo were to use it for the same purpose.

      --
      Thank you. Drive through.
    10. Re:Duplicating work? by evilviper · · Score: 4, Insightful
      there already a several open source video codecs (eg. Ogg Theora, 3ivx)

      With Xvid, ffmpeg/libavcodec, and any others based on MPEG-4, the code may be open source, but you can't use it legally, without paying for an MPEG-4 license. MPEG-4 is a lot like MP3 in that sense.

      Theora would be nice, but it's perpetually Alpha... I was excited about it at first too, but now it seems it's going to take another year before the code is even in beta, and probably two years before it reaches 1.0, when there will be ports to non-Linux platforms. By then, it will be about as advanced as MPEG-1 is today... Way behind the times.

      However, VP3 (the codec Theora is based upon) is a rather good codec (despite the brain-dead review it got at doom9). It is free, open source, etc. There are encoders and decoders for Windows/Mac, and numerous decoders for Unix systems. It would really work great, and I have no idea why it hasn't been more popular to date.

      If there was some program that could encode VP3 video on Unix systems, I would be using VP3/Vorbis excluively for encoding everything. However, avifile, MPlayer, ffmpeg, none can encode to VP3, so it seems Unix systems are out of luck.

      That said, I'd bet the BBC will be doing their encoding on Windows or Mac OS machines anyhow, so I don't know why they don't use VP3.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    11. Re:Duplicating work? by Mateito · · Score: 5, Funny

      I'm waiting for the Scottish version.

      Same great compression, but when you encode video with it, all the actors end up wearing kilts, speaking with incomprehensible accents and getting into bar fights.

    12. Re:Duplicating work? by Marvin_OScribbley · · Score: 4, Informative

      Then what other artifacts can occur?

      One thing that is interesting about wavelet based compression is that it degrades in a way that is more pleasing to the eye, that is, there aren't any "artifacts". Discrete cosine transforms (e.g. traditional JPEG/MPEG) produce artifacts because of the way the compression works on blocks: blocks are not a normal part of most video signals, and thus when they show up they are called "artifacts" because clearly they do not belong there. Wavelet transform degrades more akin to the picture being less sharp and showing less details and so there is nothing that is noticably out of place.

      --
      I'm not a journalist, but I play one on slashdot
    13. Re:Duplicating work? by DaHat · · Score: 2

      Also remember that MPEG4 requires significantly more CPU horse power behind it for encoding and decoding. Say what you want about MPEG2, it's a hell of a lot cheaper (CPU wise) to decode.

    14. Re:Duplicating work? by Doomdark · · Score: 4, Insightful
      Don't be an ass. What he is saying that degradation is less irritating: just like in general analog mobile phone signal sounds "better", even with sub-optimal physical quality, than digital signal; this because artifacts sound so unlike 'normal' degradation. Even if physically measured, square distance (or whatever measure is usually used) from signal might be the same (or even 'better' for digital transmission)

      To put it another way: same amount of physical distortion corresponds to different amounts of subjective distortion. In general, "natural" distortion is more pleasing to human eye and ear (well, brains, eventually) than "non-natural" ones. And blocky MPEG artifacts are worse than wavelet-generated non-symmetric degradation.

      --
      I like paying taxes. With them I buy civilization -- Oliver Wendell Holmes
    15. Re:Duplicating work? by JimDabell · · Score: 4, Insightful

      That's irrelevent, as porting Theora to Windows is almost certainly much easier than coming up with a whole new codec.

    16. Re:Duplicating work? by CRCulver · · Score: 2, Interesting

      Theora would be nice, but it's perpetually Alpha... I was excited about it at first too, but now it seems it's going to take another year before the code is even in beta, and probably two years before it reaches 1.0, when there will be ports to non-Linux platforms.

      I wish Theora would move faster myself. I know nothing about codecs, but might try to find out how I can contribute.

      By then, it will be about as advanced as MPEG-1 is today... Way behind the times.

      Xiph has a project to develop an advanced codec called Tarkin. From the Theora FAQ:

      Q: What about Tarkin?

      A: Tarkin is essentially a proof-of-concept wavelet-based codec. Its experimental nature means it will not be ready for general use for some time. VP3 is a high-quality codec that can meet today's video needs now, so Xiph.org will be focusing its efforts on Theora for the near future.

      It's a pity one doesn't hear about Tarkin more often, it seems more interesting than Theora, if more fanciful and unrealistic for current needs.

    17. Re:Duplicating work? by benwaggoner · · Score: 4, Informative

      Also, broadcasters care very much about bandwidth. Getting double the channels out of a satellite is a lot cheaper than building and launching a second satellite.

    18. Re:Duplicating work? by Telex4 · · Score: 4, Funny

      Not to mention that it'd compress far more heavily to save the bandwidth pennies!

    19. Re:Duplicating work? by Uzik2 · · Score: 2, Insightful

      There are a LOT of projects out there that
      never generate decent product, or even any
      product at all. They can't wait for some
      other group with no stake in their future
      to write something they need.

      From my reading of Theora, it's just the
      streaming container, not a codec. Vp3 is
      the codec. I don't know if it's suitable
      for what they want to do with it.

      They may also have felt they could do better.

      --
      -- Programming with boost is like building a house with lego. It's a cool but I wouldn't want to live in it
    20. Re:Duplicating work? by SpinyNorman · · Score: 2, Interesting

      Basically blurriness.

      The block artifacts in DCT/FFT based approaches such as MPEG-2 are due to the fact that video has local detail (well, duh!) but you're using a globally repeating waveform (FFT = sine, or DCT = cosine) to encode it. In order to represent local detail with a DCT-based tranforrm you have to divide the image into blocks to localize the transform, and when you throw away the lower order transform coefficients (which is basically what transform-based encoding is all about) those block boundaries become apparent - block artifacts.

      In contract, wavelets are spatially localized / non-repeating, so you can represent local detail without needing to introduce blocks. But, when you throw away your lower order coefficients you will see bits of the image represented by only the higher order wavelets, which (wavelets being smooth) means that there'll be blurriness.

      The BBC codec might still choose to use blocks for motion compression (I don't know), but the above basically explains the difference between the two, and definitely applies to the difference between image compression using DCT (JPEG) vs wavelet (JPEG2000) compression.

    21. Re:Duplicating work? by cabraverde · · Score: 2, Informative

      ... it degrades in a way that is more pleasing to the eye, that is, there aren't any "artifacts"

      While this is true in theory, Dirac is using a block-based approach to motion compensation. That means that it most certainly will have blocky artifacts.

      What's more, traditional DCT-based codecs typically have sophisticated deblocking algorithms to smooth over the block boundaries. During my 2-minute peek at the Dirac source code I couldn't see any sign of deblocking at all.

      That said, the source looks clean, minimal and very readable. It would be an excellent starting point for anyone looking to play around with wavelet video.

    22. Re:Duplicating work? by Tony+Hoyle · · Score: 3, Informative

      I've seen it driving a *huge* HD LCD screen (the BBC have access to a lot of nice kit...) The picture was 100% perfect with no artifacts except for one bit where there was a lot of sky (it was a skiier jumping over a hill.. momentarily the screen was about 70% blue with a sun in the background) where the resolution seemed to drop for a couple of frames. Could be a bug in the codec, or there were just too many shades of blue at once with no edges.. I don't have the knowledge to know why.

      The quality craps on anything I've seen MPEG produce.

    23. Re:Duplicating work? by beerits · · Score: 2, Funny

      I'm waiting for the Scottish version.

      Me too because as we all know "If its not Scottish its crap!"

  4. Re:Another one? by dubiousdave · · Score: 3, Insightful
    Our algorithm seems to give a two-fold reduction in bit rate over MPEG-2 for high definition video (e.g. 1920x1080 pixels)

    That seems to answer your question, even without reading the article.

    --
    Thank you. Drive through.
  5. it's open source! by g00bd0g · · Score: 5, Insightful

    Because it's open source and being developed/supported by one of the bigger distibuters of video content on the web!

  6. can I get a nice quality of 1 hour video on a CD? by the_2nd_coming · · Score: 3, Interesting

    right now I have good quality with 3vix but it is 1 gig.

    if this can get me to 700 MBs at the same quality (about 85 in the 3vix) that would rock!!!

    --



    I am the Alpha and the Omega-3
  7. Re:Another one? by Phisbut · · Score: 2, Interesting

    True... just give me one free and powerful codec and I'll be happy... Can't we just have a standard here?

    --
    After 3 days without programming, life becomes meaningless
    - The Tao of Programming
  8. WOOO... NO MORE REAL PLAYER!! by koniosis · · Score: 3, Interesting

    Hopefully the BBC will use this instead of RAM, silly real player!

    --
    I spent ages trying to think of sig, but never did :(
    1. Re:WOOO... NO MORE REAL PLAYER!! by Telex4 · · Score: 5, Interesting

      We can only hope!

      Though FYI this was developed by their R&D team, which is, according to a bloke behind Dirac I spoke to at the recent Linux Expo in London, quite separate from other parts of BBC tech.

      I asked him about their recent OGG trials, and he said that not only did he know nothing about it, his dept. didn't even play any part or have any influence. Crazy big corporations!

  9. BBC Archive by Anonymous Coward · · Score: 3, Interesting

    Could this be related to the archive of video content they are purported to be setting up? Seems like a very unnessecary step to accomplish that, unless they have some sort of conflict with the legalaties of other codecs out there...

  10. Here's hoping it leads to more videos by Lord_Dweomer · · Score: 4, Interesting
    I really hope this leads to more free educational videos online. The BBC has been doing a great job of making that material available for free, and any thing that helps improve the quality of that content is a good thing.

    Their documentaries are so interesting that I often choose to watch them over other movies or shows I may have on my computer. Bravo BBC.

    --
    Buy Steampunk Clothing Online!
    1. Re:Here's hoping it leads to more videos by adamsan · · Score: 4, Funny

      You are so wrong I can only think you must be one of those Anglophile Americans who misguidedly spreads marmalade on Yorkshire Puddings and says Toodle pip instead of 'goodbye' thinking he's terribly cosmopolitan.

      The Television Licence is so-called because it covers television, hence the name. Nobody needs a licence for radio or internet access. Do. You. Understand? Paying the licence means that some of our television channels do not contain advertising and make an effort to produce minority programming. We still get the joys of crass, multi channel commercialised crap as well, but from the other stations

    2. Re:Here's hoping it leads to more videos by jrumney · · Score: 3, Informative

      Wrong. The law was changed in 1990, and a license is only required now for a TV. Just phone 0870 241 6468 and try buying a "radio license" if you don't beleive me.

  11. Re:Another one? by Anonymous Coward · · Score: 3, Insightful

    Yes, why would anyone need a new, free high quality codec that is backed by a huge media company? Why not use one of the patented, commercial codecs that Microsoft or Real.com want us to use?

  12. A bit wary by bsd4me · · Score: 5, Insightful

    I would be a bit wary of a codec that claims to be all things to all people, ie supporting broadcast-quality HDTV and internet-quality video

    Video codecs typically have ``sweet-spots'' for resolution and bitrate. The MPEG specs work well for higher bitrate video, and we have several codecs that work well for lower bitrate video.

    Also, MPEG video quality can vary from encoder to encoder. The specs only define the bitstream, and the encoder can do what it wants. This is why there is a huge difference between the quality that Media Cleaner produces versus a multi-chip hardware encoder found in a cable plant.

    --

    (S(SKK)(SKK))(S(SKK)(SKK))

    1. Re:A bit wary by ca1v1n · · Score: 3, Informative

      That's because many codecs have performance tuning parameters built into the encoding standard, like with MPEG. Wavelet-based methods don't need to do this, so their performance tends to scale quite smoothly. More traditional compression techniques may still beat them out at their "sweet spots", but the wavelet methods are very general.

    2. Re:A bit wary by hak1du · · Score: 4, Informative

      Video codecs typically have ``sweet-spots'' for resolution and bitrate.

      Well, if your video compressor has notions of "8x8 blocks" and "16x16 blocks" hardwired into it, that is not exactly surprising. That's the kind of technology that current codecs use.

      If they use wavelets and motion compensation correctly, there is no reason why it shouldn't scale well across a large range of resolutions.

  13. Weird results.. by Anonymous Coward · · Score: 4, Funny

    Looks good, but why are all the male American comedy leads now in drag???

  14. MPEG4? by cybermace5 · · Score: 5, Insightful

    Why would they compare it to MPEG2? In order to impress me, you'll have to compare quality and bitrates with MPEG4.

    --
    ...
    1. Re:MPEG4? by Jameth · · Score: 2, Insightful

      MPEG4 is not that special at very high bitrates. MPEG4 is for low bitrates almost exclusively. This makes for small files which look good enough, but not files which look perfect.

    2. Re:MPEG4? by happyfrogcow · · Score: 4, Informative

      Isn't MPEG2 the standard for TV broadcasts?

    3. Re:MPEG4? by neurojab · · Score: 3, Informative

      >MPEG4 is not that special at very high bitrates. MPEG4 is for low bitrates almost exclusively. This makes for small files which look good enough, but not files which look perfect.

      I've heard that before too, but if you compare an equal-bitrate Mpeg2 with Mpeg4, I think you'll find that Mpeg4 wins. The optimizations were designed for low bitrates, but help at high bitrates as well.

    4. Re:MPEG4? by jo_ham · · Score: 2, Informative

      Yes, for digital TV/Cable/Satellite.

      It is also used for DVD videos, but at a higher bitrate than is possible/normal for TV.

  15. REAL codecs by GeneticFreek · · Score: 5, Informative
    For those who don't like the Real player, you can get the codecs and use Media Player Classic on Windows.

    Check out k-litecodecpack.com.

  16. Re:Another one? by HBPiper · · Score: 3, Informative

    Because this CODEC uses WAVELETS and Wavelet theory is probably one of the most useful tools for working with time varying signals that has been developed. It is especially useful in high quality compression algorithms. Here is a decent background article on Wavelets.

    --
    "I went on a diet, swore off drinking and heavy eating. And in fourteen days, I had lost exactly two weeks. Joe E. Lewis
  17. Re:Xvid? by Anonymous Coward · · Score: 3, Informative

    Who modded this pile of crap as informative?

    From the Xvid FAQ

    What is XviD? XviD is an ISO MPEG-4 compliant video codec. It's no product, it's an open source project which is developed and maintained by lots of people from all over the world.

    And don't get me started on all the other crap, audio? FFS, it's a video codec! You have to include audio an either mp3/ogg/wav/whathaveyou into the stream.

  18. Patent free by Telex4 · · Score: 4, Interesting

    Even more impressive than the codec itself, in my opinion, is that they managed to develop a new video codec without infringing any patents! And given that it's the BBC, I assume they could go to court to defend themselves in prior art.

    Very cool. But then all the engineers in their R&D dept. are apparently very anti software patents, and have been doing their bit writing letters to that effect :-)

    1. Re:Patent free by doc+modulo · · Score: 4, Informative

      Neither the article nor the /. summary said anything about patents.

      The BBC doesn't NEED to worry about patents because software patents don't exist in Europe. Although we're in danger of getting them because of the US and US companies influencing the European commission

      That weird shit only happens in the USA at the moment. Something as good as the BBC is doing would almost certainly be impossible in the US because of patents. When the BBC puts it's public knowledge on the net (wonderful documentaries), it will be illegal to watch/hear that info in the US as soon as a company comes out with a patent infringement claim.

      The only reason the rest of the world worries about software patents is because we want the people in the US to be able to use the software we're making. This might not last, as in the case of the BBC codec.

      I suggest US men-of-action types fix this situation, start with voting good guys/girls into office.

      --
      - -- Truth addict for life.
    2. Re:Patent free by Telex4 · · Score: 2, Informative

      Neither the article nor the /. summary said anything about patents.

      Actually, the article says "Off the top of our heads, its mention of arithmetic coding is worrying, given how patent-encumbered that area is.".

      And having talked to some of the Dirac developers, they did develop it with patents in mind, not only to avoid licensing issues in the US, but also in case we do become lumbered with software patents in Europe.

      In fact, according to testimony at a recent conference in Brussels I attended, an awful lot of small software companies are now filing patents as a defensive measure, both against unsubstantiated threats in Europe (where even going to court to point out the patent is invalid is too expensive) and in case the EU takes the Commission's bait.

      So while I agree with your sentiment that software patents are a bad thing, and that we should use our votes and letter paper to sort it out, it's misleading to suggest we're completely unharmed by them.

  19. Wavelet Theory by Cocodude · · Score: 5, Informative

    I went to a day at the Research and Development facility with the BBC, and saw a demonstration of Dirac.

    It does look quite impressive, and for those who are interested, I believe it works on wavelet theory. Lots of information on this is provided at http://www.wavelet.org/ but I believe its scalable frequency analysis enables significantly better compression than other codecs (typically DCT based?) out there.

    I think.

    1. Re:Wavelet Theory by tepples · · Score: 2, Informative

      As far as Wavelets go, I'm not too sure how much compute power they require to calculate, but I'm assuming they would be more computationally intensive than -say- a FFT (from which the DCT is based).

      Fortunately for implementers, your assumption turns out to be wrong. The wavelet transform is no more computationally complex than any block or lapped Fourier-style analysis.

  20. Re:Xvid? by Jameth · · Score: 2, Troll

    This is total crap. Xvid can be interleaved with audio just fine and is enormously better than just a series of JPEGs.

    The parent is completely full of crap.

  21. BBC Archive by enditallnow · · Score: 5, Interesting

    Did you ever consider that they intend to use this for their plans to put their archives online?

    The poster stated that "It has been further developed to optimise it for internet streaming resolutions" which is one way for such a thing to be distributed. Have a look here. The register states that "The BBC's new media director, Ashley Highfield, said that a P2P network will allow the BBC to handle the volume of traffic it expects when the Internet Media Player (IMP) goes live. The IMP will enable users to download or stream content to their PC, laptop or palmtop computer."

    If this is the case then Aunty Beeb is well underway to providing the tools we will need for accessing their archives.

    -- Enditallnow

  22. Re:what is the bitrate for HDTV? by Kiryat+Malachi · · Score: 3, Informative

    Presumably 24 or 32 bits per pixel, like most video. (8 bits per channel color, 8 bits transparency (optional and normally unused)).

    So:

    1920x1080 = 2073600 pixels per frame * 24 bits/pixel = 49766400 bits per frame * 30 frames per second =

    177.98 megabytes per second, uncompressed.

    --

    ---
    Mod me down, you fucking twits. Go ahead. I dare you.
    (I read with sigs off.)
  23. Patents by Kjella · · Score: 5, Informative

    The source is licence-free, but it is not patent free. Pay MPEG LA or it's illegal. For you and every other individual out there that might not matter, but the BBC couldn't use it without paying.

    Kjella

    --
    Live today, because you never know what tomorrow brings
  24. Re:Duplicating work? No - better colour. by Anonymous Coward · · Score: 4, Funny

    US codecs incorrectly drop a vowel from colour, so a British codec is bound to look better.

  25. My question is... by LilMikey · · Score: 4, Insightful

    How are they going to convince set-top manufacturers to support their codec or conglomerates to broadcast it? It's already been proven a hundred times over the superior and/or open rarely win out to their more profitable brethren. All the article states is there's a 'hint of a chance' of it being adopted by big media...

    --
    LilMikey.com... I'll stop doing it when you sto
    1. Re:My question is... by spotteddog · · Score: 2, Insightful

      MONEY

      They claim to have a process that can cram twice the information in the same bandwidth. If I am broadcasting HDTV (MPEG-2 at 19Mb/s) and I switch, I now have two channels available.

      If I'm a sat. TV company (DirecTV, Dish, etc.) I have doubled my channel capacity without launching any expensive new sats.

      Given that it is free, I'd say they have a good chance of having major players adopt their codec in the near future.

      --
      . there used to be a sig here.....
    2. Re:My question is... by Mr+Smidge · · Score: 2, Informative

      It's a video codec that's:
      * Better at compression that rival codecs.
      * Patent unencumbered (well, software patents in Europe is a separate discussion really).
      * Free.
      * Wavelet-based.
      * Suitable for internet broadcast and HDTV.

      If it's stable, believe me we techies will adopt it very quickly!

  26. Re:BBC = british government by Cocodude · · Score: 5, Informative

    Er, BBC != british government

    It's on sourceforge, and is entirely open. Its licenses, as stated by sourceforge are: GNU General Public License (GPL), GNU Library or Lesser General Public License (LGPL), Mozilla Public License 1.1 (MPL 1.1), so you could hardly say it's 'owned' by the BBC, let alone the british government.

    Cocodude

  27. Duplicating work? Not really. by Ride-My-Rocket · · Score: 5, Insightful

    Seems like a bit of a waste of license payers money when there already a several open source video codecs (eg. Ogg Theora, 3ivx). What does this offer that those don't?

    Does the current work being done on Linux seem like a waste of time and money, when there are already several other operating systems (Windows, Macintosh, Unix) available? And don't try and use the argument "but those are closed source; open source is better!" argument -- in the end, it's just software people use, regardless of the licensing / development model.

    Getting back on-topic: apparently it offers the BBC something that warrants the time, effort and money required to fund such an undertaking. At the very least, it's yet another example of big companies using open-source to reduce costs and/or fulfill their own specific needs, and can only encourage other companies to fund future OSS development efforts.

  28. Great news by ajs318 · · Score: 2, Interesting

    This is really wonderful news. The BBC is sharing its work with the Open Source community - and most of the British Open Source community are BBC TV licence payers.

    I am glad that the BBC has recognised the need for this codec to be Open Source. It means that everyone, not just those beholden to private corporations, will get the chance to experience BBC content. The BBC is also a highly influential body; I would be surprised if other European content providers did not display an interest in this. PAL was a joint development between the BBC and its German counterpart; SUSE is German.

    This is going to be one to watch.

    --
    Je fume. Tu fumes. Nous fûmes!
  29. Re:Xvid? by smu+johnson · · Score: 2, Funny

    hey man

    we were commissioned to be in charge of video archiving for our university and couldn't decide which codec to use to archive the student films and such for our school, let alone what software to use.

    I heard some stuff about xvid, divx, etc, and based on a bit of word of mouth, thought about giving xvid a try. I read your post. I honestly can't believe I was actually about to use xvid for the job. thank god i came across this page. The part that influenced the decision mostly was the +1 informative moderation backing up your facts.

    later man

  30. Here's the True Reason. by osewa77 · · Score: 2, Interesting

    What do companies do when they have products which, though not being best of breed, require huge and increasingly unjustifiable Research and Development funds? They go Open Source! (no, I am not naming names... sap db netscape interbase ...

  31. Re:Another one? by Daltorak · · Score: 5, Funny

    Well, I suppose we could use Microsoft's Windows MediGeneral Protection Fault: Access Violation 0xc0000005 in WMPLAYER.EXE, Rebooting Now ...

    Bah, stupid Windows, let's try Real Player inst[BUFFERING......]ead, I hear it's mu[BUFFERING.........]ch better than it used to b[BUFFERING.........]e!

  32. Re:BBC = british government by Cocodude · · Score: 2, Informative

    I confess to not knowing that much about this topic, but I still don't think you can say the codec is owned by the government. Even if it was, it doesn't really matter being GPLed etc.

    Although it's not an authoritative source, I refer you to this article on Google Groups which states, amongst other things, that "The BBC is run under a Royal Charter, not by the government" and "But it was part of the Government to start with, yes? The BBC was not, and has never been, and will never been part of the British Government."

  33. How do they do it all for free? by tetranz · · Score: 4, Interesting

    I mean all the BBC's services in general. I think I know the answer in assuming that the British people pay for it in tax and TV license fees. That's something I'm grateful for as a New Zealander living in the US. The BBC is a refreshing change to the somewhat mind numbing American news sources.

    My real question to Brits here is: How well is this burden accepted by the British people? Are the BBC TV and radio stations in the UK really non-commercial? I know the US government gives money to PBS and NPR but I don't know how it compares (especially per capita) to what the British government must spend on the BBC. It must cost a fortune and they are effectively supplying (IMHO) a good quality product for free to the rest of the world via internet and shortwave. I imagine some of the international motivation of the BBC stems back to the days of the old empire. It almost seems too good to be true.

    I assume that NPR and others like it around the world pay to carry the program. Maybe that earns a lot.

    This question came up in my mind the other day when the wi-fi radio was mentoned here on /. I definitely want on of those beside my bed when it becomes available. It seems like its the ideal thing for BBC listeners. I wonder if its availbility will significantly increase the load on their servers, all costing real money of course.

    1. Re:How do they do it all for free? by Bloater · · Score: 2

      It probably isn't a burden to the British TV license payer. The BBC gets to sell international broadcast and distribution rights. I believe that the Walking With Dinosaurs series and the Teletubbies paid for themselves several times over - though I may be misinformed, please feel free to correct me.

      This open-source codec could place the BBC in an even better position internationally. It is already considered one of the worlds greatest entertainment, education and news content providers.

      I would like to see them become allowed to create films for commercial purposes provided they pay for themselves - though assessing how much license fees would contribute to be considered to pay for what would have been the BBCs broadcast rights may be an obstacle.

    2. Re:How do they do it all for free? by hbr · · Score: 4, Informative
      We pay about 120 UK pounds ($210 dollars at the current rather extreme exchange rate) per household for the priviledge. This is 10 pounds per month, but it is compulsory for all owners of television equipment (even if they could somehow fix their tuners to disable all BBC channels - on that note, does anyone know how I can fix my tuner to disable ITV2?). A comparison with this cost is the cost of satellite or cable "premium" channels which cost about 30 pounds per month (which makes it seem quite cheap really).

      I presume that the BBC sells its stuff abroad - it also has a number of commercial outlets (videos, etc). Despite not being able to advertise, it relentlessly promotes its own material (which can get quite tiresome and repetitive sometimes).

      Well, speaking as one British person, I'm quite happy to pay the license fee given the alternative. Radio 4 alone has got to be worth it. Of course, there are plenty of people who disagree with me here.

      What I can't understand is that they have the manpower to fund this project, but not to keep the ogg vorbis streams online... (http://support.bbc.co.uk/ogg/)

  34. Re:seems they were ahead of me by Cocodude · · Score: 2, Interesting

    That's interesting. When I visited the R and D centre, they said that WMP streaming had a royalty model which they didn't like. They prefered Real's and gave no hint that they'll be doing WMP soon, but rather concentrate on Dirac. This is of course in an informal demonstration/chat, not official information.

  35. Wavelet artifacts by tepples · · Score: 5, Informative

    Wavelet and DCT based codecs are alike in that they both quantize in the frequency domain and thus tend to have blurring and ringing artifacts. However, wavelet ringing looks more evenly spread-out than DCT ringing and doesn't coincide with a regular 8x8 pixel grid. Compare JPEG and JPEG2000 artifacts.

  36. Re:BBC = british government by Neophytus · · Score: 4, Insightful

    Since the BBC is the media-organ branch of the British government, this means government-owned codecs. Is this a good thing?

    Unlike some of the stateside media organisations the BBC is actually one of the world's most impartial media organisations. I'm not saying they are perfect but some US news bulletins I cann't watch without laughing.

  37. Gotta love Auntie by psyconaut · · Score: 3, Interesting

    I know that the BBC is somewhat of an enigma in broadcasting compared to what we're used to in North America (although some would argue networks like PBS and the Canadian Broadcasting Corporation are somewhat similar)....but I can't help think how utterly cool it is the BBC does this sort of thing. Progressive (no pun intended) stuff like putting their achives online is also really damn cool...not to mention the fact they have *gobs* of content that a traditional broadcaster wouldn't have (I've been taking Welsh language lessons courtesy of the BBC!).

    -psy

  38. Re:what is the bitrate for HDTV? by thisissilly · · Score: 2, Informative

    Except that 1920x1080 is 1080i, or interlaced, where they only send half the lines each frame, so the uncompressed bitrate is half of what you calculated, or around 90 megabytes per second

  39. There's two kinds... by Kjella · · Score: 3, Interesting

    Let's say you compare

    a) 640x360 vid at 1x bandwidth
    b) 640x360 vid at 9x bandwidth
    c) 1920x1080 vid at 9x bandwidth

    a) and c), MPEG4 will win. b) will be much much closer. What you define as "low" bitrates really depends on resolution. The dual-layer DVDs coming now should be able to do full HDTV resolution with somewhat better quality than a 1CD DVDrip. Since 2CD rips typically use 3-400mb on AC3 track, actually not that far away from 2CD rip. But something like 8-10Mbit (aren't they usually 1Mbit today?) is hardly a low-bitrate stream in my opinion...

    Kjella

    --
    Live today, because you never know what tomorrow brings
  40. Let's be clear. by margal · · Score: 2, Interesting

    I was fortunate enough to speak to a BBC employee about the codec at the Linux User & Developer Expo in London.

    For one, MXF and AFF are two wrappers for convential video codecs, which add invaluable meta data to the file.

    Dirac stands out as being a unique codec as it concentrates wavlets, motion compensation and arithmetic coding. This is not your standard codec.

  41. Re:what is the bitrate for HDTV? by thisissilly · · Score: 2

    D'oh! Except you were working with 30fps instead of 60, so you took that into account. Sorry. My bad.

  42. Re:Duplicating work? No - better colour. by mbbac · · Score: 4, Funny

    By removing the superfluous "U" from "colour" and other words, American English has acheived a higher compression ratio than British English.

    --

    mbbac

  43. The BBC patented the codec by geeklawyer · · Score: 5, Interesting
    I spoke to one of the BBC team demonstrating the codec at the London Linuxexpo. They said that the BBC had patented their codec although I was told that they have no real interest in patents. It was said to be a defensive patent whch they implied to me that they would not enforce, however the person I spoke to didnt know the details of the patent or its licencing scheme so it's a little unclear to me how this is going to work.

    They also said that while they had no objection to paying licensing fee's per se, and that they did pay MS and Real, these were so inflexible in their licencing that scaling up operations was problematic. Their expressed hope was that with such a codec widely adopted they could massively scale up operations such as streaming without being crippled with licencing costs, or having the administrative burden of unwieldy licensing schemes.

    --
    -he who laughs last, is a bit slow.
    journal
    1. Re:The BBC patented the codec by JoeBuck · · Score: 3, Interesting

      If they patented the codec but then release an implementation under the GPL, it follows that they are effectively granting anyone permission to, as patent lawyers say, "practice the patent" as long as they do so in a GPL program that is a derivative work of what they released. It would be good of them to say so explicitly, though.

      There are a growing number of GPL-licensed patents now (patents where the owner permits GPL implementations). IBM has done this with a number of their patents.

    2. Re:The BBC patented the codec by geeklawyer · · Score: 2, Interesting
      "If they have no interest in enforcing the patent, then why not simply defensively publish? Once it's published in a public manor, wouldn't that establish inventorship and bar anyone else from patenting?"

      In broad terms, Yes. If you establish the invention as prior art no-one can get a subsequent patent for that exact invention. However there are important technical catches in patent application procedure in relation to timing of the disclosure compared to any patent application; so it may not work in some circumstances.
      Also, someone may patent an improvement in your invention: it would be unpleasant if the BBC gave Microsoft a head start - however that would also be so for an offensive patent or by an examination of any non patented Free software.

      --
      -he who laughs last, is a bit slow.
      journal
  44. British jails filled with BBC scofflaws? by AtariAmarok · · Score: 2, Funny
    "Many languish in jail who cannot afford to pay this 'license fee'."

    Do you have any information about how many Britons are languishing in prisons for not paying the license fee? I did not know it was that serious. As Amnesty International written a report on this?

    --
    Don't blame Durga. I voted for Centauri.
  45. Background by ChaoticCoyote · · Score: 4, Interesting

    A matter of disclaimer: I've done some work on Dirac, for BBC, over the last several months. Here's a bit of background on Dirac:

    By nature, Dirac has many similarities to existing algorithms such and MPEG-2 and H.264/AVC -- however, Dirac is an original invention that uses wavelet transforms, arithmetic encoding, rate-distortion optimization, variable block-size motion compensation, and hierarchical motion estimation in some new and unique ways. Again, this is a research project, so there's much experimentation to be done!

    As a research project, Dirac continues to be analyzed, optimized, and documented. What you're seeing now is very preliminary code; I suspect it will improve and evolve dramatically in the coming months, both in terms of clarity and functionality. The goal is to produce a universal codec, which is one reason behind the open source move.

    The codec source code is licensed under dual MPL/GPL licenses.

    Dirac is modular, and thus well-suited to implementation with an object-oriented programming language. The reference engine is written in ISO Standard C++, and has been tested under various forms of 32- and 64-bit Linux, as well as under Windows 2000/XP.

    I'll try to answer questions here, to the best of my ability.

    1. Re:Background by ChaoticCoyote · · Score: 3, Informative

      Will Dirac run under OS X?

      It should, but not having tested it on an OS X system leaves me hesitant to make an absolute promises. I don't know of anything in the codec that precludes it's working on OS X.

      The code compiles with GCC, and the current encoder and decoder are command-line applications. As time goes on, I suspect Dirac will gain user interfaces and connections to most popular operating systems and video applications -- including OS X.

    2. Re:Background by ChaoticCoyote · · Score: 2, Interesting
      Is the BBC going to present SMPTE a draft standard for carrying Dirac essence in an MXF container?

      Or does it map into an MPEG-2 transport stream or they will use OP-ATOM for wrapping in MXF or something like that?

      Those very issues are currently under consideration. I'd be interested in hearing opinions on the matter.

    3. Re:Background by ChaoticCoyote · · Score: 4, Interesting

      Real-time encoding is one goal, but probably not our first target. I believe it will be possible, especially with parallelisation for multi-processor workstations.

      As for patents: I am not a lawyer, nor do I play one on Slashdot. I do not speak for BBC in any way; I'm just answering questions because everyone in Britain is home eating dinner at the moment.

      It's a very tricky world out there right now. Arithmetic coding can be implemented without hitting patents, I believe -- and the modular design of Dirac should allow a different coding scheme -- say, Huffman -- to be implemented if patents become an issue.

  46. Is this named after the same Dirac? by DrewBeavis · · Score: 2, Interesting
    http://www-gap.dcs.st-and.ac.uk/~history/Mathemati cians/Dirac.html

    We have a library named after him here at Florida State University. Is this the same guy?

  47. source code quality by hak1du · · Score: 2, Insightful

    Perhaps even more impressive than the improved bit rates is that the source code actually looks competently written and is small. It also seems to use C++ in a reasonable way: to achieve just around the right amount of abstraction, without building a useless, general framework.

    1. Re:source code quality by ChaoticCoyote · · Score: 4, Insightful

      The framework is changing as we profile and analyze the code.

      Speaking for myself (independent of Dirac), the best C++ code is the simplest code. Just because a feature exists doesn't mean it must be used -- and conversely, just because a feature can be used poorly doesn't mean it should never be used. The goal is to use the right C++ features for the job, and avoid become lost in a nest of complex classes and templates.

      There's nothing about Dirac, BTW, that requires C++, or even object-oriented programming.

  48. Re:great now when I download a fansub by Anonymous Coward · · Score: 2, Informative

    You sir, have betrayed your ignorance and stupidity with your comment. Extensions do not a codec indicate. A .avi can use DivX, Xvid, Indeo, or any of another number of codecs. each of those codecs can also be used in a .ogm or a .mkv (and Xvid is NOT short for Xvideo, that's a completely different bit of technology related to X11) A .avi merely shows the format the audio/video is stored in. (eg: it's a container) A .ogm stores them a different way than a .avi (and .ogm/.mkv can handle more types of media than a .avi, multiple subtitles and audio streams that can be switched through during playback, depending on your media player) A Matroska (.mkv) file can even have DVD-style menus(although I'm not certain that the tools have been released for that yet, but the format is extendable and does support it)...

  49. The BBC's digital service is massive by tinla · · Score: 4, Informative



    Many people, esp our american friends, many not be familar with the sheer scale of the BBC's operation. There is a lot of dressing applied to their funding but in essence almost every UK home pays a BBC tax, giving them vast cash funds and allowing them to take a 'long term' view to development.

    This is very unpopular with their competition. People like Sky (NewsCorp) and ITV ('free' UK advert funded network tv) have no means of building the digital services the BBC have. Lets face it - both buy in a lot of programming from the US and that doesn't work well online.

    At a recent LINX meeting (a meeting of all the major UK ISPs and many of the major european ISPs) where the BBC gave a presentation about their 'Summer of sports' coverage. They are predicting up to 12Gbps (yes Gigabits) leaving their network during the olympics. This is a huge undertaking and requires them to put Gbps direct connections into the major UK ISPs such as BT. Without private peering of this type the BBC couldn't cope, LINX couldn't cope, the target ISP couldn't cope, it'd be meltdown all round. Their presentation was aimed at heading off a potential doom of them DOSing a major ISP into the ground.

    They're using Real at the moment. If they eventually move to an open codec the it will become a MAJOR player overnight. A national broadcaster using a codec to pump out Gigabits per second of content is the only case study/endorsement needed.

    I've not spoken to the techs pushing this within the BBC but the feeling I have from whitepapers, presentations and rumour are:

    - they need to be pragmatic. Its public money they're spending and the solution has to work. Currently the only solutions that work are propeirtary codecs.

    - They are under attack from the competition, who want to cut off their r&d funding which they see as unfair.

    - The intend to share their technology and want to grow the stability and performance through sharing things with their peers.

    For BBC network info (and a boatload of mrtg goodness) visit the ever popular support pages

    --
    0daymeme.com: Great stuff.
  50. Re:Yes - UK government subsidizes BBC by mpk · · Score: 4, Informative

    The BBC is not a part of the government, nor is it owned by or controlled by the government. While the BBC World Service is funded by an annual grant-in-aid from the Foreign Office, they have no editorial control (and the World Service is financially seperate from the rest of the corporation). The BBC has no shareholders.

    The BBC is legally a corporation established by Royal Charter and operates under strict rules of editorial independence and public service, which means that almost uniquely among broadcasters its job is to deliver programmes to audiences, rather than audience eyeballs to advertisers.

    In order to receive television broadcasts in the UK it's necessary to have a television licence (see the Wireless Telegraphy Act 1949 for details - in the old days you needed a licence for a radio as well, but no more). This isn't a tax, and the BBC isn't funded out of general taxation - it's a simple deal that if you want to watch television, you need a TV licence. The money from the TV licence goes to the BBC. In addition, the BBC makes a lot of money from the sale of programmes overseas and from various other commercial enterprises (magazines, DVDs, whatever). This money goes back into the BBC - there aren't any shareholders to be paid, just more programmes to be made.

    If you ask me, just under a tenner a month is a bargain for what it means - some of the best quality television in the world, a bunch of excellent radio stations and value-added stuff like news.bbc.co.uk. And what the TV licence means most of all is that all this stuff goes out without commercials and without commercial or political considerations. The BBC's editorial independence regularly lands it in hot water with governments who don't like it broadcasting certain things ("Maggie's Militant Tendency", the whole Hutton business). There's a lot of stuff which would never have appeared anywhere else as the BBC can actually take risks rather than just always following the path of maximum guaranteed commercial gain.

    Having recently taken a trip to the USA and tried watching television there, I really started to appreciate just how important the BBC is. Bite-size chunks of advertiser-friendly blandovision split up into five minute segments interspersed with huge amounts of commercials don't seem to educate, entertain and inform very much.

    Ultimately, nobody is forcing you to pay the television licence fee unless you have a television. If you don't want to have to get a licence, the choice to not own a television is available to you!

  51. Re:what is the bitrate for HDTV? by 1337_h4x0r · · Score: 2, Informative

    Thats incorrect - 1080i is sent at 60i, which means 60 interlaced frames per second. The frame rate is still 30, it just comes in 2 parts. So the 177 megabyte figure is correct.

  52. Re:seems they were ahead of me by displaced80 · · Score: 2, Interesting

    Your post sums things up quite well. Because we all pay for it, they have a duty to make sure it's available to all.

    And that duty's not just 'something they should do to be nice', it's the law -- the Royal Charter and Agreement which the BBC operates under makes this clear.

    Incidentally, the BBC are pretty big Linux/F/OSS proponents. Their entire BBC Interactive digital service is run from Linux systems. There are some very clever folk at the Beeb, used to 'rolling their own' technologies. I'd imagine something like Linux is the perfect tool to do this kinda stuff with. They've got vast amounts of in-house software and hardware which they've developed over the best part of a century.

    Anyone else remember the BBC Micro? They, and the Open University have to take quite a significant amount of credit for kick-starting interest in computing in the UK during the late 70's and early 80's.

    Incidentally, the Open University, whose course materials BBC 2 broadcast nationally and for free, is a fantastic organisation. Like the BBC, it was founded by Royal Charter, and is another example of how something spawned by government need not be tethered to it. It's been a highly respected institution from which to graduate for decades. Here's some info

    --
    What's the frequency, Kenneth?
  53. Re:UK to US shows and back again by 91degrees · · Score: 2, Interesting

    Don't forget that "Friends" US --> UK "Coupling".

    Not really. Friends is about... well, friends,and Coupleing is about coupling. Yes, the format has obvious similarities, but the the characters are different, the type of humour is different, the relationships are all different.

    There was a made-in-the-US version of "Red Dwarf"? Did not know that.

    They tried twice. Two pilots. Actually, according to one of the writers the second pilot was great until the studios got their hands on it.

    Here are two extremely successful UK to US sitcom adaptations:

    I was not aware of those. I stand corrected. Perhaps it's just a recent thing that they've been oversanitising them, or something.

  54. Re:Some questions by ChaoticCoyote · · Score: 2, Informative
    Has the Dirac bitstream been locked down, or is that still in development?

    It's still in development.

    How parallelizable are the encoders and/or decoders?

    In the end, they will be parallelised; I'm doing the analysis and design work right now. I'm a big believer in parallel code; just this week, AMD annouced that their dual-core Opterons will be drop-in replacements for current single-core Opterons. Parallel is the future.

    Is it implementable entirely via integer math like AVC, or are there floating point operations required like in MPEG-2?

    Some of both. We're doing some profiling with different implementations to find out what works best. This is one joy of working on a research projects -- we can do research!

    Is there support for lossless encoding? 10-bit per channel?

    I don't know. The entropy encoding is lossless, but that's after quantisation which is lossy, I believe. Motion estimation/compensation is also lossy.

    Does it have per-block interlace mode switching like MPEG-2?

    Not at this time.

    Anything else about it you could share with a codec nerd?

    I've done a lot of past work with data compression and wavelet analysis of photos, and Dirac has been a fascinating experience for me. My expertise is more on the optimisation/parallelisation/UI side of the coin; the theoretical work and algorithm design is the province of some very bright mathematicians and DSP experts at BBC.

  55. Re:Duplicating work? No - better colour. by shut_up_man · · Score: 2, Funny

    This is known as lossy compression.

  56. Re:Where do you get this content? by Anonymous Coward · · Score: 2, Informative

    The BBC Broadband content is available to all ISPs that are peered with the BBC at LINX. The BBC are happy to peer so that they don't need to pay bandwidth charges. Complain to your ISP if they don't provide it. The URL is below.

    http://www.bbc.co.uk/broadband/

  57. That was on display at the linux user show. by oolon · · Score: 2, Interesting

    Water looked alot better, still had some problems with key frames ghosting arround sharp edges the picture improved after a few deltas. It was pretty neat however sound is still a problem ogg is not high fi enough so they are going to license something.

    James

  58. Dirac welcome to work with 100% open Helix Player by kforeman · · Score: 2, Interesting

    Guys, as you may know we are busy building the world best 100% open source media player, called the Helix Player (https://player.helixcommunity.org). We welcome all open source codecs and formats, including Dirac.

    Secondly, this summer we will be releasing the RealPlayer 10 for Linux, which is built on top the Helix Player and includes the non-open source components of MP3, MPEG4, Flash, and RealAudio and RealVideo.

    Both the Helix Player and RealPlayer 10 have a Mozilla plug-in and are going to be a major no cost update for your current RealPlayer 8.

    --
    Kevin Foreman
  59. Seek granularity / CPU load by DarkMan · · Score: 2, Informative

    One of the biggest differences between MPEG4 and MPEG2 codecs is the seek times - that's the time between keyframes or I-frames (same thing, different terms).

    The typcial keyframe rate in MPEG4 stuff is around 8-10 seconds. In MPEG2 it tends to be around 2-5 ms, which is about as good as the eye gets, apparently. So, if you watch it from start to finish, that's fine - but if you want to do anything non-linear, MPEG2 gives a good win.

    In terms of broadcasting, you need to add the seek time onto the total 'tune in to pictures' latency. Remember that this is applied everytime that you change channel, and it's pretty clear that 8-10 seconds is way too much.

    Also, MPEG4 is a much more complex beast, with things like motion compensation much greater than MPEG2. This is where MPEG2 wins ove MPEG4. Consider a slowly panning camera, over a scene that changes slowly, with a foreground object - think left to right pan over a nature scene with birds and gentle breeze, with the presenter in the foreground. In the low bandwidth limit, MPEG4 will approximate this to a static background, and just move it. However, as the bandwidth improves, it uses this a baseline, and records deltas to it. In the high bandwidth limit, it can be seen that this is a lot more work than just recordsing the background as a much simpler object, rather than all the moving, and altering. Doing it the way that works at low bandidth is actually more expensive, then, for the high bandwidth situation. MPEG4 _can_ drop all that, and just to it the simple way (as MPEG2 would do), but doesn't have to.

    There are many more, similar, examples. The short answear is that if you set the keyframe interval short, and give it lots of bandwidth, MPEG4 can be as good as MPEG2 - but can also be much worse (in terms of picture quality vs bandwidth, and CPU required). MPEG2 is a lot more dependable in this case. Plus, if you set the keyframe intervals to match, I have a sneaky feeling that MPEG2 will have a slight win here.

  60. What? by Ayanami+Rei · · Score: 2, Informative

    That's bullshit.
    You do the exact same number of fetches, adds and stores. Just different coefficients and different strides. Your neighborhood of fetches will be about the same, so cache usage should be about similar.

    Wavelets are slower mostly because people haven't had years to fiund all the clever tricks (SIMD instructions on various targets, DFT->FFT-like optimizations for popular wavelets)

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  61. MPEG2 keyframes by achurch · · Score: 3, Informative

    The typcial keyframe rate in MPEG4 stuff is around 8-10 seconds. In MPEG2 it tends to be around 2-5 ms

    Seeing as how one frame is 1/25 (0.04) or 1.001/30 (0.03) seconds depending on which part of the world you live in, 0.005 is just plain impossible. At least as far as DVDs go, MPEG2 keyframe intervals are usually 12-18 frames, which works out to 0.4-0.6 seconds for NTSC--still a lot less than MPEG4.