annotate DOCS/tech/dvdnav-howto.txt @ 26382:b2f4abcf20ed

Make include paths consistent; do not use ../ in them.
author diego
date Sat, 12 Apr 2008 16:03:07 +0000
parents 46ae8efba443
children 2d8a08e5330f
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
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
12 Now download dvdnav from MPHQ (dvdnav includes its own version of dvdread):
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
13 $ svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav libdvdnav
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
14 $ cd libdvdnav
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
15 $ ./autogen.sh && ./configure && make
25307
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
16 (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
17 $ ./configure2 && make
24308
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
18 install it as root with
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
19 $ make install
2e8eb1808ed6 decerebrated-proof guide to the instalation of dvdnav
nicodvb
parents:
diff changeset
20
25307
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
21 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
22 $ ./configure --disable-dvdread-internal
a961cea10603 warn users to disable dvdread internal (at least for the moment: there's
nicodvb
parents: 25055
diff changeset
23 followed by your preferred parameters.
25307
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
24 After configure is run it should say that support for dvdnav and dvdread was
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
25 enabled. If not, investigate the dvdnav and dvdread sections in configure.log
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
26 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
27 post the two sections to mplayer-users.
24308
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 Notice: Animated menus are working, but still menus and still scenes are not
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
30 yet supported. Also, audio and subtitle language selection by means of menus
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
31 doesn't work yet. Nonetheless they can be switched as usual at any time during
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
32 playback by pressing '#' and 'j' (or the keys you chose to override those two
46ae8efba443 spelling/grammar/wording/formatting
diego
parents: 25071
diff changeset
33 bindings).