LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Error cracking CSS key on current, libdvdcss-1.2.10 not working properly (https://www.linuxquestions.org/questions/slackware-14/error-cracking-css-key-on-current-libdvdcss-1-2-10-not-working-properly-906072/)

andrewthomas 10-02-2011 11:12 AM

Error cracking CSS key on current, libdvdcss-1.2.10 not working properly
 
I am having problems with vlc cracking css.

What could be wrong?
Code:

[lxde@slack-antec ~]$ vlc
VLC media player 1.2.0-git Twoflower (revision 1.1.0-pre1-6321-gd405f2c)
[0x1ffd998] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav: DVD Title: AMERICAN_BEAUTY
libdvdnav: DVD Serial Number: 28f65ec0
libdvdnav: DVD Title (Alternative):
libdvdnav: Unable to find map file '/home/lxde/.dvdnav/AMERICAN_BEAUTY.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1

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 0x0000064d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000738
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_0.VOB (0x00000738)
libdvdread: Elapsed time 4
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000298ed
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00308e34
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_0.VOB (0x00308e34)
libdvdread: Elapsed time 2
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00308e38
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_1.VOB (0x00308e38)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x00370760
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_0.VOB (0x00370760)
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x00370764
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_1.VOB (0x00370764)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x00382cc0
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_04_0.VOB (0x00382cc0)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x00382cc4
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_04_1.VOB (0x00382cc4)!!
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x003900a5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x003900a9
libdvdread: Elapsed time 0
libdvdread: Found 5 VTS's
libdvdread: Elapsed time 8
[0x22c1b18] main input error: ES_OUT_RESET_PCR called
[0x22c1b18] main input error: ES_OUT_RESET_PCR called
[0x22c1b18] main input error: ES_OUT_RESET_PCR called
[0x22c1b18] main input error: ES_OUT_RESET_PCR called


Alien Bob 10-02-2011 12:53 PM

Did you install libdvdcss? That is the package which does the actual CSS decryption, not VLC.
VLC (or to be precise, the libdvdread library inside VLC) just calls on libdvdcss to do the work.

Eric

andrewthomas 10-02-2011 02:39 PM

Quote:

Originally Posted by Alien Bob (Post 4488224)
Did you install libdvdcss? That is the package which does the actual CSS decryption, not VLC.
VLC (or to be precise, the libdvdread library inside VLC) just calls on libdvdcss to do the work.

Eric

Yeah.


Code:

[lxde@slack-antec ~]$ find /usr -name *vdcs*
/usr/lib64/libdvdcss.so.2
/usr/lib64/libdvdcss.so.2.1.0
/usr/lib64/pkgconfig/libdvdcss.pc
/usr/lib64/libdvdcss.la
/usr/lib64/libdvdcss.so
/usr/include/dvdcss
/usr/include/dvdcss/dvdcss.h
/usr/doc/libdvdcss-1.2.10
/usr/doc/libdvdcss-1.2.10/libdvdcss.SlackBuild
[lxde@slack-antec ~]$ ls /var/log/packages|grep libdvdcss
libdvdcss-1.2.10-x86_64-1ponce


Cultist 10-02-2011 02:47 PM

Have you tested it with other dvds? Is it just this one that can't be read or is it all of them?

andrewthomas 10-02-2011 03:16 PM

Quote:

Originally Posted by Cultist (Post 4488300)
Have you tested it with other dvds? Is it just this one that can't be read or is it all of them?

Yeah, and that dvd works on other installs.

I just installed a new partition of -current with alien's kde-4.7.1. All my other Slackware installs work as they should.

I have the same problem with any encrypted dvd with all media players that I have installed on this partition.

I have built the libdvdcss package with sbopkg in my k9copy queue, and then tried using the alien restricted_slackbuilds package with no success.

slackass 10-02-2011 10:18 PM

vlcgit / libdvdcss working here.

andrewthomas 10-03-2011 06:07 AM

Error cracking CSS key on current, libdvdcss-1.2.10 not working properly
 
Yes, I agree that vlcgit is not, in any way, part of the problem, just libdvdcss on this particular partition.

I just don't see what the problem could be with such a simple program.

andrewthomas 10-03-2011 06:14 AM

Quote:

Originally Posted by Alien Bob (Post 4488224)
Did you install libdvdcss? That is the package which does the actual CSS decryption, not VLC.
VLC (or to be precise, the libdvdread library inside VLC) just calls on libdvdcss to do the work.

Eric

Eric, I have edited the thread title.

I didn't mean to imply that your vlcgit.Slackbuild was, in any way, responsible for the problem.

Keep up the good work.

disturbed1 10-03-2011 09:42 AM

Remove ~/.dvdnav and/or ~/.dvdcss if they exist.

Are you sharing home directories by any chance?

Quote:

I have built the libdvdcss package with sbopkg in my k9copy queue, and then tried using the alien restricted_slackbuilds package with no success.
libdvdcss-1.2.10-x86_64-1ponce
:confused:
You used sbopkg to compile libdvdcss, or you installed a precompiled package frome Eric? or something else? As it shows you're using Ponce's package.
I doubt Ponce would knowingly put out a faulty package, but it doesn't hurt to double check and IF there's an error let Ponce fix it :)

andrewthomas 10-03-2011 08:02 PM

Quote:

Originally Posted by disturbed1 (Post 4488871)
Remove ~/.dvdnav and/or ~/.dvdcss if they exist.

No ~/.dvdnav.
Deleted ~/.dvdcss, no change.
Quote:

Originally Posted by disturbed1 (Post 4488871)
Are you sharing home directories by any chance?

No.
Quote:

Originally Posted by disturbed1 (Post 4488871)
:confused:
You used sbopkg to compile libdvdcss, or you installed a precompiled package frome Eric? or something else? As it shows you're using Ponce's package.
I doubt Ponce would knowingly put out a faulty package, but it doesn't hurt to double check and IF there's an error let Ponce fix it :)

First, I just built libdvdcss as part of my sbopkg queue.

After I discovered that it was not working, I then did an upgradepkg to eric's binary package. Neither work on this particular install.

I seriously doubt there is anything wrong with either ponce or eric's packages. They work just fine on my other Slackware installs.

I kind of would like to know what I could have possibly done wrong, but since I just installed on this new partition last week I guess that I'll just do it over.

ReaperX7 10-03-2011 08:23 PM

Question:

How new is the DVD you are trying to play?

andrewthomas 10-03-2011 08:31 PM

Quote:

Originally Posted by ReaperX7 (Post 4489269)
Question:

How new is the DVD you are trying to play?

I have tried a bunch of them.

Every single one of them works just fine on a different Slackware install on another machine.

Every single one of them works just fine on a Gentoo partition on the same machine.

ReaperX7 10-03-2011 08:45 PM

Try removing the package for "libdvdcss-1.2.10-x86_64-1_SBo" using removepkg and reinstall it using either the SlackBuild.org script directly and passing ARCH=x86_64 to the libdvdcss.SlackBuild script when running it, or doing a direct from source compile with Make or src2pkg.

andrewthomas 10-03-2011 10:26 PM

The iso that I did the install from was not right.

I burnt another one, re-installed and now libdvdcss works just fine.


All times are GMT -5. The time now is 12:20 AM.