core: audio: make ogg missing audio timing workaround more complex
[mplayer/glamo.git] / DOCS / tech / dvdnav-howto.txt
blob4bba42d9755605939d5caeda48e22d3cea00f9f3
1 How to compile MPlayer with support for dvdnav:
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):
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
12 Now download dvdnav from MPHQ libdvdread and libdvdnav (in this order) :
13 $ svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread libdvdread
14 $ cd libdvdread
15 $ ./autogen.sh && ./configure && make
16 (or, if you feel brave and want to help us improve the new build system)
17 $ ./configure2 && make
18 install it as root with
19 $ make install
21 $ svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav libdvdnav
22 $ cd libdvdnav
23 $ ./autogen.sh && ./configure && make
24 (or, if you feel brave and want to help us improve the new build system)
25 $ ./configure2 && make
26 install it as root with
27 $ make install
29 From within the MPlayer source tree run
30 $ ./configure --disable-dvdread-internal
31 followed by your preferred parameters.
32 Be warned that you *MUST* disable MPlayer's internal copy of dvdread or something
33 - most likely - won't work as expected (if at all).
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 config.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.
39 Notice: Audio and subtitle language selection by means of menus doesn't work yet.
40 Nonetheless they can be switched as usual at any time during
41 playback by pressing '#' and 'j' (or the keys you chose to override those two
42 bindings).