Mercurial > mplayer.hg
annotate DOCS/tech/dvdnav-howto.txt @ 25376:382aeacc771f
The buffer used for pread need be aligned, but currently it got an offset 23
to the structure head. This will cause the pread always got random data
on some machines (such as my iMac G5 PPC with 10.5 os) so can not play vcd.
I also tried use DKIOCCDREAD ioctl call, but the result is same -- buffer need
be aligned. It could be a bug of os x or its dev lib.
Now fix this problem by move the buffer to a good aligned position in structure.
author | ulion |
---|---|
date | Sat, 15 Dec 2007 12:17:51 +0000 |
parents | 46ae8efba443 |
children | 2d8a08e5330f |
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 | |
12 Now download dvdnav from MPHQ (dvdnav includes its own version of dvdread): | |
13 $ svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav libdvdnav | |
14 $ cd libdvdnav | |
15 $ ./autogen.sh && ./configure && make | |
25307 | 16 (or, if you feel brave and want to help us improve the new build system) |
25055 | 17 $ ./configure2 && make |
24308 | 18 install it as root with |
19 $ make install | |
20 | |
25307 | 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 | 24 After configure is run it should say that support for dvdnav and dvdread was |
25 enabled. If not, investigate the dvdnav and dvdread sections in configure.log | |
26 and try to understand what went wrong. If you can't solve the problem yourself | |
27 post the two sections to mplayer-users. | |
24308 | 28 |
25307 | 29 Notice: Animated menus are working, but still menus and still scenes are not |
30 yet supported. Also, audio and subtitle language selection by means of menus | |
31 doesn't work yet. Nonetheless they can be switched as usual at any time during | |
32 playback by pressing '#' and 'j' (or the keys you chose to override those two | |
33 bindings). |