Mercurial > mplayer.hg
annotate DOCS/tech/dvdnav-howto.txt @ 30132:e6373560edd1
Add support for JPEG2000 via FFmpeg/OpenJPEG
author | reimar |
---|---|
date | Sun, 03 Jan 2010 00:58:56 +0000 |
parents | e708dca1b539 |
children | 92d75e703bc0 |
rev | line source |
---|---|
25307 | 1 How to compile MPlayer with support for dvdnav: |
24308 | 2 |
25307 | 3 Since the versions of dvdnav and dvdread generally shipped with most Linux |
4 distributions are outdated and unmaintained remove any traces of dvdnav and | |
5 dvdread from your computer (something like the command below should suffice): | |
24308 | 6 $ rm -rf /usr/lib/libdvdnav* /usr/lib/libdvdread* /usr/include/dvdnav* \ |
7 /usr/include/dvdread* /usr/local/lib/libdvdnav* \ | |
8 /usr/local/lib/libdvdread* /usr/local/include/dvdnav* \ | |
9 /usr/local/include/dvdread* /usr/bin/dvdnav-config \ | |
10 /usr/local/bin/dvdnav-config | |
11 | |
27015
e708dca1b539
libdvdnav need libdvdread from the same repository
nicodvb
parents:
26905
diff
changeset
|
12 Now download dvdnav from MPHQ libdvdread and libdvdnav (in this order) : |
e708dca1b539
libdvdnav need libdvdread from the same repository
nicodvb
parents:
26905
diff
changeset
|
13 $ svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread libdvdread |
e708dca1b539
libdvdnav need libdvdread from the same repository
nicodvb
parents:
26905
diff
changeset
|
14 $ cd libdvdread |
e708dca1b539
libdvdnav need libdvdread from the same repository
nicodvb
parents:
26905
diff
changeset
|
15 $ ./autogen.sh && ./configure && make |
e708dca1b539
libdvdnav need libdvdread from the same repository
nicodvb
parents:
26905
diff
changeset
|
16 (or, if you feel brave and want to help us improve the new build system) |
e708dca1b539
libdvdnav need libdvdread from the same repository
nicodvb
parents:
26905
diff
changeset
|
17 $ ./configure2 && make |
e708dca1b539
libdvdnav need libdvdread from the same repository
nicodvb
parents:
26905
diff
changeset
|
18 install it as root with |
e708dca1b539
libdvdnav need libdvdread from the same repository
nicodvb
parents:
26905
diff
changeset
|
19 $ make install |
e708dca1b539
libdvdnav need libdvdread from the same repository
nicodvb
parents:
26905
diff
changeset
|
20 |
24308 | 21 $ svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav libdvdnav |
22 $ cd libdvdnav | |
23 $ ./autogen.sh && ./configure && make | |
25307 | 24 (or, if you feel brave and want to help us improve the new build system) |
25055 | 25 $ ./configure2 && make |
24308 | 26 install it as root with |
27 $ make install | |
28 | |
25307 | 29 From within the MPlayer source tree run |
25071
a961cea10603
warn users to disable dvdread internal (at least for the moment: there's
nicodvb
parents:
25055
diff
changeset
|
30 $ ./configure --disable-dvdread-internal |
a961cea10603
warn users to disable dvdread internal (at least for the moment: there's
nicodvb
parents:
25055
diff
changeset
|
31 followed by your preferred parameters. |
26905
2d8a08e5330f
warn to always disable the internal dvdread; still menus are supported now
nicodvb
parents:
25307
diff
changeset
|
32 Be warned that you *MUST* disable MPlayer's internal copy of dvdread or something |
2d8a08e5330f
warn to always disable the internal dvdread; still menus are supported now
nicodvb
parents:
25307
diff
changeset
|
33 - most likely - won't work as expected (if at all). |
25307 | 34 After configure is run it should say that support for dvdnav and dvdread was |
35 enabled. If not, investigate the dvdnav and dvdread sections in configure.log | |
36 and try to understand what went wrong. If you can't solve the problem yourself | |
37 post the two sections to mplayer-users. | |
24308 | 38 |
26905
2d8a08e5330f
warn to always disable the internal dvdread; still menus are supported now
nicodvb
parents:
25307
diff
changeset
|
39 Notice: Audio and subtitle language selection by means of menus doesn't work yet. |
2d8a08e5330f
warn to always disable the internal dvdread; still menus are supported now
nicodvb
parents:
25307
diff
changeset
|
40 Nonetheless they can be switched as usual at any time during |
25307 | 41 playback by pressing '#' and 'j' (or the keys you chose to override those two |
42 bindings). |