Slashdot Mirror


Linux DVD Player on a Bootable CD?

Kumar asks: "I'm trying to make a bootable Linux CD with nothing more than XFree86 4 and ogle to play DVDs. I'm trying to make it as simple as possible: boot the system, change the CD, hit 'play'. If anyone has attempted anything like this before I'd like to hear of their successes and/or any tips on achieving this goal." A Linux box set up like this might make a nice alternative to an expensive DVD player. Is anyone working on something like this?

31 comments

  1. You have got to be kidding me.. by redhotchil · · Score: 3, Informative

    How could you possibly make a computer for under $99 (the price of DVD players I've seen at real, tangible stores) that would have the capacity to play dvds, in software mode, in linux? Riiiiight.

    1. Re:You have got to be kidding me.. by isorox · · Score: 3, Funny

      On top of that It'd have to play DVD's, MP3 CD's, VCD's and svcds to comete with my £90 dvd player. Oh and not use much power, be 100% stable and urn on in less then a second!

    2. Re:You have got to be kidding me.. by rtaylor · · Score: 3, Insightful

      Don't forget be very quiet...

      --
      Rod Taylor
    3. Re:You have got to be kidding me.. by finity · · Score: 1

      The beauty of having a computer to do this is that you can then reboot and play a game of tuxracer. All on hardware you already have with free software. Try doing that on your DVD player.

    4. Re:You have got to be kidding me.. by Bojay+Iverson · · Score: 0, Flamebait

      No one wants to play Tux Racer. Not any one person on this god forsaken planet.

      You just want to pretend to be cool, all the while sitting there thinking 'I wish I had a Nintendo, If I did, I might have some friends here with me.'

      --
      Psychos do not explode when the sunlight hits them, I don't care how fucked up they are.
    5. Re:You have got to be kidding me.. by Anonymous Coward · · Score: 0

      He said it was less than an expensive DVD player, not less than a cheap DVD player.

    6. Re:You have got to be kidding me.. by Jackhamr · · Score: 1

      Have you every built anything just to see if you could? I have _many_ extra computer parts laying around, and this is a fine use for them. The original question was not if you thought this was a good idea, but have you seen it done before...

    7. Re:You have got to be kidding me.. by fldvm · · Score: 1

      Yes, but that $99 DVD mp3 player will not copy the DVD to HD so you can send it back to netflix ... um ... I meant to say ... make a (legal?) back-up of a store bought DVD for home use.

  2. Why not just use Windows? by Howie · · Score: 3, Informative

    If the PC is already running Linux, then you don't need to go through all that. Obviously that isn't the case, because your question would be silly then :)

    So, why not just get PowerDVD, or WinDVD? No rebooting. It probably even came bundled with your DVDROM drive - I know I have a few copies kicking around.

    The only situation where the requirement makes sense that I can think of is that someone on a corporate network has a new PC with DVDROM, but isn't allowed to have DVD Player software installed, but that person is likely to not have access to the BIOS to allow CD-Booting, either.

    --
    "don't fall into the fallacy of believing that Perl can solve social problems. Maybe Perl 6 can, but that's a ways off"
    1. Re:Why not just use Windows? by innocent_white_lamb · · Score: 2, Insightful

      The only situation where the requirement makes sense

      is where someone has an "out-of-region DVD" that they want to play; the official Windows players all do that handy region-checking thing, I think.

      --
      If you're a zombie and you know it, bite your friend!
    2. Re:Why not just use Windows? by Howie · · Score: 2, Informative

      Neither PowerDVD nor WinDVD does anything that can't be gotten around with DVDGenie, for free. The only bit you'd be stuck with is if the drive itself is RPC-2 region-locked, and I think that does screw you regardless of the OS.

      --
      "don't fall into the fallacy of believing that Perl can solve social problems. Maybe Perl 6 can, but that's a ways off"
    3. Re:Why not just use Windows? by Anonymous Coward · · Score: 1, Informative

      With ogle and vlc, I can play region 1 dvds on my RPC-2 drive set to region 2 (Toshiba) just fine.

    4. Re:Why not just use Windows? by markj02 · · Score: 2

      Maybe he hopes for better performance and reliability than PowerDVD or WinDVD, both of which are kind of iffy. Or maybe he has a kiosk application in mind, where the bootable CD provides security and robustness. Or maybe he runs some business version of Windows that doesn't have DVD players but would like to be able to play a DVD on occasion. There are lots of possible reasons.

  3. You know... by mkmiller · · Score: 2

    have you people ever thought that he might already a system and NOT a DVD, which would be why this question was asked. I would start with LRP or slackware. Or even try and get that bootable ISO from simply GNUStep (though I believe the ISO is still not available for download)and add a DVD player to it. You would need just the basics. You might want to stick with CDRWs until you get it right.

    1. Re:You know... by Howie · · Score: 1

      If he already has a system, then he doesn't need some booting CD distribution. Whether the native OS of the system is windows or Linux, there are players available.

      If you mean doesn't have a DVDROM, then he's pretty much SOL as far as playing DVDs is concerned, anyway.

      --
      "don't fall into the fallacy of believing that Perl can solve social problems. Maybe Perl 6 can, but that's a ways off"
    2. Re:You know... by Mark+Hood · · Score: 1

      But if he's got a system, why not install Linux on it & then he can tune parameters to his heart's content, and easily add MP3 playback, or web-browsing or whatever.

      If he doesn't already have a system, what's he going to burn the CD on? :)

      I can only assume he wants a silent box in the living room, which is SO much easier to achieve with a real DVD player. Plus it'll give you better quality pictures and you get a remote control, so you don't have to buy a 30m mouse cable!

      --
      Liked this comment? Why not buy me something nice
  4. Use an embedded linux distribution? by Memetic · · Score: 2, Informative

    Perhaps one of the embedded Linux distributions might help, they often have demo versions already tailored to run stripped down and "headless" etc.

    This review of LynuxWorks' BlueCat Linux discusses some utilities ('mkrootfs' , 'mkkernel' and 'mkboot')that might help.

  5. I don't get it... by Anonymous Coward · · Score: 1
    Kumar asks a mildly interesting question and redhotchil tells him (roughly paraphased) to forget it and go out and buy a DVD player instead, and that gets moded up as insightful.

    Hello... Excuse me... I'm sure Kumar knows you can buy DVD players fairly cheaply. That's not an answer to his question. Yeesh.

    1. Re:I don't get it... by Heywood+Yabuzof · · Score: 1


      note: Cliff (the editor) is the one who added the whole thing about replacing a DVD player. That's what's getting people all riled up.

      So in this case, blame the messenger :-)

  6. Starting Point by penguinboy · · Score: 3, Informative

    A good starting point might be the RedHat based SuperRescue ISO. It's got everything: drivers, networking (probably not necessary), XFree86, etc. Adding in a DVD player app and taking out the unnecessary bits probably wouldn't take long.

    And as a side effect of this project, you could get quite a bit more space by using a DVD-R(W) disc, since a DVD drive is guaranteed to be available.

  7. It was a bloody stupid question. by Wakko+Warner · · Score: 1, Flamebait

    Why on earth would anyone build a PC to do something a piece of hardware can do cheaper and better? There's absolutely no point. If you want to do something "hacky", for fun, at least have it be something *useful*!

    - A.P.

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
    1. Re:It was a bloody stupid question. by Anonymous Coward · · Score: 0
      Just because you're not interested in the answer doesn't mean it's stupid question. The world doesn't revolve around you.

      Personally, I'm not interested in a DVD-player-on-a-bootable-CD itself, but the technique itself, basically a HOWTO on how to create a self-booting Linux CD that boots into a dedicated application would be interesting.


      On the other hand, it is a rather simplistic question of limited interest for a site like slashdot. Posting the same question to one or two of the Linux groups on usenet would probably be more appropriate and would probably be answered or ignored much quicker.

  8. Some pointers by Anonymous Coward · · Score: 3, Informative
    You can divide the question into two parts.

    First, how to make a bootable Linux disk. Check out The BBLCD Toolkit, Bernhard's Bootable Linux CD or Build your own Bootable Linux CD, and of course the CD-Writing HOWTO. Do some searches on your favorite search engines for more information on making bootable Linux CDs.


    Second, how to start X-windows and run a dedicated application on start up. Check out the Kiosk HOWTO for information on which scripts need to be modified (they talk about booting up netscape, but you'll get the idea). You should also become familiar with Linux and X-windows boot up sequence to find out which scripts need to be modified.

  9. changing the disc? by ywwg · · Score: 1

    forget changing the disc, just plunk down a couple extra bucks for a second cdrom for the OS. Otherwise everything would have to be in RAM.

  10. Just one question? by Beowulf_Boy · · Score: 1, Funny

    Are you to cheap to buy an old 1gig harddrive?

  11. Mike by Anonymous Coward · · Score: 2, Interesting

    Check out demolinux.org. I was going to come up with a similar concept myself. I just wanted to have a portable linux system with some X Window capabilities to use on other people's computers and at work without having to muck with formatting other peoples hard drives. Though a boot floppy could give me a really basic linux system I wanted something with more tools. I came across the demolinux site in search of trying to see if anyone else had already come up with the concept. The demolinux site also has some links to pages that explain in a really rough and incomplete way how to go about building a live file system on a cdrom. I tried out the demolinux and of course it is really slow and pretty much unusable with only 64 megs of ram which is all I have on my test machine that I tested it on. But it does run and load on even just 64 megs of ram. The iso that I downloaded and burned onto a cdrom from the demolinux site runs a full version of KDE right off the cdrom. So you could literally run an entire linux system without the need for a hard drive! But of course for it to be practical you would need RAM coming out your arse to make it work well. But it's definitely doable. Basically to accomplish the DVD idea you would just use the same concepts that demolinux used to create their distro and strip it down and just add the bare essentials with of course DVD apps loaded. Hope this helps you out!

  12. Hardware DVD players don't do divx by kcurrie · · Score: 1

    But can it play divx's as well? I thought not.

    --
    -- I speak only for myself.
  13. ahh but!! by Barrow_Boy · · Score: 0

    if the system just has the 1 dvd / cd drive and you are using that to boot the thing, where do you put the dvd you want to play?

    some people have no idea

    --
    look somewhere else for a sig... *** ** *
    1. Re:ahh but!! by jismay · · Score: 1

      simple, just load the required player software onto a RAM disk, and execute from there. The whole system should be fairly simple to put together. even multiple type of video card could be accomodated with trivial amounts of scripting

      --
      Let Microsoft know, whether it wishes us well or ill, that we shall pay any price, bear any burden, meet any hardship
  14. What about video cards with TV output? by Anonymous Coward · · Score: 1, Interesting

    I am trying to build a similar Linux system. However, I would like to be able to play DVDs in my TV. I would like also to plug my satellite receiver in the system to use it as a TiVO like solution. The problem is that I am not able to find a video card with TV-Out supported on Linux. A large numbers of cards supported on Linux have TV output but this feature is not supported on Linux. The task becomes even harder if you try to find a card that has TV output and input support on Linux. I haven't started to look for software that would implement the TiVO solution yet but I've heard of a few projects like OpenPVR etc. Would any one of you guys know of good video cards and software that I could use in a solution like this? Have you guys tried to do the same? Any help would be appreciated.

    1. Re:What about video cards with TV output? by sbombay · · Score: 1

      I am using the NetStream 2000 TV card from Sigma Designs for TV out and hardware decoding MPEG-2. They have a linux driver for the NetStream 2000 card which also supports the NetStream 2000 TV card. You can contact Sigma at http://www.sigmadesigns.com.

      I used my PlayStation 2 to play DVDs but I gave it to my cousins for Christmas. I am now in the process of building a DVD player out of old PC parts. I have the basic DVD functionality working with the NetStream 2000 TV card and I am in the process of making a user interface using Mozilla and the Flash plugin.