]> git.sesse.net Git - vlc/commit
New features for libdvdcss: we have three ways now to decode a title key.
authorStéphane Borel <stef@videolan.org>
Sat, 13 Oct 2001 15:34:21 +0000 (15:34 +0000)
committerStéphane Borel <stef@videolan.org>
Sat, 13 Oct 2001 15:34:21 +0000 (15:34 +0000)
commit88a154951c7ed40ebe06896208fab71e91537971
treef6e435f84cfa2c793470341071982aab063f0543
parent563c5e1733a6ea7bb755c683760f45990df81986
New features for libdvdcss: we have three ways now to decode a title key.

1) Crack the title key (the method that was here before). The only change
here is that we search the key for the exact chapter we are seeking with
DVDSetArea (in case the key has changed within a title). It is maybe not a
good idea.

2) Crack the disc key, which allows us to decode instantly all title keys.
I've used an algorithm from Frank Stevenson ; it eats much memory (64MB),
and takes about 15 s at launch time.

3) Decode the disc key with player keys (libcss method). However, you need
licensed player keys at build time for that to work.

To choose between libdvdcss methods, a command line options is supplied:

        vlc --dvdcss <method> where method is one of title, disc, key.

Note that all these changes only work with linux now, since we have to add a
specific ioctl to read title key. I hope that I haven't broken too many things.
17 files changed:
configure
configure.in
extras/libdvdcss/css.c
extras/libdvdcss/css.h
extras/libdvdcss/csstables.h
extras/libdvdcss/ioctl.c
extras/libdvdcss/ioctl.h
extras/libdvdcss/libdvdcss.c
extras/libdvdcss/libdvdcss.h
extras/libdvdcss/videolan/dvdcss.h
include/config.h.in
include/defs.h.in
plugins/dvd/dvd_ifo.c
plugins/dvd/dvd_udf.c
plugins/dvd/input_dvd.c
src/audio_output/aout_spdif.c
src/interface/main.c