annotate DOCS/tech/dvdnav-howto.txt @ 31349:92d75e703bc0

Rename configure.log file to the more standard name config.log.
author diego
date Mon, 14 Jun 2010 15:17:48 +0000
parents e708dca1b539
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25307
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
1 How to compile MPlayer with support for dvdnav:
24308
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
2
25307
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
3 Since the versions of dvdnav and dvdread generally shipped with most Linux
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
4 distributions are outdated and unmaintained remove any traces of dvdnav and
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
5 dvdread from your computer (something like the command below should suffice):
24308
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
6 $ rm -rf /usr/lib/libdvdnav* /usr/lib/libdvdread* /usr/include/dvdnav* \
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
7 /usr/include/dvdread* /usr/local/lib/libdvdnav* \
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
8 /usr/local/lib/libdvdread* /usr/local/include/dvdnav* \
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
9 /usr/local/include/dvdread* /usr/bin/dvdnav-config \
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
10 /usr/local/bin/dvdnav-config
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
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
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
21 $ svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav libdvdnav
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
22 $ cd libdvdnav
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
23 $ ./autogen.sh && ./configure && make
25307
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
24 (or, if you feel brave and want to help us improve the new build system)
25055
960dfb5c68fe mention the new build system
nicodvb
parents: 24308
diff changeset
25 $ ./configure2 && make
24308
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
26 install it as root with
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
27 $ make install
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
28
25307
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
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
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
34 After configure is run it should say that support for dvdnav and dvdread was
31349
92d75e703bc0 Rename configure.log file to the more standard name config.log.
diego
parents: 27015
diff changeset
35 enabled. If not, investigate the dvdnav and dvdread sections in config.log
25307
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
36 and try to understand what went wrong. If you can't solve the problem yourself
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
37 post the two sections to mplayer-users.
24308
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
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
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
41 playback by pressing '#' and 'j' (or the keys you chose to override those two
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
42 bindings).