From ArchWiki
Revision as of 09:47, 28 August 2011 by Gadget3000 (talk | contribs)
Jump to: navigation, search



Firstly install libaacs, aacskeys and libbluray-git (/usr/share/java/apache-ant/bin must exist in $PATH while installing libbluray-git).

(Optional) Get KEYDB.cfg from and unzip it into ~/.config/aacs/. Then run
sed -i 's/\([[:xdigit:]]\)\{5,\}/0x&/g' ~/.config/aacs/KEYDB.cfg"
Next, mount the bluray to a directory. eg:
# mount /dev/sr0 /media/blurays
Now the bluray has to be added to the key database so that libaacs can decrypt it. To do this, cd into /usr/share/aacskeys and run:
aacskeys </bluray/mount/dir>
cd /usr/share/aacskeys && aacskeys /media/blurays

Edit ~/.config/aacs/KEYDB.cfg and add the information outputted by aacskeys using this syntax:

0x<unit key file hash> = Film Title    | V | 0x<volume unique key>


To play blurays in mplayer you will need mplayer-bluray installed.

The basic playback command is:

mplayer br:///</bluray/mount/dir>

It is likely that you will need to enable hardware acceleration and multi core CPU support for the bluray to play smoothly. For nvidia cards, enable hardware acceleration using the option '-vo vdpau'. For multi core CPU cupport use '-lavdopts threads=N', where 'N' is the number of cores.

mplayer may start playing the audio in wrong language, in which case you will need to scroll through the playback languages using the '#' key.


Currently vlc only supports bluray playback in development versions, so you will need to install vlc-git.

Start playback with:
vlc bluray://</bluray/mount/dir>

Other Useful Software

For DVD, the libdvdcss package supplies the needed decryption libs. Below are some options for BluRay/HD-DVD decryption users can employ to backup a commercial BluRay movie under Fair Use guidelines:

  • anydvdhd - Commercial software requiring users to run it on an Microsoft OS in a VM.