Mercurial > mplayer.hg
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 |
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 | 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 | 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 | 11 |
1612 | 12 |
7047 | 13 <H2><A NAME="drives">4.1 CD/DVD drives</A></H2> |
1682 | 14 |
6877 | 15 <P>Linux documentation excerpt:</P> |
1612 | 16 |
6878 | 17 <P>Modern CD-ROM drives can attain very high head speeds, yet some CD-ROM drives |
18 are capable of running at reduced speeds. There are several reasons that might | |
19 make you consider changing the speed of a CD-ROM drive:</P> | |
20 | |
21 <UL> | |
6960 | 22 <LI>There have been reports of read errors at these high speeds, especially |
6878 | 23 with badly pressed CD-ROMs. Reducing the speed can prevent data loss under |
24 these circumstances.</LI> | |
25 <LI>Many CD-ROM drives are annoyingly loud, a lower speed may reduce the | |
26 noise.</LI> | |
27 </UL> | |
1612 | 28 |
6877 | 29 <P>You can reduce the drive speed with hdparm or a program called setcd. |
30 It works like this:</P> | |
31 | |
32 <P> <CODE>hdparm -E [speed] [cdrom device]</CODE></P> | |
1682 | 33 |
34 <P> <CODE>setcd -x [speed] [cdrom device]</CODE></P> | |
1612 | 35 |
6877 | 36 <P>You can also try</P> |
1682 | 37 |
7076
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7048
diff
changeset
|
38 <P> <CODE>echo current_speed:4 > /proc/ide/[cdrom device]/settings</CODE></P> |
1682 | 39 |
6877 | 40 <P>but you will need root privileges. The following command may also help:</P> |
1682 | 41 |
7076
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7048
diff
changeset
|
42 <P> <CODE>echo file_readahead:2000000 > /proc/ide/[cdrom device]/settings</CODE></P> |
1612 | 43 |
6877 | 44 <P>This sets prefetched file reading to 2MB, which helps with scratched CD-ROMs. |
45 It is recommended that you also tune your CD-ROM drive with hdparm:</P> | |
1682 | 46 |
47 <P> <CODE>hdparm -d1 -a8 -u1 (cdrom device)</CODE></P> | |
1612 | 48 |
6877 | 49 <P>This enables DMA access, read-ahead, and IRQ unmasking (read the hdparm man |
50 page for a detailed explanation).</P> | |
1612 | 51 |
6877 | 52 <P>Please refer to "<CODE>/proc/ide/[cdrom device]/settings</CODE>" for |
53 fine-tuning your CD-ROM.</P> | |
1612 | 54 |
6878 | 55 |
7047 | 56 <H2><A NAME="dvd">4.2 DVD playback</A></H2> |
1682 | 57 |
5859 | 58 <P><B>MPlayer</B> uses <CODE>libdvdread</CODE> and <CODE>libdvdcss</CODE> for |
6877 | 59 DVD decryption and playback. These two libraries are contained in the |
60 <CODE>libmpdvdkit/</CODE> subdirectory of the <B>MPlayer</B> source tree, you | |
61 do not have to install them separately. We opted for this solution because | |
5859 | 62 we had to fix a libdvdread bug, and apply a patch which adds |
6877 | 63 <B>cracked CSS keys caching support</B> to libdvdcss. This results in a large |
64 speed increase because the keys do not have to be cracked every time before | |
65 playing. The cracked keys are stored in the | |
66 <CODE>~/.mplayer/DVDKeys</CODE> directory.</P> | |
1612 | 67 |
6877 | 68 <P><B>MPlayer</B> can also use system-wide <CODE>libdvdread</CODE> and |
69 <CODE>libdvdcss</CODE> libraries, but this solution is <B>not</B> recommended, | |
70 as it can result in bugs, library incompatibilities, and slower speed.</P> | |
71 | |
72 <P>Support for DVD navigation via <CODE>dvdnav</CODE> is being worked on, but | |
73 not finished yet.</P> | |
4057 | 74 |
7047 | 75 <H4>Old-style DVD support - OPTIONAL</H4> |
4057 | 76 |
6877 | 77 <P>Useful if you want to play encoded VOBs from hard disk. Compile and |
78 install <B>libcss</B> 0.0.1 (not newer) for this (If <B>MPlayer</B> fails to | |
79 detect it, use the <CODE>-csslib /path/to/libcss.so</CODE> option).</P> | |
1612 | 80 |
7048 | 81 <P>For the complete list of available options, please read the man page.</P> |
1612 | 82 |
6878 | 83 |
7047 | 84 <H2><A NAME="vcd">4.3 VCD playback</A></H2> |
6878 | 85 |
86 <P>Playing standard Video CDs:</P> | |
87 | |
88 <P><CODE>mplayer -vcd <track> [-cdrom-device device]</CODE></P> | |
89 | |
90 <P>Examples:<BR> | |
91 <CODE>mplayer -vcd 1<BR> | |
92 mplayer -fs -vcd 2 -cdrom-device /dev/hdc</CODE></P> | |
93 | |
94 Notes: | |
95 <UL> | |
6909 | 96 <LI>Do <B>not</B> mount VCDs to play the DAT files directly! It may work |
6878 | 97 under Windows but will not under Linux. You have to play VCDs with the |
98 <CODE>-vcd</CODE> option.</LI> | |
99 <LI>VCD disks usually have 2 tracks: a data track (containing autostart | |
100 Windows playback program, karaoke data etc) and a mode-2 track (the movie). | |
101 So try <CODE>-vcd 2</CODE> first.</LI> | |
102 <LI>The default VCD device is <CODE>/dev/cdrom</CODE>. If your setup differs, | |
103 make a symlink, or specify the correct device on the command line with the | |
104 <CODE>-cdrom-device</CODE> option.</LI> | |
105 </UL> | |
106 | |
1612 | 107 </BODY> |
108 </HTML> |