annotate DOCS/cd-dvd.html @ 4982:6cb9d9a1716d

HTML: different font handling - idea from new hp dezign ocassional misc fixes
author gabucino
date Thu, 07 Mar 2002 17:55:34 +0000
parents 9b2b09d3ff8b
children a24e39bf2776
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4398
4039f5580f76 -chapter option updates (and some else?)
gabucino
parents: 4177
diff changeset
1
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
2 <HTML>
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
3
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
4 <HEAD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
5 <STYLE>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
6 .text
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
7 {font-family : Verdana, Arial, Helvetica, sans-serif;
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
8 font-size : 14px;}
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
9 </STYLE>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
10 </HEAD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
11
1704
a2e1432f7ac3 Arial font
gabucino
parents: 1702
diff changeset
12 <BODY BGCOLOR=white>
a2e1432f7ac3 Arial font
gabucino
parents: 1702
diff changeset
13
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
14 <FONT CLASS="text">
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
15
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
16 <P><B><A NAME=4.1>4.1. CD-ROM drives</A></B></P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
17
1867
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
18 <P>Playing standard Video CDs:</P>
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
19
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
20 <P>
4634
bd379eaac1ab applied Alban Bedel's patch (-dvd-device and -cdrom-device)
gabucino
parents: 4398
diff changeset
21 mplayer -vcd <I>trackno</I> [-cdrom-device device]<BR><BR>
1867
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
22 Examples:<BR>
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
23 mplayer -vcd 1<BR>
4634
bd379eaac1ab applied Alban Bedel's patch (-dvd-device and -cdrom-device)
gabucino
parents: 4398
diff changeset
24 mplayer -fs -vcd 2 -cdrom-device /dev/hdc<BR>
1867
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
25 </P>
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
26
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
27 <P>
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
28 Notes:<BR>
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
29 - Do NOT mount VCD disks and play DAT files directly! It may work under windows
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
30 but won't work under linux. You have to play them directly, with the -vcd
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
31 option!<BR>
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
32 - VCD disks usually have 2 tracks: a data track (containing autostart windows
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
33 playback program, karaoke data etc) and a mode-2 track (the movie), so try
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
34 -vcd 2 first!<BR>
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
35 - the default VCD device is /dev/cdrom. if your device differs, then you have
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
36 to make a symlink, or specify it in command line!
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
37 </P>
10b7d524e39b some words about VCD
arpi
parents: 1731
diff changeset
38
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
39 <P>From Linux documentation:</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
40
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
41 <P>Some CDROM drives are capable of changing their head-speed. There are several
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
42 reasons for changing the speed of a CDROM drive. Badly pressed CDROMs may
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
43 benefit from less-than-maximum head rate. Modern CDROM drives can obtain very
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
44 high head rates (up to 24-times is common). It has been reported that these
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
45 drives can make reading errors at these high speeds, reducing the speed can
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
46 prevent data loss in these circumstances. Finally, some of these drives can
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
47 make an annoyingly loud noise, which a lower speed may reduce.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
48
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
49 <P>The recommended way to do it is with a program called 'setcd' . It's kinda
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
50 old, but won't be too hard to find on the Net. (UPDATE : new hdparm
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
51 has an option for this !)
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
52 Use it with :</P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
53
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
54 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>setcd -x [speed] [cdrom device]</CODE></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
55
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
56 <P>Also you can try:</P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
57
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
58 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>echo current_speed:4 >/proc/ide/[cdrom device]/settings</CODE></P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
59
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
60 <P>but you'll need root privileges. I use following command too:</P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
61
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
62 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>echo file_readahead:2000000 >/proc/ide/[cdrom device]/settings</CODE></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
63
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
64 <P>for 2MB prefetched reading from the file (it's useful for scratched CDROMs).
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
65 It's recommended that you tuneup your CDROM drive also with hdparm:</P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
66
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
67 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>hdparm -d1 -a8 -u1 (cdrom device)</CODE></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
68
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
69 <P>to enable using DMA access, readahead, and IRQ unmasking.
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
70 (if you don't understand these, *read the hdparm manpage*)</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
71
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
72 <P>Please refer to "<CODE>/proc/ide/[cdrom device]/settings</CODE>" for fine-tuning your
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
73 CDROM.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
74
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
75 <P><B><A NAME=4.2>4.2. DVD playback</A></B></P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
76
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
77 <P>Yes, the real DVD support has been arrived. You don't need to play VOB files
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
78 manually from disk thinking of the purpose of a file in the video_ts
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
79 directory, you don't need worry it it's an encrypted disk or not (in old
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
80 <B>MPlayer</B> you had to put '-dvdauth /dev/dvd' into the command line in case
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
81 of encrypted discs), and you don't need even mount your disk to be able to
4057
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
82 play (but mounting it makes Linux cache the cracked CSS keys, so the playing
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
83 will initialize much faster second time).</P>
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
84
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
85 <P>IMPORTANT NOTE: please _DO_NOT_ require further features for DVD playback.
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
86 This is the first version of some real DVD support inside <B>MPlayer</B> and
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
87 we're busy with hunting bugs and implementing basic DVD player features.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
88
2001
05189dbfb847 more fixes
gabucino
parents: 1987
diff changeset
89 <P><B>MPlayer</B> uses libdvdread which has got built in support for IFO
05189dbfb847 more fixes
gabucino
parents: 1987
diff changeset
90 parsing, reading navi blocks and doing authentication/descrambling. libdvdread
05189dbfb847 more fixes
gabucino
parents: 1987
diff changeset
91 uses libdvdcss to the latter tasks. So you will need libdvdcss and libdvdread
05189dbfb847 more fixes
gabucino
parents: 1987
diff changeset
92 downloaded, compiled and installed BEFORE you run ./configure script of
05189dbfb847 more fixes
gabucino
parents: 1987
diff changeset
93 <B>MPlayer</B> which will autodetect libdvdread for you in this way.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
94
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
95 <UL>
2001
05189dbfb847 more fixes
gabucino
parents: 1987
diff changeset
96 <LI><P><B>Download source of libdvdread and libdvdcss.</B></P>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
97
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
98 <P><I>You can download them from
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
99 <A HREF="http://www.dtek.chalmers.se/groups/dvd">http://www.dtek.chalmers.se/groups/dvd</A>
2001
05189dbfb847 more fixes
gabucino
parents: 1987
diff changeset
100 (click 'download' in the menu at the left, and you can find libdvdcss and
3350
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
101 libdvdread in a table).</I></P>
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
102
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
103 <P><B><I>IMPORTANT !</I></B><BR>
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
104 For
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
105 <UL>
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
106 <LI>libdvdread 0.8 - you'll need <B>libcss</B> instead of libdvdcss</LI>
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
107 <LI>libdvdread 0.9 - you'll need <B>libdvdcss 0.0.3</B> ! Don't use newer
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
108 versions, they won't work!</LI>
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
109 <LI>For example <B><U>never</U></B> use libdvdcss <B>1.0</B>, it will be unusably slow!</LI>
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
110 </UL>
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
111 </P>
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
112 </LI>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
113
2001
05189dbfb847 more fixes
gabucino
parents: 1987
diff changeset
114 <LI><P><B>Compile and install libdvdcss THEN libdvdread.</B></P>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
115
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
116 <P><I>Read documentation of these packages to do this step easily.</I></P></LI>
4057
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
117
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
118 <LI><P><B>Old-style DVD support - <I>OPTIONAL</I></B></P>
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
119
4177
cab4ac1467e4 many small updates
gabucino
parents: 4057
diff changeset
120 <P><I>Useful if you want to play encoded VOB's from hard disk. Compile and
cab4ac1467e4 many small updates
gabucino
parents: 4057
diff changeset
121 install <B>libcss</B> 0.0.1 (not newer) (if <B>MPlayer</B> can't detect
cab4ac1467e4 many small updates
gabucino
parents: 4057
diff changeset
122 it, use the <CODE>-csslib /path/to/libcss.so</CODE> option).</P></LI>
4057
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
123
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
124 <LI><P><B>Recompile MPlayer.</B></P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
125
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
126 <P><I>Run <CODE>./configure</CODE>. If you install libdvdread correctly, ./configure
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
127 says something similar:<BR><CODE>Checking for DVDread support ... yes</CODE><BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
128 (Of course you can put your favourite configure options into the command
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
129 line when you run ./configure). That's it! Say: <CODE>make</CODE>, then <CODE>make install</CODE>.</I></P></LI>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
130 </UL>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
131
2001
05189dbfb847 more fixes
gabucino
parents: 1987
diff changeset
132 <P>Of course after installing libdvdcss and libdvdread you don't need recompile
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
133 them at each time when you want to recompile <B>MPlayer</B> (from a new CVS version
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
134 for example) since the needed packages have already been installed on your
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
135 machine.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
136
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
137 <P><B>Using MPlayer to play DVDs:</B></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
138
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
139
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
140 <TABLE BORDER=0 WIDTH=100%>
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
141 <TD VALIGN=top><FONT CLASS="text">-dvd &lt;title_id&gt;&nbsp;</TD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
142 <TD><FONT CLASS="text">Enables DVD support and selects title.</TD><TR>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
143 <TD VALIGN=top><FONT CLASS="text">-chapter &lt;chapter_id&gt;&nbsp;</TD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
144 <TD><FONT CLASS="text">Selects DVD chapter(s) to play (default: play from chapter 1).
4398
4039f5580f76 -chapter option updates (and some else?)
gabucino
parents: 4177
diff changeset
145 Example : <CODE>-chapter 5-10</CODE> or <CODE>-chapter -9</CODE></TD><TR>
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
146 <TD VALIGN=top><FONT CLASS="text">-dvdangle &lt;angle_id&gt;&nbsp;</TD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
147 <TD><FONT CLASS="text">Selects camera angle (default: 1)</TD><TR>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
148 <TD VALIGN=top><FONT CLASS="text">-alang &lt;country code&gt;&nbsp;</TD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
149 <TD><FONT CLASS="text">
3796
590a8b8ac78e documentation of -alang -slang added
gabucino
parents: 3530
diff changeset
150 The <CODE>country code</CODE> tells <B>MPlayer</B> which audio language(s) to prefer.
590a8b8ac78e documentation of -alang -slang added
gabucino
parents: 3530
diff changeset
151 For the list of available languages, add <CODE>-v</CODE> option after
590a8b8ac78e documentation of -alang -slang added
gabucino
parents: 3530
diff changeset
152 your DVD options, and browse the output.<BR>
590a8b8ac78e documentation of -alang -slang added
gabucino
parents: 3530
diff changeset
153 For example :<BR>
3799
f41bbaebcea3 not us, but en.
gabucino
parents: 3796
diff changeset
154 &nbsp;&nbsp;<CODE>-alang hu,en</CODE> - first tries to find hungarian
3796
590a8b8ac78e documentation of -alang -slang added
gabucino
parents: 3530
diff changeset
155 audio, and if not found, decode english audio.</TD></TR>
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
156 <TD VALIGN=top><FONT CLASS="text">-slang &lt;country code&gt;&nbsp;</TD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
157 <TD><FONT CLASS="text">
3796
590a8b8ac78e documentation of -alang -slang added
gabucino
parents: 3530
diff changeset
158 Turns on DVD subtitles. The <CODE>country code</CODE> tells <B>MPlayer</B>
590a8b8ac78e documentation of -alang -slang added
gabucino
parents: 3530
diff changeset
159 which language(s) to prefer.
590a8b8ac78e documentation of -alang -slang added
gabucino
parents: 3530
diff changeset
160 For the list of available languages, add <CODE>-v</CODE> option after
590a8b8ac78e documentation of -alang -slang added
gabucino
parents: 3530
diff changeset
161 your DVD options, and browse the output.<BR>
590a8b8ac78e documentation of -alang -slang added
gabucino
parents: 3530
diff changeset
162 For example :<BR>
3799
f41bbaebcea3 not us, but en.
gabucino
parents: 3796
diff changeset
163 &nbsp;&nbsp;<CODE>-slang hu,en</CODE> - first tries to display hungarian
3796
590a8b8ac78e documentation of -alang -slang added
gabucino
parents: 3530
diff changeset
164 subtitles, and if not found, display english subtitles.</TD></TR>
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
165 <TD VALIGN=top><FONT CLASS="text">-sid &lt;subtitle_id&gt;&nbsp;</TD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
166 <TD><FONT CLASS="text">
3796
590a8b8ac78e documentation of -alang -slang added
gabucino
parents: 3530
diff changeset
167 Displays a subtitle channel with the given <CODE>id</CODE> (values can be
590a8b8ac78e documentation of -alang -slang added
gabucino
parents: 3530
diff changeset
168 0-31). Useful for example with badly mastered DVDs where country code
4057
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
169 selects the wrong channel.</TD></TR>
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
170 <TD VALIGN=top><FONT CLASS="text">-csslib &lt;path/filename&gt;</TD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
171 <TD><FONT CLASS="text">
4057
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
172 (old-style DVD option) This option is used to override the default location
4177
cab4ac1467e4 many small updates
gabucino
parents: 4057
diff changeset
173 of <CODE>libcss.so</CODE>
4057
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
174 </TD></TR>
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
175 <TD VALIGN=top><FONT CLASS="text">-dvdauth &lt;DVD device&gt;&nbsp;</TD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
176 <TD><FONT CLASS="text">
4057
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
177 (old-style DVD option) Turns on DVD authentication using the given device.
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
178 </TD></TR>
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
179 <TD VALIGN=top><FONT CLASS="text">-dvdkey &lt;CSS key&gt;</TD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
180 <TD><FONT CLASS="text">
4057
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
181 (old-style DVD option) When decoding from non-DVD, this option gives the
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
182 CSS key needed to crack the DVD (the key is printed when authenticating
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
183 with DVD).
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
184 </TD></TR>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
185 </TABLE>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
186
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
187 <P>Default device is <CODE>/dev/dvd</CODE>, you can change it in config.h
4634
bd379eaac1ab applied Alban Bedel's patch (-dvd-device and -cdrom-device)
gabucino
parents: 4398
diff changeset
188 (compile time option), or you can specify it using the -dvd-device option :
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
189 </P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
190
4634
bd379eaac1ab applied Alban Bedel's patch (-dvd-device and -cdrom-device)
gabucino
parents: 4398
diff changeset
191 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvd 1 -dvd-device /dev/dvd</CODE></P>
bd379eaac1ab applied Alban Bedel's patch (-dvd-device and -cdrom-device)
gabucino
parents: 4398
diff changeset
192 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvd 1 -slang en -dvd-device /dev/dvd</CODE></P>
bd379eaac1ab applied Alban Bedel's patch (-dvd-device and -cdrom-device)
gabucino
parents: 4398
diff changeset
193 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvd 1 -slang en -dvd-device /dev/dvd -chapter 20-25</CODE></P>
4057
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
194 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvd 2 -alang sp -chapter 5 -dvdangle 2</CODE></P>
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
195 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvdauth /dev/dvd /mnt/cd/video_ts/vts_03_1.vob</CODE></P>
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
196 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvdkey C005D4A16D vts_03_1.vob</CODE></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
197
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
198 <P><B><A NAME=4.3>4.3. DVD playback FAQ</A></B></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
199
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
200 <TABLE BORDER=0 ALIGN=left WIDTH=100%>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
201
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
202 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT CLASS="text">
3350
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
203 Playing a DVD, I encountered this error :<BR>
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
204 <CODE>mplayer: ifo_read.c:1143: ifoRead_C_ADT_internal: Assertion nfo_length /
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
205 sizeof(cell_adr_t) >= c_adt->nr_of_vobs' failed.</CODE>
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
206 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT CLASS="text">
3350
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
207 This is a known libdvdread 0.9.1 bug, it should be already fixed in 0.9.2.
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
208 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
5ae3895b5b28 libdvdread + lib(dvd)css version number problems
gabucino
parents: 2754
diff changeset
209
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
210 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT CLASS="text">
2001
05189dbfb847 more fixes
gabucino
parents: 1987
diff changeset
211 Can I compile libdvdread and libdvdcss for example on my sweet Sparc/Solaris?
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
212 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT CLASS="text">
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
213 Who knows ... Please test it and send feedback. But it's said that it
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
214 should work. Please refer documentation of libdvdread and its homepage
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
215 as well. We're not authors of libdvdread.
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
216 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
217
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
218 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT CLASS="text">
3488
44d5eb5f3a7d -sid works now
gabucino
parents: 3350
diff changeset
219 What about subtitles? Can MPlayer display them?
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
220 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT CLASS="text">
3488
44d5eb5f3a7d -sid works now
gabucino
parents: 3350
diff changeset
221 Yes! See above in the DVD chapter.
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
222 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
223
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
224 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT CLASS="text">
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
225 How can I set the region code of my DVD-Drive ? I don't have windows!
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
226 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT CLASS="text">
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
227 Use the 'regionset' tool:
1731
07e2dfca67a3 can't stop commiting :)
gabucino
parents: 1704
diff changeset
228 <A HREF="http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz">http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz</A>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
229 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
230
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
231 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT CLASS="text">
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
232 So MPlayer can play DVDs? Then it must use DeCSS! You are under arrest
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
233 under the XYZ#$ paragraph of the--
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
234 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT CLASS="text">
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
235 Get back asshole, there is no DeCSS code in <B>MPlayer</B>. <B>MPlayer</B> uses libdvdread
2754
9588821f3262 updated decss status (huh?)
gabucino
parents: 2120
diff changeset
236 by linking against it, and libdvdread uses libdvdcss by dynamic loading it.<BR>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
237 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
238
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
239 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT CLASS="text">
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
240 Do I need to be (setuid) root/setuid fibmap_mplayer to be able to play DVD?
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
241 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT CLASS="text">
4057
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
242 No, you don't. Only for old-style DVD support. However of course you must have
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
243 the proper rights to the DVD device driver entry (in /dev).
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
244 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
245
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
246 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT CLASS="text">
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
247 How can I ... (insert some expectable DVD player feature here)?
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
248 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT CLASS="text">
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
249 The current implementation is the first implementation of some real DVD
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
250 player functionality. First, we would like to target existing bugs and
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
251 basic features before implementing new features.
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
252 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
253
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
254 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT CLASS="text">
2001
05189dbfb847 more fixes
gabucino
parents: 1987
diff changeset
255 Where can I get libdvdread and libdvdcss packages from?
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
256 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT CLASS="text">
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
257 From the site of Ogle:
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
258 <A HREF="http://www.dtek.chalmers.se/groups/dvd">http://www.dtek.chalmers.se/groups/dvd</A>.
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
259 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
4398
4039f5580f76 -chapter option updates (and some else?)
gabucino
parents: 4177
diff changeset
260
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
261 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT CLASS="text">
4398
4039f5580f76 -chapter option updates (and some else?)
gabucino
parents: 4177
diff changeset
262 Is it possible to play/encode only selected chapters ?
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
263 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT CLASS="text">
4398
4039f5580f76 -chapter option updates (and some else?)
gabucino
parents: 4177
diff changeset
264 Yes, see the <CODE>-chapter</CODE> option.
4039f5580f76 -chapter option updates (and some else?)
gabucino
parents: 4177
diff changeset
265 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
4039f5580f76 -chapter option updates (and some else?)
gabucino
parents: 4177
diff changeset
266
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
267 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT CLASS="text">
4908
9b2b09d3ff8b strike period over, commiting stuff. next commit will be rewrite. (?)
gabucino
parents: 4634
diff changeset
268 My DVD playing is sluggish !
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
269 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT CLASS="text">
4908
9b2b09d3ff8b strike period over, commiting stuff. next commit will be rewrite. (?)
gabucino
parents: 4634
diff changeset
270 Use the <CODE>-cache</CODE> option (see the manpage!). If it still doesn't
9b2b09d3ff8b strike period over, commiting stuff. next commit will be rewrite. (?)
gabucino
parents: 4634
diff changeset
271 work, check the beginning of this documentaion for proper
9b2b09d3ff8b strike period over, commiting stuff. next commit will be rewrite. (?)
gabucino
parents: 4634
diff changeset
272 libdvdread+libdvdcss combinations. Also try enabling DMA for the DVD drive.
9b2b09d3ff8b strike period over, commiting stuff. next commit will be rewrite. (?)
gabucino
parents: 4634
diff changeset
273 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
9b2b09d3ff8b strike period over, commiting stuff. next commit will be rewrite. (?)
gabucino
parents: 4634
diff changeset
274
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
275 </TABLE>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
276
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
277 </BODY>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
278 </HTML>