Slashdot Mirror


Prototype Hardware DVD Decodoer for Linux-needs help

Yohahn wrote in with some news on the DVD for Linux effort. A company has developed a prototype DVD decoder board that does the decryption in hardware, versus software, meaning the that the drivers could be released under the GPL. However, because the board is only a prototype, investors need to be convinced - head over to LinuxTv.org and vote in the poll to show support for this. Please-I'd like to fully use my laptop, and this is one of those areas Linux needs assistance in.

17 of 149 comments (clear)

  1. Re:Good idea but... by Fastolfe · · Score: 2

    Yah but can you get 5.1-channel surround or are you stuck with the inferior (though still better than 2-channel stereo) Dolby ProLogic (or worse)?

  2. Re:Good idea but... by Fastolfe · · Score: 2

    I believe I indirectly mentioned this already.

  3. Strongly disagree =) by Anonymous+Shepherd · · Score: 2

    But again, I'm biased, having grown up where the computer was more of an entertainment center than the TV. All the TV was good for was evening news, afternoon cartoons, and hooking up the SNES/PSX to.

    Watching DVDs on my 17" monitor is a little cramped, but quality is so much better than any of our TVs. I'd think that with a generation growing up on computers, it may actually be second nature to watch DVDs on a computer, especially as monitor prices are dropping.

    I dunno how the market will shape, but TV viewership *seems* to be going down as more content and capability is added to computers, such as news, streaming audio and video, games, chat, etc. Either that, or TVs and computers will merge...


    -AS

    --

    -AS
    *Pikachu*
  4. Software DVD - a little difficult by XNormal · · Score: 2

    Even if we ignore the encryption problem, the development of an optimized software MPEG-2, Dolby Digital decoders, integration, synchronizaion, testing with the many strangely encoded streams out there, etc is an effort which should take several man-years. I would say it is outside the capabilities of the open-source community.

    The encryption is available only in hardware form and a reverse-engineering resistant software module for Windows. As far as I know it has not been reverse-engineered yet, although the availability of a software implementation should make it possible, regardless of how well it is protected.

    --
    Stop worrying about the risks of nuclear power and start worrying about the risks of not using nuclear power.
    1. Re:Software DVD - a little difficult by Sontas · · Score: 2

      The difficulty of the encoding methods and syncronization and whatnot are not the tough issues with this, which is precluding any open source development regarding DVD on Linux. It is the legal and licensing issues.

      The DVD specs cost $5000 and an NDA signing to get a hold of. This is for one copy of the library (a few books totalling maybe 1500-2000 pages). This information could not be shared with anyone for development purposes. Point 1 against open source DVD products.

      CSS encryption is very tightly controlled (the knowledge of what the algorithms involved are, that is). In order to get them one must sign very stringent NDAs and contracts with Matsushita. This licensing is free, however. Contrary to some statements made previously in other replies. But gaining access to these routines would be possible for an individual, not a whole group of people. Point 2 against open source dvd products.

      Point three is that even though the AC-3 and Mpeg-2 specs are freely available (and we'll assume you have access to the required DVD specs to know how the mpeg and ac-3 data is stored) each has royalties and licensing associated with it. Well, I know Ac-3 does, I'm not sure about Mpeg2. This being the case, even if the products was developed open source (which points 1 and 2 preclude) there would be a per distributed copy charge for the ac-3 handling code. Not free software. While this doesn't mean open source development has a point against it in this case, it is a big deterrent.

  5. Re:DVD is not just for movies and games. by Gary+C+King · · Score: 2

    Hewlett-Packard will be releasing a DVD ReWriter (DVD-RW) in September. It will write DVD-RWs at 1.5MB/s (maybe 1.25x DVD speed), and CD-RWs at around 8 or 12 speed. The DVD-RW discs will be 3.0GB single side, single layer, but they may only work in DVD-ROMs... I don't think they will work in DVD players. The street price should be $699, with media being $30 / blank, and the drive will be SCSI only.

  6. Re:DVD is not just for movies and games. by tgd · · Score: 2

    This device has nothing to do with reading DVD's, its about playing back the MPEG2 data stored on them.

    That's two very differnet beasts. Supporting UFS under Linux is a matter of time -- UFS isn't propriatary, its just a matter of someone doing it.

    This device takes a data stream read from the video file on that UFS filesystem and decodes it into video frames.

    I don't see that being useful for anything but multimedia games/applications and watching movies.

    Believe me, support for DVD-R or DVD-RW is something I'd be wholeheartedly in support of. But that's not DVD-Video.

    Also, MPEG2 encoding is considerably more complex than the decoding.

  7. Re:Good idea but... by Sloppy · · Score: 2

    I guess one could make the argument that the whole point of entertainment appliances is that you slouch in a comfy chair or lay back on a couch, pop open a beer, and stare at a low-resolution display 10 feet away, and while your right hand brings the beer can up to your face, the left falls down beside the couch where it starts petting the dog. Then the cat jumps down from the back of the couch on to your stomach, and curls up. The dog gets excited, starts licking the cat, who gets very annoyed, and you end up spilling beer all over yourself and the wife shouts "What's going on in there?" as you hit the DVD pause button on your remote, and you head off to get a towel.

    And at the desk, your computer is there, a high res monitor 2 or 3 feet from your face, and you gotta sit up straight. The computer is for Serious Work. No relaxing there. And if the cat jumps up on the keyboard, you throw it off. (Really, I know what I'm talking about here, since I pull about a whole cat's worth of hair out of my keyboard every year.)

    But the roles are supposed to be separate, so we don't think much of it.

    I dunno about all this, it sounds fishy somehow, like a weak excuse to get consumers to buy two DVD drives. Besides, computers are entertainment appliances too (proof: Id Software). I kinda like how MP3s have made it feasible to point and click to start some music, instead of spinning the CD towers to the right section, getting a plastic box, taking the CD out and putting it into the drive, and pushing a play button. Ew, the old way was so ... physical and untidy! ;-)

    What I'm getting at is that this whole seperation thing is artificial. I thought human ergonomics were mostly constant. If people's computers are so clumsy that watching a movie on 'em is considered not sufficiently relaxing ("fiddling with your PC") then maybe it's the computer's fault. Have you tried putting a couch in front of your computer? Hook up an IR interface so you can use remote control? I wonder if this sheds more light on this "digital convergence" market I keep hearing about, yet didn't really understand. Maybe it's time we asked ourselves if desktop computers still deserve to exist.

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  8. Re:Clarification of current DVD hardware requested by peanuthead · · Score: 2

    That DVD site is back up now.. i dont know if it is just temporary so i decided to mirror it at the linuxDVD site i have been running for close to a year now. I just added a mailing list so that people can share some constructive ideas on how to solve this lack of a DVD under linux.
    http://linuxdvd.corepower.com/

    I think this reference design is definately a step in the good direction. I would personally rather see the specs for creative labs dxr2/3 but the biggest problem seems to be that we need specs on the c-cube chip and noone i know has ever been able to contact them. If anyone knows of a contact at C-cube, please forward their information to me.

  9. DVD is not just for movies and games. by CodeShark · · Score: 2
    With the preface that I'm not up to date on DVD, there are a couple of things I'd like to add to the /. comment mix related to the above post.

    First and foremost, DVD isn't just about movies and games anymore, just like Compact Disks aren't just about audio. It's about being able to store massive quantities of data as well. That said, even early CD-ROM drives could play audio CD's, so the ability to decode the formats mentioned on the card maker's site (MP3, MPEG, etc.) is fundamental if you want to be in the market.

    The question of whether there is enough market to support the prototyping and production runs for the card is more significant. Quoting the previous post:"I think the switch to software decoding under Windows was largely because most people don't want to spend even fifty or a hundred extra bucks for a decoder card they're not going to get much use out of." This is just an opinion, mind you, but the extra money probably wasn't the issue, or SCSI would have died a horrible death a long time ago. The issue is getting the biggest "bang for the buck" and availability.

    How about we do a little price shopping to compare... let's see, I can pay for

    • a crappy OS from M$,
    • the upgraded QT codec from Apple or an MPEG decoder board,
    • a RIO or something similar for MP-3's (yes, I know there's freeware out there as well)
    or... Linux + a relatively inexpensive card with Open Source drivers.... Hmmm. Proprietary vs. open. What should I do...what's that, the open option is less expensive? You get my drift.

    My final point is that the card mentioned is a prototype, and that once you have a successful decoder, creating the encoder is usually no big deal in comparison. So if this company succeeds, you'll have all you'd need except the DVD-burner.

    A set of questions here...is there such a thing as DVD-R or DVD-RW yet? If not, is it technically possible? on the drawing boards?

    I'll sit back and listen now...

    --
    ...Open Source isn't the only answer -- but it's almost always a better value than the alternatives...
    1. Re:DVD is not just for movies and games. by CodeShark · · Score: 2

      Ouch!!! I think my checkbook just fainted.

      --
      ...Open Source isn't the only answer -- but it's almost always a better value than the alternatives...
  10. Good idea but... by tgd · · Score: 2

    This seems like a good idea, but how many people really watch movies on their PC? Or have their PC close enough to their TV to be able to play the movies out to the TV? It seems more of a novelty to me for anyone but space-constrained college students with expensive new computers.

    I doubt there'd be a big enough market to justify it. I think the switch to software decoding under Windows was largely because most people don't want to spend even fifty or a hundred extra bucks for a decoder card they're not going to get much use out of. Sure, someday DVD games or other applictations might use DVD-Video, but I doubt the game or application maker will assume hardware decoding, they'll license and bundle the software with it.

    What would be more useful (and I submitted an Ask Slashdot question two weeks ago that never showed up...) would be an MPEG2 encoder and decoder card, letting Linux be able to function like those new digital "VCR"'s, either in an embedded setting or on, for example, my server that handles my voicemail and e-mail. It'd be nice to bring up one page that listed all my new e-mails, voicemails, and recorded TV shows. :)

    The number of people who'd want one of those might not be that much higher than a decoder card by itself, but you never know.

    1. Re:Good idea but... by Fastolfe · · Score: 2

      I agree -- Most people don't notice any difference at all on their PC with harder vs software MPEG decoding. In 95% of the cases, when DVD video is playing, it's the only thing the PC is doing, so the freed-up-CPU really isn't able to do much.

      I started out in the DVD world with a DVD-ROM drive but at the time the drivers and software were EXTREMELY unstable and lacking in features. Things have improved quite a lot since then, but it's still very cumbersome to actually watch DVD movies on your PC and get the full benefits of DVD.

      Firstly, you don't typically get the video quality. Unless you have a really decent monitor (and a big one), video on a 17" monitor really isn't all that thrilling compared to a modestly larger television screen. Plus, since monitors tend to be so precise when rendering video images, you really experience a lot of interlacing flicker and the MPEG artifacts really show up. On television, these artifacts are typically very well subdued.

      Secondly, you don't get the AUDIO quality. I'm sorry but the latest and greatest stereo/subwoofer setup just doesn't REMOTELY compare to a real 5.1 home theater setup. In addition, unless you've got a DVD player/MPEG decoder card with "real" audio outputs, you can't even TRY to take advantage of real sound. You're stuck with crappy stereo, or, if you're lucky, Dolby Prologic. No comparison.

      When I want to sit down and watch a movie, I want to watch it on my television while I'm sitting on my couch. These decoder cards tend to have composite video output as well, so this tends to work nicely, but it's still quite cumbersome (and typically slow under Windows) to load and start a movie. Plus you're still limited by the audio capabilities of your PC and card. Most people don't have a remote control that works with their PC either.

      I still have my DVD-ROM but I only intend to really use it with DVD data. Last year I bought a high-end DVD player with a built-in DTS decoder and 5.1 and fibre audio outputs. I find this much more convenient to use.

      When I want to watch a movie, I want to relax, not fiddle with my PC.

      I think an MPEG encoder/decoder would be pretty slick though, still.

  11. Re:DVD encrypted? I thought only DIVX did that? by Fizgig · · Score: 2

    To my knowledge, they're both encrypted. But it's not exporting the algorithms--it's the data, which there aren't any export restrictions on (well, there might be, but not because of that). And it's not that export is illegal; you just have to get a license. I would imagine Circuit City could get a license to export DIVX to Europe. They probably haven't applied because they're waiting till they get a foothold in the states (fat chance!)

  12. Re:Clarification of current DVD hardware requested by Fizgig · · Score: 3

    There are two things going on, decoding and decryption. Looking at the linux dvd page (which has been down for about a week, from what I can tell), it seems they have support for reading the DVD file format. So you can put your 17GB DVD in there and read the data to your heart's content. They also have alpha support for decoding the data and playing a movie from it, even in hardware (which is more efficient, of course). But that doesn't mean you can play a movie. The DVD forum also put a lot of time into cryptography. Unlike copying VHS to VHS, which degrades things, copying DVD to DVD should result in a perfect copy. It's all digital, so bit-for-bit copies should be just as perfect as the original, which would make for some nasty piracy. So the DVD Forum put cryptography measures in ther. I have no idea how this works! But in order to build a DVD player, software or hardware, you have to sign an NDA with the DVD Forum saying they get your firstborn if you tell anyone about the decryption process (obviously it's not that good if they have to keep it secret; maybe they're just paranoid). Every other computer DVD solution does the decryption in software--it's just easier that way. But you can't release the source to any of this, because that would be a violation of the NDA. So these people are putting the cryptography stuff in hardware so they can still release the source to the player. So it's this or a closed-source solution for Linux DVD.

  13. Re:Clarification of current DVD hardware requested by Fizgig · · Score: 2

    You call macrovision "rather potent"?! For one thing, Macrovision deals with copying analog. It relies on the macrovision protection in VCRs. There's an invisible (to you), varying signal that comes from any output that has macrovision (basically any pre-recorded media has this) that tells your VCR (or MPEG encoder; these also have to have Macrovision protection) that what it's seeing is just noise. So it records noise, despite the fact that you're seeing a clean picture. This, however, has been disabled on so many systems that it only stops really lazy people (what it was meant to do, I guess).

    Macrovision does have some different stuff for CD-ROMs that may actually be on DVDs for all I know (if you do, please correct me; that would overshadow the ineffectiveness of the previous paragraph's system). There's more to the CD-ROM than can be copied (how, I don't know). So when you make a copy, you're really not getting everything. If they did that with DVDs, it might do something.

  14. DVD Hardware by eric2hill · · Score: 2

    I've had a Creative Encore 5x DVD package with the DXR-2 decoder board for a while and it works great. Why couldn't Creative just release Linux drivers for that board? It's already in production and it's not too expensive...

    --
    LOAD "SIG",8,1
    LOADING...
    READY.
    RUN