Difference between revisions of "Blu-ray"

From ArchWiki
Jump to: navigation, search
Line 1: Line 1:
 
{{stub}}
 
{{stub}}
 +
==Playback==
 +
===Preparation===
 +
Firstly install [http://aur.archlinux.org/packages.php?ID=45974 libaacs], [http://aur.archlinux.org/packages.php?ID=45099 aacskeys] and [http://aur.archlinux.org/packages.php?ID=40657 libbluray-git] (/usr/share/java/apache-ant/bin must exist in $PATH while installing libbluray-git).
 +
 +
(Optional) Get KEYDB.cfg from http://forum.doom9.org/attachment.php?attachmentid=11170&d=1276615904 and unzip it into ~/.config/aacs/. Then run <pre>sed -i 's/\([[:xdigit:]]\)\{5,\}/0x&/g' ~/.config/aacs/KEYDB.cfg"</pre>
 +
 +
Next, mount the bluray to a directory. eg: <pre># mount /dev/sr0 /media/blurays</pre>
 +
 +
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: <pre>aacskeys </bluray/mount/dir></pre> eg: <pre>cd /usr/share/aacskeys && aacskeys /media/blurays</pre>
 +
 +
Edit ~/.config/aacs/KEYDB.cfg and add the information outputted by aacskeys using this syntax:
 +
<pre>0x<unit key file hash> = Film Title    | V | 0x<volume unique key></pre>
 +
 +
===mplayer===
 +
To play blurays in mplayer you will need [http://aur.archlinux.org/packages.php?ID=40658 mplayer-bluray] installed.
 +
 +
The basic playback command is:
 +
<pre>mplayer br:///</bluray/mount/dir></pre>
 +
 +
It is likely that you will need to enable hardware acceleration and multi core CPU support for the bluray to play smoothly.
 +
 +
===vlc===
 +
Currently vlc only supports bluray playback in development versions, so you will need to install [http://aur.archlinux.org/packages.php?ID=16084 vlc-git].
 +
 +
Start playback with: <pre>vlc bluray://</bluray/mount/dir></pre>
 +
 +
==Other Useful Software==
  
 
For DVD, the [http://www.archlinux.org/packages/extra/x86_64/libdvdcss 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:
 
For DVD, the [http://www.archlinux.org/packages/extra/x86_64/libdvdcss 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:

Revision as of 09:30, 28 August 2011

Playback

Preparation

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 http://forum.doom9.org/attachment.php?attachmentid=11170&d=1276615904 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>
eg:
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>

mplayer

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.

vlc

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.