24308
|
1 How to compile mplayer with support for dvdnav:
|
|
2
|
|
3 since the versions of dvdnav and dvdread generally shipped with most Linux
|
|
4 distributions are generally outdated and unmaintained remove any piece of
|
|
5 dvdnav and dvdread from your computer (something like the command below
|
|
6 should suffice):
|
|
7 $ rm -rf /usr/lib/libdvdnav* /usr/lib/libdvdread* /usr/include/dvdnav* \
|
|
8 /usr/include/dvdread* /usr/local/lib/libdvdnav* \
|
|
9 /usr/local/lib/libdvdread* /usr/local/include/dvdnav* \
|
|
10 /usr/local/include/dvdread* /usr/bin/dvdnav-config \
|
|
11 /usr/local/bin/dvdnav-config
|
|
12
|
|
13 Now download dvdnav from MPHQ (dvdnav includes its own version of dvdread):
|
|
14 $ svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav libdvdnav
|
|
15 $ cd libdvdnav
|
|
16 $ ./autogen.sh && ./configure && make
|
|
17 install it as root with
|
|
18 $ make install
|
|
19
|
|
20 Cd to MPlyer's source tree and run ./configure with your preferred parameters.
|
|
21 After ./configure is run it should say that support for dvdnav and dvdread was enabled,
|
|
22 otherwise investigate in configure.log the sections relative to the two libraries
|
|
23 and try to understand what went wrong; if you can't solve the problem yourself
|
|
24 post to mplayer-users the two sections.
|
|
25
|
|
26 Notice: animated menus are working, but still menus and still scenes are not yet supported.
|
|
27 Also, audio and subtitle languages selection by means of menus don't work yet, but
|
|
28 they can be switched as usual at any time during playback pressing '#' and 'j'
|
|
29 (or with the keys you chose to override those two bindings).
|