libdvdcss problem

*nix specific usage questions
ermanaricus
New Cone
New Cone
Posts: 2
Joined: 07 Jun 2015 12:57

libdvdcss problem

Postby ermanaricus » 07 Jun 2015 13:05

Hello,
I'm running Fedora 22 on an ASUS X550C laptop with a MATSHITA DVD-RAM UJ8E2 S drive. I've installed libdvdread, libdvdnav and all the codecs (I can play all types of media files fine). The problem is about 90% of DVDs will not play (and they will play on my old computer). I think libdvdcss is where the problem is: I've tried installing different RPMs and compiling it from source and I still have the problem of dvds not playing. If I try to run vlc from the command line I get this:
VLC media player 2.2.2 Weatherwax (revision 2.2.1-0-ga425c42)
[00000000022ba118] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
"sni-qt/3205" WARN 11:55:46.393 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
libdvdnav: Using dvdnav version 5.0.3
*** Zero check failed in src/ifo_read.c:566
for vmgi_mat->zero_6 = 0x0000001000000000000000000000000000000000000000000000000000000000
libdvdnav: DVD Title: <DVD_1864_DISC_1>
libdvdnav: DVD Serial Number: 54CC3DA2APPLEDSP
libdvdnav: DVD Title (Alternative): DVD_1864_DISC_1
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2

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 0x000002b0
libdvdread: Error cracking CSS key for /VIDEO_TS/VIDEO_TS.VOB (0x000002b0)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000380
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_0.VOB (0x00000380)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00017d77
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00163b87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x001652a8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_1.VOB (0x001652a8)!!
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x002b44d0
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_0.VOB (0x002b44d0)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x002b451d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x003f4163
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x003f41bf
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x003f421b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x003f427a
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_07_1.VOB (0x003f427a)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x003f6cb9
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x00163b87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x001652a8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_09_1.VOB (0x001652a8)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x00163b87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x001652a8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_10_1.VOB (0x001652a8)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_0.VOB at 0x00163b87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_1.VOB at 0x001652a8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_11_1.VOB (0x001652a8)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_0.VOB at 0x00163b87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_1.VOB at 0x001652a8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_12_1.VOB (0x001652a8)!!
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_13_0.VOB at 0x00163b87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_13_1.VOB at 0x001652a8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_13_1.VOB (0x001652a8)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_14_0.VOB at 0x00163b87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_14_1.VOB at 0x001652a8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_14_1.VOB (0x001652a8)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_15_0.VOB at 0x00163b87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_15_1.VOB at 0x001652a8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_15_1.VOB (0x001652a8)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_16_0.VOB at 0x00163b87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_16_1.VOB at 0x001652a8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_16_1.VOB (0x001652a8)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_17_0.VOB at 0x00163b87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_17_1.VOB at 0x001652a8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_17_1.VOB (0x001652a8)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_18_0.VOB at 0x00163b87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_18_1.VOB at 0x001652a8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_18_1.VOB (0x001652a8)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_19_0.VOB at 0x00163b87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_19_1.VOB at 0x001652a8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_19_1.VOB (0x001652a8)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_20_0.VOB at 0x00163b87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_20_1.VOB at 0x001652a8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_20_1.VOB (0x001652a8)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_21_0.VOB at 0x00163b87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_21_1.VOB at 0x001652a8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_21_1.VOB (0x001652a8)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_22_0.VOB at 0x00163b87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_22_1.VOB at 0x001652a8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_22_1.VOB (0x001652a8)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_23_0.VOB at 0x00163b87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_23_1.VOB at 0x001652a8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_23_1.VOB (0x001652a8)!!
libdvdread: Elapsed time 0
libdvdread: Found 23 VTS's
libdvdread: Elapsed time 2
[00007f8db4004ef8] core input error: ES_OUT_RESET_PCR called
[00007f8db4004ef8] core input error: ES_OUT_RESET_PCR called
[00007f8d8c000e28] dvdnav demux warning: cannot get next block (Error reading from DVD.)
[00007f8db4004ef8] core input error: ES_OUT_RESET_PCR called
[00007f8db4004ef8] core input error: ES_OUT_RESET_PCR called
[00007f8d8c000e28] dvdnav demux warning: cannot get next block (Error reading from DVD.)
Anyone know what's going wrong? I'd greatly appreciate any help!

Many thanks!

ermanaricus
New Cone
New Cone
Posts: 2
Joined: 07 Jun 2015 12:57

Re: libdvdcss problem

Postby ermanaricus » 07 Jun 2015 15:52

Never mind -- turned out the DVD player region wasn't set and this caused the problem. Fixed it with the regionset package.

Oceanrocker
New Cone
New Cone
Posts: 8
Joined: 28 Jun 2015 17:53

Re: libdvdcss problem - reloaded

Postby Oceanrocker » 28 Jun 2015 18:08

Hi there,

I do have the very same Problem as listed above on my Laptop (ThinkPad T520), Debian 8 Jessie.

This is an interesting issue as there is a "Windows 7 Professional" Partition on that very same unit I rarely use.
Turns out VLC for Windows Plays all DVDs without any issue on the VERY SAME DVD drive.
Means that the playpack routines / libdvdcss used in Windows differ from those used in Debian 8 Jessie.
With all due respect, I do OWN them DVDs and I disagree in chaging codes or Firmware or whatever in order to match my DVDs.
Using Windows in not an Option on the long shot. Regionset package is not an Option (Player is set to Region code 0).
I am NOT willing to Region code my DVD drive. I am a seaman and I am literaly forced to BUY my DVDs all over the world.
On my other (old) Laptop a Debian 7 Wheezy is working WITHOUT any Region code set on the DVD drive.

Any ideas, hints, Workarounds?
Any help is highly appreciated.

Cheers,
Oceanrocker

Oceanrocker
New Cone
New Cone
Posts: 8
Joined: 28 Jun 2015 17:53

update - step by step

Postby Oceanrocker » 28 Jun 2015 21:21

see new thread - this is no longer a libdvdcss issue

Turns out those http://www.deb-multimedia.org packages are compiled with region code request to the DVD device.
This might be essential to some countries where this might be needed?
To solve this issue one need to remove those files obtained from http://www.deb-multimedia.org.
Before one follows the steps listed here: https://forum.videolan.org/viewtopic.php?f=13&t=70719
Ensure you have an internet connection set as you will need to optain packages from the net.
Make sure that NOTHING refers to deb-multimedia in your sources list.
Ensure videolan repository is set in your sources.list and the keyring is updated.
As sudo is NOT part of a classic debian installation you will have to su for root access.
Make sure all distribution packages are available
In oder to have this set just

Code: Select all

apt-update
and

Code: Select all

apt-upgrade
.
A hash at the beginning of the line also commands an entry out (disables it)
Please be aware of the fact that:

Code: Select all

apt-get remove libavutil*
removes your desktop environment.
That might sound dangerous but it is not:
1. after entering above command the machine will prompt for confirmation.
2. copy the list of files that are going to be removed (mark them with your mouse pointer an then copy from console:

Code: Select all

[Shift+Ctrl+C]

3. ensure that your self installed packages (such as e.g. Skype) are at hand (e.g. download directory)
3. open gedit and paste into a new document
4. remove all carriage returns and line feeds from that document
5. save it to e.g. myfiles.txt
6. mark all and copy into clipboard
7. This operation deletes half of your operating system.
8. now reinstall from the original sources

Code: Select all

apt-get install [Shift+Ctrl+V]
9. your self installed packages will cause an error in case they are not in the repositorys in order to fix this just go up with the cursor to have the previous command. Go back with the cursor and delete those packages and wirte down what you have to install later. Repeat this until the system prompts for confirmation.
10. Install previously self installed packages (those that your system could not download from the sources and you noted before) - in case you forgot - just scroll up and check
11. upon completion please restart your system

Code: Select all

init 6
12. It is possible that the system does not come back with an active x-Server. Switch to console e.g.

Code: Select all

[Ctrl+Alt+F1]
and log in.
13. Start X-Server

Code: Select all

startx
. This will most likely start a gnome session. Restart the computer now from the gnome session.
14. Your machine should come up with x-server running now. If necessary alter to your favorite desktop environment.
15. Above step might be necessary twice. You should be all set.

This made my machine playback all kinds of DVDs. Still the issue with slow playback on one specific DVD persists on my machine (see Debian 8 issue thread).

Hope this helps if one has the same issue I had.
No warranties though ;-)

Oceanrocker

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: libdvdcss problem

Postby Jean-Baptiste Kempf » 16 Jul 2015 15:21

DO NOT USE DEBIAN-MULTIMEDIA.

Then, upgrade libdvdread and libdvdnav
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: anurag_verma and 7 guests