More On The BBC's Codec 'Dirac'
TioHoltzman writes "El Reg is reporting about a new codec that is built on top of wavelet technology and seems to offer performance that is "roughly in line with the Video Codec 9" from Microsoft. The project has been released as open source on SourceForge. This looks like it might be really interesting." (Previously mentioned a few weeks back.)
The Sourceforge page says that Dirac uses arithmetic coding. Aren't there patents on arithmetic coding? I thought that was the problem with using JBIG for bilevel images, and why most free compressors use Huffman coding or the like.
Last time I checked, wavelet compression methods were burdened by many patents: google search. What does that mean for users of the codec?
"I love my job, but I hate talking to people like you" (Freddie Mercury)
Call me a zealot, but I think things are better off open source, doubly so in the case of codecs. I mean, it's a media encapsulation. If a codec is open, then the potential for cross-platform success is much better. Potential for profit may go down, but I'm talking innovation, not wallets.
Only the purest of souls seek enlightenment. Everyone else just wants power.
Does adding a little note saying "we covered this a few weeks ago" always get the editors off the hook for posting the same article twice? ;)
i hate to state the obvious, but this could be good for open source, that is having a big name such as the BBC behind it, it should also mean that linux (and other non MS OSs) could be able to use anything the bbc develop/publish with it, cross platform content on demand anyone?)
This type of performance is roughly in line with the Video Codec 9 which Microsoft uses in its Windows Media Player and only slightly less than the H.264 international standard.
So what methods do these other compressions algorithms employ? I couldn't figure it out from google. It seemed as though H.264 was related to mpeg4? Also, is there a rough guess as to how effective wavelets will be when they're better developed?
Am I the only one who thinks that Dirac sounds like some sort of monster from the Dr. Who series?
BLING BLING. Meet the architecture that's changing everything.
BBC to Put Entire Radio & TV Archive Online
Spam Vikings await.
Open video codec...
carnivore...
open video codec...
carnivore...
I wonder which cost more
as for wavelet compression being a novel codec, what about apple's pixlet technology?
Some drink at the fountain of knowledge. Others just gargle.
This is from 1998.
http://www.seyboldreports.com/SRIP/wavelet/
steveha
lf(1): it's like ls(1) but sorts filenames by extension, tersely
Regardless of patents etc. it doesn't matter that there is something as good as a Microsoft codec. Unless there is a perceived advantage, unfortunately it isn't going to become widely adopted because the huge mass marketing machine that is Microsoft is pushing its technology and making it the easy to use default.
You only have to look at Mozilla/Firebird which have finally matured into reasonably solid stable products. Netscape innovated, then lost market share and IE got a foothold. Now it doesn't matter to most companies that there is once again a good alternative in Mozilla because it only has a small marketshare. In the case of MP3, it took more of a foothold earlier on but we're already seeing movement towards proprietary formats.
The only way that the open source community is going to do well here is to provide a single coherent product without branches that is trivial to install and use for the average non-technical computer user. Unfortunately the very nature of open source and free software makes this difficult, because you have to reach a consensus amongst a diverse range of very intelligent people with very different politcal agendas. Choosing a single united front is a huge challenge.
Forget the codec for a moment. If I want to install the latest client operating system from Microsoft there is only 1. (This is the ideal - I know we've had Me/98/XP running concurrently but that's still only 3). How many Linux distributions exist - each version with its quirks and styles. It may be fantastic from the point of view of evolution of the software. Its not going to get users switching over.
These posts express my own personal views, not those of my employer
I think I recall correctly that the ogg is just a trnsport to carry any typoe of codec so this makes perfect sense in my humble opinion
Many many people do not understand how the government can tax a TV set, and I can admit I am somtimes in that crowd, but let us alos recognize that the Beeb is perhaps the most important source of news, regardless of how they get it to you, and more ways is better, that exists on this insane mudball today. I hope that whatever the Beeb does is a huge success. It has to be. Or the sky will fall & crush us all to death. Taht I am not kidding about......Bush just thanked Rumsfeld for torturing people. Up is down & down is up. And Amerikans are mostly OK with this.
We already do. It's called XviD.
#include "sig.h"
But the BBC isn't the government - it's public service broadcasting at its best (though it's not as good as it might be, since it feels the need to justify the license fee by playing the ratings game and filling the schedule with mindless drivel). The BBC has been at the forefront of broadcast engineering development since the 1920s, and I'm happy to see them contributing to the world once more.
And the top rate of income tax over here isn't 50%, it's 40% - I wish it was 50% for high earners, then perhaps they'd have less disposable income to push house prices beyond the reach of the rest of us.
oh brave new world, that has such people in it!
There are lots of great or just good enough codecs out there. Having an open source codec would be great, but the biggest problem today is not getting the best/freest codec but instead is making it available from the average browser. From a practical point of view, it might be more worthwhile resigning oneself and exerting effort to make common formats (Windows, Quicktime) work well from a Linux computer (from my understanding the Mplayer plugin won't stream Windows/Quicktime).
Not that this type of research should be discontinued, of course, but from the numerous projects I've been involved in that used streaming media, common availability was the biggest problem... we often had to produce video for Windows, Quicktime and Real. There are some environments (technophobes, corporations, and government) where you can't install a new plugin.
In fact I think a Java based media streaming applet might be a great solution, since Java has pretty good saturation (although *sigh* there is no entirely free software or open source Java implementation at this moment).
(This is an excerpt from the book 'Surely You're Joking, Mr. Feynman!' and is for everyone here who has, or hasn't, heard of Paul Adrien Maurice Dirac, the namesake of this new codec. It also conveniently fits in with the two articles about Japan that made their way onto Slashdot today.)
..."
While in Kyoto I tried to learn Japanese with a vengeance. I worked much harder at it, and got to a point where I could go around in taxis and do things. I took lessons from a Japanese man every day for an hour.
One day he was teaching me the word for "see." "All right," he said. "You want to say, 'May I see your garden?' What do you say?"
I made up a sentence with the word that I had just learned.
"No, no!" he said. "When you say to someone, 'Would you like to see my garden?' you use the first 'see.' But when you want to see someone else's garden, you must use another 'see,' which is more polite."
"Would you like to glance at my lousy garden?" is essentially what you're saying in the first case, but when you want to look at the other fella's garden, you have to say something like "May I observe your gorgeous garden?" So there's two different words you have to use.
Then he gave me another one: "You go to a temple and you want to look at the gardens
I made up a sentence, this time with the polite "see."
"No, no!" he said. "In the temple, the gardens are much more elegant. So you have to say something that would be equivalent to 'May I hang my eyes on your most exquisite gardens?'"
Three or four different words for one idea, because when I'm doing it, it's miserable; when you're doing it, it's elegant.
I was learning Japanese mainly for technical things, so I decided to check if this same problem existed among the scientists.
At the institute the next day, I said to the guys in the office, "How would I say in Japanese, 'I solve the Dirac equation'?"
They said such-and-so.
"OK. Now I want to say, 'Would you solve the Dirac equation?' -- how do I say that?"
"Well, you have to use a different word for 'solve,'" they say.
"Why?" I protested. "When I solve it, I do the same damn thing as when you solve it!"
"Well, yes, but it's a different word -- it's more polite."
I gave up. I decided that wasn't the language for me, and stopped learning Japanese.
Nothing to do with the government. The BBC is granted a charter from Parliment, but is not government run or funded. The BBc is funded by a compulsory license fee for owning equipment capable of recieving and decoding their broadcasts such as a TV or tuner card. Basically it's a tax on virtually every household and business in the UK. There is a discount for black & white TV's, pensioners and those with vision based disabilities. In the 'old days' you used to need a 'wireless licence' as well for radios!
Pixlet is designed for real-time editing, so it has minimal artifacts and no interframe compression. Dirac is for broadcast, so it is much more agressive about compression and can take advantage of motion compensation and other computationally expensive compression techniques.
You are right, however, that wavelets are not at all a new compression technology. People started playing with it at least 10 years ago and JPEG-2000 uses wavelets for still photo compression. I think that the computational load has prevented their use in video until recently.
Paul Adrien Maurice Dirac.
Comparing it to Windows will be a moot point, since El Dorado is going to have a 40% larger code base than XP.
So, can anyone explain how one might use Dirac? Does it plug into transcode? Mplayer? Any other kind of Linux player, DVD ripper, or streaming server/client?
mplayer plugin plays whatever mplayer plays. and mplayer plays quicktimei have been watching apple trailers for quite some time
BSD is for people who love UNIX. Linux is for those who hate Microsoft.
The great thing about wavelets is how they work at arbitrary resolution without much of a performance hit. Edges look like edges. Since you can basically make a general description of an image and just keep adding more detailed wavelets until you've got the compression/quality ratio you're looking for, and you can define quality however you'd like. One of the ideas for JPEG2000 is to have a field in image tags to specify how much of the image a browser should download, so you'd only have to keep one copy on the server. (By the way, where the hell is JPEG2000?)
The above just takes advantage of spatial similarity (if a pixel is one color, it's neighbors are probably similar), but you can also take advantage of temporal similarity (if a pixel is one color in this frame, it's probably a similar color in the next one). You can also do motion compression, though when you get to that level of optimization you generally lose the symmetry between sender and receiver resource consumption. Of course, that might just be another CS dissertation away.
WARNING: there is a trojan on your
There are lots of great or just good enough codecs out there. Having an open source codec would be great, but the biggest problem today is not getting the best/freest codec but instead is making it available from the average browser.
Yes, and why are so few codecs available? Two reasons: (1) most codecs out there are a software engineering mess and hence hard to integrate into anything, and (2) most of them are heavily covered by patents and copyrights so people can't just write a plug-in and distribute it.
Something like Dirac holds the promise of letting people create simple, self-contained, freely distributable players that either play stand-alone or can be easily plugged into browsers. Furthermore, the same is true for encoders, allowing people to create content more easily.
And, unlike MPEG encoders, which have lots of weird parameters and flags, Dirac looks like it is simple enough that making high-quality encodings does not require a Ph.D.
In fact I think a Java based media streaming applet might be a great solution, since Java has pretty good saturation (although *sigh* there is no entirely free software or open source Java implementation at this moment).
Well, even there, a simpler format can help: something like Dirac is probably a whole lot easier to re-implement in Java than something like MPEG4.
Please don't ever again say the words "wavelet technology," it sounds retarded--it might make someone want to introduce some "fist technology" to your "face technology."
The BBC hasn't been a monopoly since 1955, and no, it's not a function of Government, there is no minister for the BBC nor is there a chain of command within government in charge of managing the Beeb. We have agencies, lots of them, but the BBC isn't amongst them.
It's an independent public body incorporated via a Royal Charter. Just because it appears soft-left doesn't mean this is encouraged or engineered by Government, it's much to their annoyance in fact, take the Dr. Kelly affair or their war coverage from last year for example.
The general method of detection is that they send you a letter if you haven't bought a licence for your house, such as when the previous owner moves out and takes their licence with them.
It's at that point where you buy a licence, or tell them you don't own a TV.
Obviously, I've never tried this personally, but scuttlebutt (and TV adverts) indicate they send someone out to your house to see if you really don't have a TV. If you're muppet enough to have your TV visible from the road when you're using it, then expect a nastygram threatening (civil) court proceedings. Up to 400 quid fine, I believe.
If you refuse to let them in (which you can do of course, they won't have a warrant), and they still suspect you of having a TV (aerial or satdish on the roof, for example) then they can send a TV detector van.
Theoretically, an operating TV also acts as a low power transmitter which can be picked up with a close range directional aerial. Vans wandering through the street looking for non-payers is a myth - they have to sit right outside your house with a directional aerial looking for the signal. I've never seen one personally.
Note, you can't go to jail for not paying and getting caught. It's a civil offence, not a criminal one. It's a bit like getting caught for not paying your road tax...
Remember kids, it's all fun and games until someone commits wholesale galactic genocide.
The BBC is a quasi-autonomous non-governmental organisation (QUANGO). IIRC they are empowered by their royal charter to collect the licence fee, which in theory is the source of all tax raising powers in the UK. The board of governors are appointed by the government and are charged with serving the interests of the viewers, and maintaining editorial independence. On of their duties as laid out in the charter is to perform R+D in line with their overall obligations.
http://www.bbc.co.uk/info/policies/charter/
You can't win Darth. If you mod me down, I shall become more powerful than you could possibly imagine