summaryrefslogtreecommitdiffstats
path: root/README
blob: 0ac5c1f33d62f583d5e3fee247bf771b7b21521b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
README for libdvdcss, a portable abstraction library for DVD decryption


Introduction
============

libdvdcss is part of the VideoLAN project, which among other things produces
VLC, a full video client/server streaming solution. VLC can  also be used as
a standalone program to play video streams from a hard disk or a DVD.


Building and Installing libdvdcss
=================================

See the INSTALL file.


Running libdvdcss
=================

The behavior of the library can be changed by setting two environment variables:

  DVDCSS_METHOD={title|disc|key}: method for key decryption
    title: By default the decrypted title key is guessed from the encrypted
           sectors of the stream. Thus it should work with a file as well as
           the DVD device. But decrypting a title key may take too much time
           or even fail. With the title method, the key is only checked at
           the beginning of each title, so it will not work if the key
           changes in the middle of a title.
    disc:  The disc key is cracked first. Afterwards all title keys can be
           decrypted instantly, which allows checking them often.
    key:   The same as the "disc" method if you do not have a file with player
           keys at compile time. If you do, disc key decryption will be faster.
           This is the default method also employed by libcss.
  DVDCSS_VERBOSE={0|1|2}: libdvdcss verbosity
    0: no error messages, no debug messages (this is the default)
    1: only error messages
    2: error and debug messages


Troubleshooting
===============

A mailing-list has been set up for support and discussion about
libdvdcss. Its address is:

   <libdvdcss-devel@videolan.org>

To subscribe or unsubscribe, go to:

   http://mailman.videolan.org/

When reporting bugs, try to be as precise as possible (which OS, which
distribution, what plugins you were trying, and so on).


Resources
=========

The VideoLAN web site at http://www.videolan.org/ is a good start for
information about MPEG and DVD playback. Have a look at the support
section to look for answers.