Slashdot Mirror


Money For Nothing and the Codecs For Free

Davis Freeberg writes "In an in depth discussion on the codec industry, CoreCodec CEO and Matroska Foundation board member Dan Marlin shares his thoughts on the growing popularity of the MKV container, confusion in the marketplace between X.264/MKV and DivXHD and weighs in on a controversial decision by Microsoft to block third party filter support in future versions of Windows media player. His interview offers a behind the scenes look at an important piece of technology that is helping to power the P2P movement. It also raises the prickly question of whether or not Microsoft is abusing their OS monopoly, in order to rein in competition within the codec industry."

34 of 206 comments (clear)

  1. More on Streaming? Interview? by eldavojohn · · Score: 5, Interesting
    From their goals:
    • creating a modern, flexible, extensible, cross-platform multimedia container format;
    • developing robust streaming support;
    • developing a menu system similar to that of DVDs based on EBML;
    • developing a set of tools for the creation and editing of Matroska files;
    • developing libraries that can be used to allow developers to add Matroska support to their applications;
    • working with hardware manufacturers to include Matroska support in embedded multimedia devices;
    • working to provide native Matroska support in various operating systems.

    I would have liked to hear more on how he plans to break into the streaming market when everyone is going proprietary on that for the sake of DRM. He mentions it briefly but does he have any definite plans?

    Davis Freeberg, if you're reading this could you introduce Marlin to the editors for a Slashdot Interview? I can think of a lot things to ask him as I'm sure other users could ...

    --
    My work here is dung.
  2. Hack by rodrigoandrade · · Score: 2, Insightful

    I'm sure devs will figure out a way to run 3rd party codecs on Win7 and future Windows.

    BTW, ts TFA just FUD or a guy promoting his own agenda??

    1. Re:Hack by harryandthehenderson · · Score: 4, Informative

      I think that if VLC runs on windows 7, 3rd party codecs will too.

      VLC doesn't use external codecs. It uses the libavcodec library for playback. A completely different situation from that of CoreAVC which is an external directshow decoder.

      However, Microsoft is making the new versions of media player less useful by not playing 3rd party codecs.

      Well it can, it just requires some registry tweaks.

    2. Re:Hack by eldavojohn · · Score: 5, Insightful

      BTW, ts TFA just FUD or a guy promoting his own agenda??

      He's probably disappointed that Microsoft won't license his codec from him and pay him lots of money for lots of installs that will rarely use it.

      Wow, am I the only person that read the article? From Matroska's Wikipedia entry:

      Matroska is an open standards project. This means it is free to use, and that the technical specifications describing the bit stream are open to anybody, including companies that would like to support it in their products. The source code of the libraries developed by the Matroska Development Team is licensed under GNU LGPL. In addition to that, there are also free parsing and playback libraries available under the BSD license, for proprietary hardware and software adoption.

      The only thing this guy's guilty of is trying to get everyone to use his LGPL developed stuff and lamenting on DRM and proprietary crap they have to deal with. Get off his back.

      --
      My work here is dung.
    3. Re:Hack by harryandthehenderson · · Score: 3, Informative

      Except that the CoreAVC codec, the CorePlayer, the two main products of CoreCodec, and their media splitter that is bundled with the CoreAVC codec are proprietary software. This isn't some open source project being squelched by Microsoft. It's a proprietary software vendor who is mad that Microsoft is obsoleting his company's products.

    4. Re:Hack by harryandthehenderson · · Score: 4, Insightful

      Matroska is a container format that has existed for many years before CoreCodec co-opted it. The issue at heart for this topic though is about their proprietary DirectShow codec CoreAVC which will be obsoleted by the Windows Media Foundation which is why the company is whining and in arms.

    5. Re:Hack by Maxo-Texas · · Score: 3, Interesting

      Interesting... one solution to the DRM problem is to make older codecs obsolete so no one can play the content that has gotten out into the wild.

      Continuous obsolescence in hardware and software is the goal since then every time they release a new version, everyone has to buy it. So they can release new versions more often.

      There are tools and appliances made -- out of steel, in the 1980's that are just now broken. Replacements for them break much faster (Hot water heaters, stoves, gas dryers are good examples-- google whirlpool appliances at home depot and lowes-- lots of angry people- even after market warranties didn't help them).

      Likewise, there are software tools written in the 80's that still work today. Cobol, C utilities like Grep, Awk, etc. Meanwhile, our visual basic application is obsolete after 5 years. The business is risking complete failure by putting off replacing it since writing a new version in the language du jour is going to cost a lot.

      --
      She was like chocolate when she drank... semi-sweet at first and then increasingly bitter.
    6. Re:Hack by harryandthehenderson · · Score: 2, Interesting

      Have you ever used CoreAVC?

      Yeah. It was okay.

      This is the codec to use on Windows to play H.264 - its performance is unmatched and allows for 1080p playback on some surprisingly weak hardware, where e.g. ffmpeg doesn't even come close.

      And my hardware-enabled H.264 decoding video card does better and I don't have to buy any extra codecs. And the hardware decoding works on Linux with ffmpeg/mplayer as well through the VPDAU framework.

      And in its recent versions, it even (finally) makes use of CUDA in nVidia GPUs, lowering the CPU load by quite a bit again.

      Wow so after 2 years of promising they finally got hardware decoding when there have already been hardware-enabled H.264 decoders already for quite some time both on Windows and more recently for Linux.

      And it is absolutely decently priced

      Or I could just use my free version of mplayer with VPDAU and not pay anything and get better performance.

      Also: Does Microsoft even ship a H.264 codec?

      In Windows 7 they do which is why CoreCodec is up in arms over the whole Media Foundation situation.

    7. Re:Hack by DigitAl56K · · Score: 3, Insightful

      Microsoft is not "obsoleting" products. They are providing their own solutions, which are in some cases inferior to competing solutions (performance, acceleration, features, quality), and:

      * Preventing WMP/MCE using competing solutions whereas all previous versions of WMP were more open
      * Changing the way DirectShow works so that without a custom graph builder third-party DirectShow applications will now also prefer Microsoft decoders for certain formats over any other regardless of filter merits

      This in place of, for example, better designing their new media architecture (media foundation) to allow easy management of what gets used via API/UI as a solution to the problem.

      It's a proprietary software vendor who is mad that Microsoft is obsoleting his company's products.

      Even if that was true, there's a reason that product bundling is contentious and why Microsoft has been on the wrong end of various anti-trust cases. Maybe promoting consumer choice is less important these days? The MSDN documentation, and registry keys (yet unfilled) in the Windows 7 RC also imply that in addition to preferring filters they can also blacklist others so that intelligent connect will ignore them. Let's hope we don't see to much of that and only for good reason.

    8. Re:Hack by atamido · · Score: 4, Informative

      Matroska is a container format that has existed for many years before CoreCodec co-opted it.

      Speaking as someone that was involved with Matroska development from the beginning, and as someone that is not a member of CoreCodec, I just want to clarify this. Members of CoreCodec were actively involved in the development and PR of Matroska from the beginning. I don't know of any of the original Matroska development members that oppose what CC has done, and it seems that many actively support the actions of CC in regard to Matroska.

      It's been my impression that Dan Marlin has, from the start, been supportive of Matroska as a way to make the world of video "right". Business decisions and plans that leverage Matroska seemed to come afterward, such that the involvement Matroska was never directly dependent on a successful business model.

    9. Re:Hack by tdelaney · · Score: 2, Informative

      There are a couple of big advantages to CoreAVC's CUDA implementation that you may be unaware of:

      1. It supports a wider range of h.264 files than MPC-HC, PowerDVD, etc with hardware offloading. In particular, it supports up to 16 reference frames. Now, in theory this shouldn't be an issue, because people should be encoding their files appropriately for use with DxVA, but many are not.

      2. It allows post-processing of the video on the CPU. With DxVA, the codec has to connect directly to the renderer - MPC-HC allows some post-processing with shaders, but you're very limited. With CoreAVC, you can do whatever you like with the output before connecting it to the renderer - for example, doing post-processing with ffdshow-tryouts.

      One area where CoreAVC shines is transcoding. Say you've got a quad-core machine, with an 8400GS (i.e. my server). Transcoding a Blu-Ray (crop black bars, apply higher compression with minimal reduction in quality) will happily use all 4 cores. Unfortunately, some of that time is being used to decode the original video. Use CoreAVC and nearly all the decoding is offloaded to the video card, meaning that your transcode will take less time.

      I'm not going to address VDPAU, because my own experience of it (with XBMC) is mixed - it does an excellent job, except it won't display embedded subtitles from Matroska containers that use embedded fonts. Works fine with all the other renderers. Until that's fixed, it's a non-starter for me.

      The only problem I have with CoreAVC is that I built my HTPC before CoreAVC with CUDA was released, and I've got an ATI card in it. It's not worthwhile changing my HTPC, and I'm hoping that eventually ATI cards will be supported (via OpenCL) at some time. In the meantime, MediaPortal is gaining the ability to display subtitles with DxVA (building on MPC-HC support) so for files that are usable with DxVA this will do the job.

  3. That ain't working - That's the way you do it by snarfies · · Score: 4, Funny

    I want my... I want my... I want my .mkv...

    1. Re:That ain't working - That's the way you do it by oodaloop · · Score: 4, Funny

      Indeed, it does sound like they are in dire straights.

      --
      Tic-Tac-Toe, Global Thermonuclear War, and relationships all have the same winning move.
  4. Re:What the hell is X.264? by harryandthehenderson · · Score: 4, Informative

    Because people don't know the difference between the standard which is called H.264 and the open source encoder that is an implementation of that standard which is called x264 (note the lack of the . as is the common incorrect spelling of its name).

  5. Re:What the hell is X.264? by Yvan256 · · Score: 3, Informative

    That reminds me of people who think .mp3 stands for MPEG-3 when in fact it's MPEG-1* Layer 3 audio.

    * or MPEG-2 Layer 3, or even the so-called "MPEG-2.5 Layer 3", depending on the sampling rate.

  6. Unfortunately, this one may work by querist · · Score: 5, Insightful

    Unfortunately, Microsoft may get away with this under the guise of concern for security. There was a time (and perhaps these are still out there) when links to fake codec were used to compromise the victim's computer. (For an analysis of one of these, please see http://www.lavasoftsupport.com/index.php?showtopic=5302 )

    Most of us here know how this scenario unfolds: user is trying to view some form of media, often of "questionable" morality (either pr0n or "pirated" video) and the site claims that the user must install a new codec or upgrade to a new version of Flash or Quicktime or whatever and "kindly" has the link right there. It may even have the simple "click here" puzzle-piece link to install the proper codec/player so you can see the multimedia clip. Victim clicks, wanting simply to see the media clip, and presto!, the victim's machine is now a spam-spewing zombie.

    Of course, the link could install other things, too, but the point is that the "fake codec" ploy is common enough that Microsoft could easily claim that they are only allowing "approved" or "signed" codecs out of concern for security. They may state that third party codecs are allowed, and will permit Quicktime (for fear of a suit and driving people to Apple) and Flash/Shockwave, but other third-party codecs could be blocked through some combination of testing and/or certificate/signing fees.

    This one is too easy, and it just might work.

    (I find it strangely amusing that the captcha, given that these fake codecs are often seen in relation to pr0n sites, is "explicit".)

    1. Re:Unfortunately, this one may work by harryandthehenderson · · Score: 3, Insightful

      Unfortunately, Microsoft may get away with this under the guise of concern for security.

      There is nothing to "get away with". They are just attempting to obsolete DirectShow just as they did with VfW and this is a maker of a small-time directshow codec that is mad over this change. Last time I checked, Microsoft had no obligation to continue using and support DirectShow indefinitely.

    2. Re:Unfortunately, this one may work by MozeeToby · · Score: 2, Interesting

      The problem there is that locking out third party codecs doesn't do anything to solve the problem because 99% of users won't know that the codec/plugin they're told to download won't work. You could even find a way, I'm sure, to allow the video to play only after they've installed your malware if you wanted to be really sneaky about it.

    3. Re:Unfortunately, this one may work by nine-times · · Score: 3, Interesting

      I think there's a good point in the article about the monopolistic problems at stake:

      When J.D. Rockefeller set out to monopolize the oil industry, there were several crucial areas where he attacked. He knew that he couldnâ(TM)t control all of the oil fields because it was literally bubbling out of the ground, but what he could control was the distribution method for getting oil to the end customer.

      It's also particularly noteworthy when talking about media. For example, what do we tend to call those companies that control the music business? "Record companies". All those companies essentially started out as just the companies that manufactured the records, but it was the control of the distribution media of music that put them in control of the entire music industry. That's why record companies are so afraid of people buying music online. Online sales give transfer a lot of control over distribution from the record companies to the online retailers, which could eventually make record companies completely obsolete.

      I know this sounds like I'm going off-topic, but it's very important to know this when you're talking about Microsoft and media formats. Microsoft spent a lot of money developing their own media formats and DRM, and then pushing those formats and DRM on everyone. From the record companies' point of view, this was a good thing because it gave them increased control over online distribution, but what they may not have noticed is that it also gave Microsoft a foot in the door. It's pretty obvious that Microsoft stood to gain a piece of the action in the media industry, as well as another monopoly that could reenforce their OS monopoly.

      What seems to have tripped them up is (a) the most popular portable media player not supporting their media formats; and (b) the music industry finally dropping DRM. If not for those two things, we might be in a real nightmare situation by now.

    4. Re:Unfortunately, this one may work by DigitAl56K · · Score: 4, Insightful

      You are wrong.

      They are changing the way DirectShow's intelligent connect works so that "preferred" filters, Microsoft's preferred filters that is (which happen to be Microsoft filters), are used for certain formats before the established DirectShow merit-based system is even consulted.

      I believe the same is true of Media Foundation, in that for either architecture you now need to implement custom code to avoid this default behavior.

  7. Fake codecs by Alari · · Score: 5, Informative

    Fake "codecs" are one of the main ways windows PCs currently get infected with spyware/viruses. This comes from all the people who install Limewire with no AV and then download the first thousand results for "porn".

    VLC - has all codecs built-in. Use it. :)

    --
    I use Windows... like a two dollar wh.. why don't I just go ahead and not finish that sentence.
  8. Re:More on Streaming? Interview? by Davis+Freeberg · · Score: 3, Interesting

    Good suggestion, It would be interesting to see what other people would be interested in. I'll ask if he has any interest and hopefully he'll be open to fielding some questions.

    --
    Never Pick A Fight With Someone Who Buys Ink By The Barrel.
  9. Re:More on Streaming? Interview? by BESTouff · · Score: 4, Interesting

    I would have liked to hear more on how he plans to break into the streaming market when everyone is going proprietary on that for the sake of DRM.

    Everyone ? Do you mean Dailymotion and Youtube going vorbis+theora for their streaming needs doesn't count ?

  10. Grammar Nazi warning... by zooblethorpe · · Score: 3, Informative

    The proper phrase is "dire straits", "strait" as in "a narrow place" -- "a tight squeeze". :)

    Cheers,

    --
    "What in the name of Fats Waller is that?"
    "A four-foot prune."
  11. Hedgemaster 1.0 by mpapet · · Score: 3, Interesting

    This is a perfect example of salesmanship, optimism and double-speak. Excerpts from TFA:

    we do plan to open source pretty much our entire eco-system,
    Pretty much eh? That sounds interesting. Where can I sign up for your newsletter?

    if the business warrants it
    If eh? That's a pretty important article leading that phrase. I could get really excited without that "if."

    and right now it looks like does
    Ohhh the winds are blowing your way eh? Well, lets wait and see. Your investors might have another opinion on the matter. Still kind of exciting. I'm feeling a little wobbly in the knees and all!

    We can still open source it and monetize it and also release our encoder as well,
    You mean like how Sun tried to make Java free-ish? History is working against you on this one. But, you know, crazy things have happened before, so I'm even more excited. Not only are my knees wobbly, but my stomach's got a few butterflies in it!

    but at the same time weâ(TM)re very cautious about what we do.
    Ohh there's the double-speak. You were getting me all fired up imagining relatively simple playback on a plurality of devices until that line. Was I supposed to ignore that one?

    Like Matroska, the Haali media splitter may not be open source, but it is free
    Coitus interuptus Mr. Streaming Codec dude. Coitus interuptus.....
    Ohhh you mean like those other binary blobs that work *so* well? Is this free like so many 'free' applications I download off the internet that are supposed to speed up my windows machine? I get all these adverts popping up everywhere and that's just the beginning.

    --
    http://www.maxineudall.com/2010/02/should-economists-be-sued-for-malpractice.html
  12. MKV == critical mass? by fahrvergnugen · · Score: 5, Insightful

    We've been waiting for years for a killer video container, and it appears to me that mkv is probably going to be the one. It seems poised to become the mp3 of video. There's finally a container that can be played back in an acceptable number of hardware devices, with acceptable quality, at acceptable filesizes. The lack of file-embedded metadata in the container is still a problem, one that's been holding back online video distribution for years, but external sites such as imdb and thetvdb seem to be working around this well enough.

    iPod / iTunes took off like a rocket imho because of a few key factors:
    -They created hardware that followed the pipe dream of the mp3: A portable player capable of holding many gigs of music in the size of a deck of cards, with headphone out. This wasn't innovation, such solutions were already on the market, but theirs was the most beautiful.;
    -They smoothed out the rough usability edges in existing portable hdd player solutions by offering great desktop software in iTunes, which took advantage of metadata to create not only a really compelling library system, but also provided very tight integration that was intuitively the same across the iPod & iTunes.
    -They offered a legal means of acquiring music on demand for their solution.
    -They made it ridiculously easy to use their device with black market content.

    Because Apple were the first with the sack to give people their dream device, with a sensible organized interface, a legal means of acquiring content, and full integration with illegal content, they dominated the marketplace.

    Video has been held back, as I said above, by a couple of things. The first was the lack of file-embedded metadata (I can't search for all files in my library directed by James Cameron, for instance), but the ubiquity of always-on wireless connections has solved some of that, and external metadata references are now acceptable. Second, it's been held back by codecs & containers that were way out of date, and don't deliver broadcast-quality (especially HDTV) at acceptable filesizes. The average mp4 vs a highly compressed digital cable channel might be equivalent, but the market wants DVD quality without any sacrifice from downloaded video.

    Finally, video has also been held back by the lack of elegant playback solutions. Apple missed the boat with the AppleTV by failing to step up and partner with the black market, which is why the device hasn't been a wild success. Software solutions based on the xbmc core, such as boxee, plex, and uh.... xbmc, are doing much better, but they're still software solutions dependent on having a PC. People want a fully-integrated solution.

    Mark my words: The first company with the temerity to market a device that will take a user's existing library and integrate it into an elegant set-top solution is going to CLEAN UP. They will dominate the set-top completely for years to come. It looks like TiVO is going to miss the boat, as is Apple. Are there any dark horses in this race?

    Lest anyone think that I'm pipe dreaming, a working solution can be assembled out of off-the-shelf parts right now. Here's what I built in a weekend for about $700:

    Hardware:
    -Mac Mini c2d (winter '09)
    -Harmony 720 remote
    -DisplayPort --> HDMI cable
    -Optical Audio cable
    -1TB firewire-800 external storage from pricewatch

    Software:
    -Plex
    -SwitchResX (only necessary for SDTV or older HDTVs)
    -RipIt
    -SABNZBD+

    Subscriptions:
    -Usenet service ($11/mo)
    -Unnamed usenet header indexer ($.75 / week, roughly)
    -rss feed for TV show subscriptions (free)

    With these pieces, I've built a DVR that automatically downloads the shows I like the same day they air. Downloads are FAST, maxing out my internet connection. I can play back 1080p blu-ray rips with full surround sound & 0 dropped frames or stuttering. I can drop any DVD into the reader, and have it copied into the library and spit back out again once it's done. And it's all done with a universal remote in

    --
    Even Jesus hates listening to Creed.
    1. Re:MKV == critical mass? by fahrvergnugen · · Score: 2, Interesting

      Popcorn Hour suffers by not including local storage (though it can be added later), or a disk reader. Not having used one, I can't comment on their interface. They're closer than anybody though.

      --
      Even Jesus hates listening to Creed.
    2. Re:MKV == critical mass? by mako1138 · · Score: 2, Interesting

      Now that I look at it, it's a pretty impressive list:

      http://www.matroska.org/technical/specs/tagging/index.html

      Somehow I've never felt the need to embed the metadata in the video file itself. I usually make an .nfo to go along with it.

    3. Re:MKV == critical mass? by yuna49 · · Score: 2, Interesting

      My AppleTV, PS3, BlackBerry, DVD player and iPod will all play MPEG-4. None of them will play MKV. Can you give a few examples of popular hardware devices that'll play MKV?

      Well, considering that all of those you list have a stake in closed architectures, I'm not too surprised. Neither Apple nor Sony has ever shown much interest in supporting open standards. Have you yet discovered that your PS3 also won't play all flavors of DivX/XviD even in the AVI container?

      While some DVD players support DivX and often won't cough with XviD, the manufacturers did so to enable you to play the now-defunct DivX discs. I took back a Sony DVD player and replaced it with a Panny because the Sony had no DivX support and wouldn't play my XviD-encoded programs. Sony wants everyone to conform to the .mp4 container that they prefer.

      In answer to your question, how about a COWON A3 for starters? It even supports 720p/H.264 Matroska files (I have a lot of those). Or maybe some of these devices?

      If you buy products that are designed to close off your options, then you can't really complain when you find your choices are more limited. While it's possible to argue that hardware manufacturers have been slow to support Matroska because of its small market share, I think it's even more plausible that manufacturers prefer to support formats that give them more control. Not to mention that large manufacturers are much more comfortable dealing with something like the MPEG LA than with an open format like Matroska. They probably have a hard time getting their heads around supporting something that doesn't required licensing fees. (Like in the case of Linux, business types usually think "free" = "inferior".)

  13. Re:More on Streaming? Interview? by Goaway · · Score: 4, Informative

    Youtube is not going vorbis+theora, their HTML5 experiment uses h.264.

  14. Re:More on Streaming? Interview? by Timmmm · · Score: 2, Interesting

    EBML is (almost) what XML always should have been.

    XML:
      Pros: Human readable
      Cons: Slow to parse, inconvenient to write parsers for, space-inefficient.

    Binary XML:
      Pros: Easy to write fast, simple parsers for, space efficient, allows easy random access into the file.
      Cons: Needs specialised editor (i.e. an 'XML editor' rather than any old text editor).

    I'd much much much rather have the latter.

  15. Re:Dire Straits? by gnick · · Score: 2, Insightful

    I wasn't saying it was anything super-symbolic (male prostitution or drug dealing), but the delivery guys are clearly just a framing element for a commentary on the writers' perception of MTV's perversion of music and the direction that it was moving. A bunch of over-hyped crap from no-talent schmucks being sold to the public at ridiculous rates while the public laps it up. I interpret it as a fairly critical view on MTV's influence on music evolution. Maybe it's just me.

    (Karma bonus foregone (again) because I think we're completely off-topic from TFA.)

    --
    He's getting rather old, but he's a good mouse.
  16. You are kidding arent you ? by Anonymous Coward · · Score: 2, Funny

    Are you saying that this mkv can run on a computer without DVD underneath it, at all ? As in, without a video disk, without any purchasing, and without any ownership ?

    That sounds preposterous to me.

    If it were true (and I doubt it), then companies would be selling mkv without a DVD. This clearly is not happening, so there must be some error in your calculations. I hope you realise that DVD is more than just plastic ? Its a whole system that runs the video from start to finish, and that is a very difficult thing to acheive. A lot of people dont realise this.

    Sony just spent $9 billion and many years to create Blu-Ray, so it does not sound reasonable that some new alternative could just snap into existence overnight like that. It would take billions of dollars and a massive effort to achieve. Toshiba tried, and spent a huge amount of money developing HD-DVD but could never keep up with Blu-Ray. ArVid tried to create their own system for years, but finally gave up recently and moved to DVD and Blu-Ray.

    Its just not possible that a freeware like the mkv could be extended to the point where it runs the entire video fron start to finish, without using some of the more critical parts of DVD. Not possible.

    I think you need to re-examine your assumptions.

  17. Re:Video makes baby Jesus cry too. by SanityInAnarchy · · Score: 2, Informative

    This is why things like Flash video make me happy.

    Flash video makes me angry, because it works exactly where it works, as well as it wants to work -- still requiring an order of magnitude more CPU than the competition, on the exact same file.

    But...

    of course you need to get the *latest* codec pack, which requires a new player, and new libraries, and since we only write the codecs and not the encoder or decoder itself you'll have to get product X too,

    I really haven't seen that... and the codecs generally do just hook into most players.

    Yes, everything always needs the latest. The only difference is that Flash will silently update itself. There's another all-in-one solution, though: VLC.

    --
    Don't thank God, thank a doctor!