HOWTO 901 Bytes
Newer Older
cRTrn13's avatar
cRTrn13 committed
1 2 3 4 5 6 7 8 9 10
====================
HOW TO PATCH MPLAYER
====================

Tested with mplayer svn revision r30230.

1. Get mplayer from repository:

	svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
	
cRTrn13's avatar
cRTrn13 committed
11
2. Change into mplayer/ and apply the patch:
cRTrn13's avatar
cRTrn13 committed
12 13 14 15 16 17 18

	patch -p1 < mplayer.patch

3. Configure mplayer to use libbluray and build it 

	./configure --extra-libs="-ldl -lbluray" && make

cRTrn13's avatar
cRTrn13 committed
19 20 21
4. Copy a libbluray keyfile to mplayer/ and name it keys.bin

5. Run ./mplayer passing it a bd:// url as follows:
cRTrn13's avatar
cRTrn13 committed
22 23 24 25 26

	./mplayer bd://<title>/path/to/disc
	
	e.g.
	
cRTrn13's avatar
cRTrn13 committed
27
	./mplayer bd://1/mnt/BLURAY_DISC	(<-- to play 00001.m2ts on disc /mnt/BLURAY_DISC)
cRTrn13's avatar
cRTrn13 committed
28 29


cRTrn13's avatar
cRTrn13 committed
30 31 32 33
NOTE:
Before running mplayer, you can turn off all libbluray debug messages using 'export BD_DEBUG_MASK=0'.
This will help with performance and clean up your terminal.
You can also use different mplayer options such as caching, different VOs etc to ensure a smooth playback.