LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Some DVDs don't play without root (https://www.linuxquestions.org/questions/linux-software-2/some-dvds-dont-play-without-root-758774/)

markusatlq 09-30-2009 05:39 PM

Some DVDs don't play without root
 
Hi,
I have trouble watching some DVDs in Linux. They are from the season 2 box of ST Voyager and the strange thing is that some work and some not.

First I tried with Kaffeine in Suse 11.1. I get to the menu, but when I want to start an episode, I get the error message "The source seems encrypted, and can't be read.
Your DVD is probably crypted. According to your country laws, you can or can't use libdvdcss to be able to read this disc. (Media stream scrambled/encrypted)".
I checked that I have libdvdcss installed and even re-installed it.
My next try was with VLC and this time I get sound, but a terrible picture.
I also tried it on a different PC with Ubuntu with the same result (no picture).
My last attempt under Linux was to rip the DVD, but again the same strange image.

Then I tried it as root and it worked. Now can anyone, please, explain this?

John VV 09-30-2009 07:39 PM

have you installed " libdvdcss " ? that decrypts most videos
some that have the sony "root-kit" DRM will need to be played in lindvd

lutusp 10-01-2009 02:43 AM

Quote:

Originally Posted by markusatlq (Post 3702453)
Hi,
I have trouble watching some DVDs in Linux. They are from the season 2 box of ST Voyager and the strange thing is that some work and some not.

First I tried with Kaffeine in Suse 11.1. I get to the menu, but when I want to start an episode, I get the error message "The source seems encrypted, and can't be read.
Your DVD is probably crypted. According to your country laws, you can or can't use libdvdcss to be able to read this disc. (Media stream scrambled/encrypted)".
I checked that I have libdvdcss installed and even re-installed it.
My next try was with VLC and this time I get sound, but a terrible picture.
I also tried it on a different PC with Ubuntu with the same result (no picture).
My last attempt under Linux was to rip the DVD, but again the same strange image.

Then I tried it as root and it worked. Now can anyone, please, explain this?

It can only mean that playing DVDs as root gives you access to system resources that an ordinary user doesn't have. This could arise from badly installed programs or libraries, or the difference in search path between root and user.

If you run the DVD player software from the command line, you might see some useful error messages printed to the terminal.

markusatlq 10-01-2009 05:44 AM

Quote:

Originally Posted by lutusp (Post 3703056)
It can only mean that playing DVDs as root gives you access to system resources that an ordinary user doesn't have. This could arise from badly installed programs or libraries, or the difference in search path between root and user.

If you run the DVD player software from the command line, you might see some useful error messages printed to the terminal.

Thanks for the suggestion.

I have libdvdcss installed.

Here is my output when I start kaffeine as user:

OpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: faild to read VIDEO_TS.IFO
libdvdnav: Using dvdnav version 1.1.16.3 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav: DVD Title: STAR_TREK_VOYAGER_SEASON_2_D2
libdvdnav: DVD Serial Number: 372e93ac
libdvdnav: DVD Title (Alternative):
libdvdnav: Unable to find map file '/home/mah/.dvdnav/STAR_TREK_VOYAGER_SEASON_2_D2.map'
libdvdnav: DVD disk reports itself with Region mask 0x00f70000. Regions: 4

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000134
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000641a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00006501
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x003a2160
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0


When I start it as root I get:

libdvdnav: Using dvdnav version 1.1.16.3 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Attempting to use device /dev/sda1 mounted on / for CSS authentication
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/root/.dvdnav/.map'
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: faild to read VIDEO_TS.IFO
libdvdnav: Using dvdnav version 1.1.16.3 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav: DVD Title: STAR_TREK_VOYAGER_SEASON_2_D2
libdvdnav: DVD Serial Number: 372e93ac
libdvdnav: DVD Title (Alternative):
libdvdnav: Unable to find map file '/root/.dvdnav/STAR_TREK_VOYAGER_SEASON_2_D2.map'
libdvdnav: DVD disk reports itself with Region mask 0x00f70000. Regions: 4

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000134
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000641a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00006501
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x003a2160
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0


The only difference a diff showed up that seems to matter is that onlý as user I have the following lines:

libdvdread: Could not open /dev/sda1 with libdvdcss.
libdvdread: Can't open /dev/sda1 for reading
libdvdread: Device /dev/sda1 inaccessible, CSS authentication not available.

So apparently libdvdcss cannot access my drive. How could I fix that? And why does it work with other DVDs from the same Season Box?
Could it be a bug in libdvdcss, since it happens both on Suse and Ubuntu?


All times are GMT -5. The time now is 05:04 AM.