LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cannot play DVDs even with libdvdcss! (https://www.linuxquestions.org/questions/linux-software-2/cannot-play-dvds-even-with-libdvdcss-129194/)

BlueCarrot 12-27-2003 02:07 AM

Cannot play DVDs even with libdvdcss!
 
Whenever I try to play an encrypted DVD in Xine, it gives me this error message: ¨The source can´t be read... Error reading NAV packet¨

When I try it in Ogle (running in terminal) it says:

¨libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Attempting to use device none mounted on /mnt/cdrom for CSS authentication
libdvdread: Could not open none with libdvdcss.
libdvdread: Can't open none for reading
libdvdread: Device none inaccessible, CSS authentication not available.
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Attempting to use device none mounted on /mnt/cdrom for CSS authentication
libdvdread: Could not open none with libdvdcss.
libdvdread: Can't open none for reading
libdvdread: Device none inaccessible, CSS authentication not available.
FATAL[ogle_mpeg_ps]: dvdreadblocks failed¨


I installed libdvdcss, and also I tried making a group called dvd and then doing this:

chgrp dvd /dev/cdrom
chmod g+rw /dev/cdrom

I also tried /dev/hdc and /dev/scd0 instead of /dev/cdrom

But it didn´t work! I still can´t get DVD to work in Xine or Ogle!

How do I get it to work??? Is it because I´m a :newbie: and I don´t even know where my CDROM is?

And then I tried this:

*Logs on to the CSS HQ Web Site*
*Points gun at computer screen*
¨How do you get this to work?¨
*No Reply*
¨We have other ways of making people TALK!¨
*Points EMP Gun, Atom Bomb, H-Bomb, AK-47, Rocket Launcher, Chemical Weapons, Biological Weapons, Various Machine Guns, Various Shotguns, Class IV Lazer Cannons, Plasma Rifle, Turbolaser, Ion Gun, Turbocannons, Proton Torpedoes, Pies, and waterballoons at computer*
¨TALK!¨

And even that method didn´t work!
:confused: :( :study: :scratch: :cry: :tisk: :mad:

whansard 12-27-2003 03:10 AM

do you have a dvd device that's symlinked to your dvd drive?

like ln -s /dev/cdrom /dev/dvd
if that's your dvd drive.

tokkee 12-27-2003 06:50 AM

Re: Cannot play DVDs even with libdvdcss!
 
Quote:

Originally posted by BlueCarrot
device none mounted on /mnt/cdrom
did you check that out? seems like there is a problem with sysmlinks or so. ogle tries to use /mnt/cdrom as dvd-drive. check out your ogle configuration!

sudhir 12-27-2003 07:49 AM

Yep.. I think the link is the problem, coz initially when I set up I faced the same error. Then I linked /dev/cdrom to /dev/dvd

All I did was jus create a /dev/dvd/ directory and do ln -s...

Btw.. If this mite be useful... I got the following files and installed all of them. And I havent had any problems with any DVD's !!!

xine-ui-0.9.22cvs-030911.i586.rpm
w32codec-0.52-1.i386.rpm
libdvdcss-1.2.6-2.network.i386.rpm
libxine1-1_cvs-030912.i686.rpm
curl-7.10.3-1.i386.rpm
libdvdnav-0.1.9.tar.gz
libdvdread-0.9.4-ogle1.i386.rpm

I installed all of these together, and I had no problems installing...
the w32codec is for playing the wmv files in xine...

did that help ???

BlueCarrot 12-27-2003 11:05 PM

I already installed all of the packages.. xine, w32codec, livdvdcss, libxine, curl, libdvdnav, and libdvdread.

I also made a /dev/dvd folder and did ln -s /mnt/cdrom

But in Ogle it still doesn´t work (even with unencrypted DVD):
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshot'
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshotWithSPU'
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Couldn't find device name.
libdvdread: Can't open file VIDEO_TS.IFO.
ERROR[ogle_nav]: faild to read VIDEO_TS.IFO
callbacks.on_opendvd_activate(): DVDSetDVDRoot: Root not set
Note[ogle_gui]: GetDiscID failed
msg close FIX

In Xine, an unencrypted DVD works (as usual) but when I try to play a DVD, it give me the same error message (Error reading NAV packet), and in the terminal it gives me this:

libdvdnav: Using dvdnav version 1-rc2 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Attempting to use device none mounted on /mnt/cdrom for CSS authentication
libdvdread: Could not open none with libdvdcss.
libdvdread: Can't open none for reading
libdvdread: Device none inaccessible, CSS authentication not available.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/home/nathan/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00db0000. Regions: 3 6
load_plugins: plugin dxr3-spudec failed to instantiate itself.
libspudec:init_plugin called
input_dvd: Error getting next block from DVD (Error reading NAV packet.)

Any idea how to fix it?

PDR60 12-28-2003 01:07 AM

Ok. Lets make a basic check. What device is listed in the fstab. I have a couple of boxes that play dvd's. One is SCSI and the device is dev/scd0 the other is ide and the device is listed as dev/hdc. So the solution is to check the fstab like "more /etc/fstab". Then, put the dev in xine and in ogle. The problem is not encryption or anything other then the listed dev can't be found. In xine its on the input tab as "devices used for dvd access". I havent used ogle in a while and don't remember where to change the dev setting. Rather then create sm links that are not working for you try, listing the dev as its listed in the fstab. Once you get it working you can work on the sm link if you like. Let us know how it goes.

whansard 12-28-2003 01:08 AM

why is it trying to read device "none"?
maybe you need to set the dvd device in the program's setup?
it looks like it's trying to go to a non-existant setting for dvd device?

by the way, you don't need to make a folder to make a symlink.
just ln -s /dev/cdrom /dev/dvd will do it.

you should be using mplayer instead anyway. it works much better than
xine and ogle. ogle is better at menus though.

BlueCarrot 12-29-2003 04:20 AM

Ok. My DVD drive is CDROM, not CDROM 2. So I copied and pasted the data about my drive in /etc/fstab here.

none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepa
ge=850,umask=0 0 0

So... when I use Ogle to open /dev/hdc.... it works!!!

So the problem was that I was a :newbie: and I didn't even know where my DVD drive was... Thanks everyone!!! (Well in Windows my DVD program couldn't find the DLL and it's broken... won't need it anymore!)

PDR60 12-29-2003 08:12 AM

Now that you have everything working you really should try Mplayer. Its a great player. It can also play online stuff like the windows media player. There is a plugin for it in the plf sources. just be sure to go to plf and do the easy urpmi and choose the club-internet as your souces. It works great. Then go to the software installer and do a search for mplayer. Instal the latest version and the mplayerplugin. it will install all kind of dependencies and then install. Next, close Mozilla and reopen it. go to Quicktime and see if it can play a movie trailer. Mplayer should be able to play your dvd's from the jump. I like it as it uses less resources then Xine.


All times are GMT -5. The time now is 09:18 AM.