annotate DOCS/cd-dvd.html @ 7579:24860f7c716f

change i18n to autodetect
author pontscho
date Wed, 02 Oct 2002 09:24:34 +0000
parents 3275af5787e0
children 427935644581
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6405
d0f408a8b150 Background color now set by CSS, added doctype and charset, misc HTML fixes
diego
parents: 6393
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
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>
6882
f3f87f6bf5cf Added a uniform title: something - MPlayer - The Movie Player for Linux.
diego
parents: 6879
diff changeset
5 <TITLE>CD, DVD, VCD - MPlayer - The Movie Player for Linux</TITLE>
6391
4e5c236ade69 small updates
gabucino
parents: 6252
diff changeset
6 <LINK REL="stylesheet" TYPE="text/css" HREF="default.css">
6405
d0f408a8b150 Background color now set by CSS, added doctype and charset, misc HTML fixes
diego
parents: 6393
diff changeset
7 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
8 </HEAD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4908
diff changeset
9
6405
d0f408a8b150 Background color now set by CSS, added doctype and charset, misc HTML fixes
diego
parents: 6393
diff changeset
10 <BODY>
1704
a2e1432f7ac3 Arial font
gabucino
parents: 1702
diff changeset
11
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
12
7047
4f87cd0f642f Converted the docs to use proper headings tags.
diego
parents: 7043
diff changeset
13 <H2><A NAME="drives">4.1 CD/DVD drives</A></H2>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
14
6877
diego
parents: 6405
diff changeset
15 <P>Linux documentation excerpt:</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
16
6878
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
17 <P>Modern CD-ROM drives can attain very high head speeds, yet some CD-ROM drives
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
18 are capable of running at reduced speeds. There are several reasons that might
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
19 make you consider changing the speed of a CD-ROM drive:</P>
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
20
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
21 <UL>
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6909
diff changeset
22 <LI>There have been reports of read errors at these high speeds, especially
6878
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
23 with badly pressed CD-ROMs. Reducing the speed can prevent data loss under
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
24 these circumstances.</LI>
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
25 <LI>Many CD-ROM drives are annoyingly loud, a lower speed may reduce the
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
26 noise.</LI>
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
27 </UL>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
28
6877
diego
parents: 6405
diff changeset
29 <P>You can reduce the drive speed with hdparm or a program called setcd.
diego
parents: 6405
diff changeset
30 It works like this:</P>
diego
parents: 6405
diff changeset
31
diego
parents: 6405
diff changeset
32 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>hdparm -E [speed] [cdrom device]</CODE></P>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
33
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
34 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>setcd -x [speed] [cdrom device]</CODE></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
35
6877
diego
parents: 6405
diff changeset
36 <P>You can also try</P>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
37
7076
3275af5787e0 Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents: 7048
diff changeset
38 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>echo current_speed:4 &gt; /proc/ide/[cdrom device]/settings</CODE></P>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
39
6877
diego
parents: 6405
diff changeset
40 <P>but you will need root privileges. The following command may also help:</P>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
41
7076
3275af5787e0 Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents: 7048
diff changeset
42 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>echo file_readahead:2000000 &gt; /proc/ide/[cdrom device]/settings</CODE></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
43
6877
diego
parents: 6405
diff changeset
44 <P>This sets prefetched file reading to 2MB, which helps with scratched CD-ROMs.
diego
parents: 6405
diff changeset
45 It is recommended that you also tune your CD-ROM drive with hdparm:</P>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
46
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
47 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>hdparm -d1 -a8 -u1 (cdrom device)</CODE></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
48
6877
diego
parents: 6405
diff changeset
49 <P>This enables DMA access, read-ahead, and IRQ unmasking (read the hdparm man
diego
parents: 6405
diff changeset
50 page for a detailed explanation).</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
51
6877
diego
parents: 6405
diff changeset
52 <P>Please refer to "<CODE>/proc/ide/[cdrom device]/settings</CODE>" for
diego
parents: 6405
diff changeset
53 fine-tuning your CD-ROM.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
54
6878
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
55
7047
4f87cd0f642f Converted the docs to use proper headings tags.
diego
parents: 7043
diff changeset
56 <H2><A NAME="dvd">4.2 DVD playback</A></H2>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
57
5859
a24e39bf2776 updated DVD documentation for libmpdvdkit
gabucino
parents: 4982
diff changeset
58 <P><B>MPlayer</B> uses <CODE>libdvdread</CODE> and <CODE>libdvdcss</CODE> for
6877
diego
parents: 6405
diff changeset
59 DVD decryption and playback. These two libraries are contained in the
diego
parents: 6405
diff changeset
60 <CODE>libmpdvdkit/</CODE> subdirectory of the <B>MPlayer</B> source tree, you
diego
parents: 6405
diff changeset
61 do not have to install them separately. We opted for this solution because
5859
a24e39bf2776 updated DVD documentation for libmpdvdkit
gabucino
parents: 4982
diff changeset
62 we had to fix a libdvdread bug, and apply a patch which adds
6877
diego
parents: 6405
diff changeset
63 <B>cracked CSS keys caching support</B> to libdvdcss. This results in a large
diego
parents: 6405
diff changeset
64 speed increase because the keys do not have to be cracked every time before
diego
parents: 6405
diff changeset
65 playing. The cracked keys are stored in the
diego
parents: 6405
diff changeset
66 <CODE>~/.mplayer/DVDKeys</CODE> directory.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
67
6877
diego
parents: 6405
diff changeset
68 <P><B>MPlayer</B> can also use system-wide <CODE>libdvdread</CODE> and
diego
parents: 6405
diff changeset
69 <CODE>libdvdcss</CODE> libraries, but this solution is <B>not</B> recommended,
diego
parents: 6405
diff changeset
70 as it can result in bugs, library incompatibilities, and slower speed.</P>
diego
parents: 6405
diff changeset
71
diego
parents: 6405
diff changeset
72 <P>Support for DVD navigation via <CODE>dvdnav</CODE> is being worked on, but
diego
parents: 6405
diff changeset
73 not finished yet.</P>
4057
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
74
7047
4f87cd0f642f Converted the docs to use proper headings tags.
diego
parents: 7043
diff changeset
75 <H4>Old-style DVD support - OPTIONAL</H4>
4057
0d9bf4a76dab old-style DVD options added
gabucino
parents: 3799
diff changeset
76
6877
diego
parents: 6405
diff changeset
77 <P>Useful if you want to play encoded VOBs from hard disk. Compile and
diego
parents: 6405
diff changeset
78 install <B>libcss</B> 0.0.1 (not newer) for this (If <B>MPlayer</B> fails to
diego
parents: 6405
diff changeset
79 detect it, use the <CODE>-csslib /path/to/libcss.so</CODE> option).</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
80
7048
c214aa9110d0 Fixed typo manpage --> man page.
diego
parents: 7047
diff changeset
81 <P>For the complete list of available options, please read the man page.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
82
6878
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
83
7047
4f87cd0f642f Converted the docs to use proper headings tags.
diego
parents: 7043
diff changeset
84 <H2><A NAME="vcd">4.3 VCD playback</A></H2>
6878
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
85
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
86 <P>Playing standard Video CDs:</P>
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
87
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
88 <P><CODE>mplayer -vcd &lt;track&gt; [-cdrom-device device]</CODE></P>
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
89
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
90 <P>Examples:<BR>
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
91 <CODE>mplayer -vcd 1<BR>
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
92 mplayer -fs -vcd 2 -cdrom-device /dev/hdc</CODE></P>
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
93
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
94 Notes:
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
95 <UL>
6909
db5e0161f021 VCDs do *not* get mounted.
diego
parents: 6907
diff changeset
96 <LI>Do <B>not</B> mount VCDs to play the DAT files directly! It may work
6878
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
97 under Windows but will not under Linux. You have to play VCDs with the
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
98 <CODE>-vcd</CODE> option.</LI>
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
99 <LI>VCD disks usually have 2 tracks: a data track (containing autostart
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
100 Windows playback program, karaoke data etc) and a mode-2 track (the movie).
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
101 So try <CODE>-vcd 2</CODE> first.</LI>
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
102 <LI>The default VCD device is <CODE>/dev/cdrom</CODE>. If your setup differs,
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
103 make a symlink, or specify the correct device on the command line with the
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
104 <CODE>-cdrom-device</CODE> option.</LI>
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
105 </UL>
0374fdb8eeb0 Result of review by Nilmoni Deb <ndeb@ece.cmu.edu>.
diego
parents: 6877
diff changeset
106
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
107 </BODY>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
108 </HTML>