annotate DOCS/Polish/sound.html @ 8595:64efd67fee9b

i hate asserts
author arpi
date Sat, 28 Dec 2002 12:14:57 +0000
parents d5c692754cf2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
1 <HTML>
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
2
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
3 <HEAD>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
4 <STYLE>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
5 .text
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
6 {font-family : Verdana, Arial, Helvetica, sans-serif;
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
7 font-size : 14px;}
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
8 </STYLE>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
9 </HEAD>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
10
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
11 <BODY BGCOLOR=white>
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
12
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
13 <FONT CLASS="text">
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
14
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
15 <P><B><A NAME=2.3.2>2.3.2. Audio output devices</A></B></P>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
16
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
17 <P><B>MPlayer</B>'s audio interface is called <I>libao2</I>. It currently
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
18 contains these drivers:</P>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
19
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
20 <TABLE BORDER=0>
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
21
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
22 <TR><TD COLSPAN=4><P><B><FONT CLASS="text">General:</B></P></TD></TR>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
23
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
24 <TR><TD>&nbsp;&nbsp;</TD><TD VALIGN=top><FONT CLASS="text">oss</TD><TD>&nbsp;&nbsp;</TD><TD><FONT CLASS="text">OSS (ioctl) driver</TD></TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
25 <TR><TD></TD><TD VALIGN=top><FONT CLASS="text">sdl</TD><TD></TD><TD><FONT CLASS="text">SDL driver (supports up/downsampling, <B>ESD</B>, <B>ARTS</B> etc)</TD></TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
26 <TR><TD></TD><TD VALIGN=top><FONT CLASS="text">nas</TD><TD></TD><TD><FONT CLASS="text">NAS (Network Audio System) driver</TD></TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
27 <TR><TD></TD><TD VALIGN=top><FONT CLASS="text">alsa5</TD><TD></TD><TD><FONT CLASS="text">native ALSA 0.5 driver</TD></TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
28 <TR><TD></TD><TD VALIGN=top><FONT CLASS="text">alsa9</TD><TD></TD><TD><FONT CLASS="text">native ALSA 0.9 driver (works, but has problems -> use OSS)</TD></TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
29 <TR><TD></TD><TD VALIGN=top><FONT CLASS="text">sun</TD><TD></TD><TD><FONT CLASS="text">SUN audio driver (/dev/audio) for BSD and Solaris8 users</TD></TR>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
30
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
31 </TABLE>
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
32
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
33 <P>Fact is, Linux sound card drivers have compatibility problems.
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
34 It <B>may</B> take a while to find your optimal settings.</P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
35
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
36 <UL>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
37 <LI>If you have an OSS driver, first try <CODE>-ao oss</CODE> (this is the default).
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
38 If you experience glitches, halts or anything out of the ordinary, try
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
39 <CODE>-ao sdl</CODE> (NOTE: you need to have SDL libraries and header files
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
40 installed). The SDL audio driver helps in a lot of cases and also supports ESD,
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
41 ARTS, and up/downsampling. (ESD is the sound daemon from GNOME, ARTS is from KDE.)</LI>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
42 <LI>If you have ALSA version 0.5, then you almost always have to use <CODE>-ao alsa5</CODE> ,
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
43 since ALSA 0.5 has buggy OSS emulation code, and will <B>crash MPlayer</B> with
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
44 a message like this:<BR>
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
45 <CODE>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</CODE></LI>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
46 <LI>If you have ALSA version 0.9 you may choose between <CODE>-ao oss</CODE> and
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
47 <CODE>-ao sdl</CODE>. You can also use <CODE>-ao alsa9</CODE>. It works, but
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
48 there are problems like lost sync and disappearing audio.</LI>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
49 </UL>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
50
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
51 <P>On <B>Solaris/FreeBSD</B> systems, use the SUN audio driver with the
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
52 <CODE>-ao sun</CODE> option, otherwise neither video nor audio will work.</P>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
53
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
54 <P><B><A NAME=2.3.2.1>2.3.2.1. Sound Card experiences, recommendations</A></B></P>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
55
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
56 <TABLE BORDER=0 WIDTH="100%">
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
57 <TR><TD COLSPAN=3><B><FONT CLASS="text">VIA onboard chipset (via82cxxx) 48kHz only</B></TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
58 <TD></TD><TD><FONT CLASS="text">Driver:</TD><TD><FONT CLASS="text"> from <A HREF="http://sourceforge.net/project/showfiles.php?group_id=3242&amp;release_id=59602">here</A></TD><TR>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
59
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
60 <TD COLSPAN=3><B><FONT CLASS="text">Aureal Vortex 2</B></TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
61 <TD>&nbsp;&nbsp;&nbsp;&nbsp;</TD><TD><FONT CLASS="text">OSS:</TD><TD><FONT CLASS="text">no driver</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
62 <TD></TD><TD><FONT CLASS="text">OSS/Pro:</TD><TD><FONT CLASS="text">OK</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
63 <TD></TD><TD><FONT CLASS="text">ALSA:</TD><TD><FONT CLASS="text">no driver</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
64 <TD></TD><TD><FONT CLASS="text">Max kHz:</TD><TD>48</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
65 <TD></TD><TD><FONT CLASS="text">Driver:</TD><TD><FONT CLASS="text"><A HREF="http://aureal.sourceforge.net">aureal.sourceforge.net</A></TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
66 <TD></TD><TD><FONT CLASS="text">Driver2:</TD><TD><FONT CLASS="text"> from <A HREF="http://makacs.poliod.hu/~pontscho/aureal/au88xx-1.1.3.tar.bz2">here</A><BR>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
67 (<I>buffer size increased to 32k</I>)</TD><TR>
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
68
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
69 <TD COLSPAN=3><B><FONT CLASS="text">GUS PnP</B></TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
70 <TD></TD><TD><FONT CLASS="text">OSS:</TD><TD><FONT CLASS="text">no driver</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
71 <TD></TD><TD><FONT CLASS="text">OSS/Pro:</TD><TD><FONT CLASS="text">OK</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
72 <TD></TD><TD><FONT CLASS="text">ALSA:</TD><TD><FONT CLASS="text">OK</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
73 <TD></TD><TD><FONT CLASS="text">Max kHz:</TD><TD><FONT CLASS="text">48</TD><TR>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
74
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
75 <TD COLSPAN=3><B><FONT CLASS="text">SB Live!</B></TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
76 <TD></TD><TD><FONT CLASS="text">OSS:</TD><TD><FONT CLASS="text">Analog OK, SP/DIF not working</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
77 <TD></TD><TD><FONT CLASS="text">ALSA:</TD><TD><FONT CLASS="text">Both OK</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
78 <TD></TD><TD><FONT CLASS="text">Max kHz:</TD><TD><FONT CLASS="text">192</TD><TR>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
79
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
80 <TD COLSPAN=3><B><FONT CLASS="text">SB AWE 64</B></TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
81 <TD></TD><TD><FONT CLASS="text">OSS:</TD><TD><FONT CLASS="text">max 44kHz</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
82 <TD></TD><TD><FONT CLASS="text">ALSA:</TD><TD><FONT CLASS="text">48kHz sounds bad</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
83 <TD></TD><TD><FONT CLASS="text">Max kHz:</TD><TD><FONT CLASS="text">48</TD><TR>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
84
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
85 <TD COLSPAN=3><B><FONT CLASS="text">Gravis UltraSound ACE</B></TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
86 <TD></TD><TD><FONT CLASS="text">OSS:</TD><TD><FONT CLASS="text">not OK</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
87 <TD></TD><TD><FONT CLASS="text">ALSA:</TD><TD><FONT CLASS="text">OK</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
88 <TD></TD><TD><FONT CLASS="text">Max kHz:</TD><TD><FONT CLASS="text">44</TD><TR>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
89
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
90 <TD COLSPAN=3><B><FONT CLASS="text">Gravis UltraSound MAX</B></TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
91 <TD></TD><TD><FONT CLASS="text">OSS:</TD><TD><FONT CLASS="text">OK</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
92 <TD></TD><TD><FONT CLASS="text">ALSA:</TD><TD><FONT CLASS="text">OK (?)</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
93 <TD></TD><TD><FONT CLASS="text">Max kHz:</TD><TD><FONT CLASS="text">48</TD><TR>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
94
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
95 <TD COLSPAN=3><B><FONT CLASS="text">ESS 688</B></TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
96 <TD></TD><TD><FONT CLASS="text">OSS:</TD><TD><FONT CLASS="text">OK</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
97 <TD></TD><TD><FONT CLASS="text">ALSA:</TD><TD><FONT CLASS="text">OK (?)</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
98 <TD></TD><TD><FONT CLASS="text">Max kHz:</TD><TD><FONT CLASS="text">48</TD><TR>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
99
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
100 <TD COLSPAN=3><B><FONT CLASS="text">C-Media cards (which ones?)</B></TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
101 <TD></TD><TD><FONT CLASS="text">OSS:</TD><TD><FONT CLASS="text">not OK (hissing) (?)</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
102 <TD></TD><TD><FONT CLASS="text">ALSA:</TD><TD><FONT CLASS="text">OK (?)</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
103 <TD></TD><TD><FONT CLASS="text">Max kHz:</TD><TD><FONT CLASS="text">?</TD><TR>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
104
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
105 <TD COLSPAN=3><B><FONT CLASS="text">Yamaha cards (*ymf*)</B></TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
106 <TD></TD><TD><FONT CLASS="text">OSS:</TD><TD><FONT CLASS="text">not OK (?) (maybe <CODE>-ao sdl</CODE>)</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
107 <TD></TD><TD><FONT CLASS="text">ALSA:</TD><TD><FONT CLASS="text">OK only with ALSA 0.5 with OSS emulation <B>AND</B> <CODE>-ao sdl</CODE> (!) (?)</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
108 <TD></TD><TD><FONT CLASS="text">Max kHz:</TD><TD><FONT CLASS="text">?</TD><TR>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
109
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
110 <TD COLSPAN=3><B><FONT CLASS="text">Cards with envy24 chips (like Terratec EWS88MT)</B></TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
111 <TD></TD><TD><FONT CLASS="text">OSS:</TD><TD><FONT CLASS="text">?</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
112 <TD></TD><TD><FONT CLASS="text">OSS/Pro:</TD><TD><FONT CLASS="text">OK</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
113 <TD></TD><TD><FONT CLASS="text">ALSA:</TD><TD><FONT CLASS="text">?</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
114 <TD></TD><TD><FONT CLASS="text">Max kHz:</TD><TD><FONT CLASS="text">?</TD><TR>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
115
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
116 <TD COLSPAN=3><B><FONT CLASS="text">PC Speaker or DAC</B></TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
117 <TD></TD><TD><FONT CLASS="text">OSS:</TD><TD><FONT CLASS="text">OK (Use the SDL driver: <CODE>-ao sdl</CODE>)</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
118 <TD></TD><TD><FONT CLASS="text">ALSA:</TD><TD><FONT CLASS="text">no driver</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
119 <TD></TD><TD><FONT CLASS="text">Max kHz:</TD><TD><FONT CLASS="text">The driver emulates 44.1, maybe more.</TD><TR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
120 <TD></TD><TD><FONT CLASS="text">Driver:</TD><TD><FONT CLASS="text"><A HREF="ftp://ftp.infradead.org/pub/pcsp">ftp://ftp.infradead.org/pub/pcsp</A></TD>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
121 </TABLE>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
122
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
123 <UL>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
124 <LI>On Linux, a 2.4.x kernel is highly recommended. Kernel 2.2 is not tested.</LI>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
125 <LI>If sound clicks when playing from CD-ROM, turn on IRQ unmasking, e.g.
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
126 <CODE>hdparm -u1 /dev/cdrom</CODE> (<CODE>man hdparm</CODE>). This is
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
127 generally beneficial and described more detailed in the
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
128 <A HREF="cd-dvd.html#4.1">CD-ROM section</A>.</LI>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
129 <LI>Sharing your sound card with another application like XMMS is <B>strongly discouraged</B>!
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
130 If the other sound application is using ESD, start <B>MPlayer</B> with the <CODE>-vo sdl:esd</CODE> option
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
131 to combine both sound streams! In fact, the option <CODE>-vo sdl:esd</CODE> could be used with ESD
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
132 even when playing <B>Mplayer</B> alone.</LI>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
133 <LI>Feedback to this document is welcome. Please tell us how <B>MPlayer</B> and
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
134 your sound card(s) worked together.</LI>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
135 </UL>
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
136
3879
ed33540a982b "updated documentation.html (and new chapter translated in it),
gabucino
parents: 3523
diff changeset
137
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
138 <P><B><A NAME=2.3.2.2>2.3.2.2. Audio plugins</A></B></P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
139
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
140 <P><B>MPlayer</B> has support for audio plugins. Audio plugins can be used for
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
141 changing the properties of the audio data before the sound reaches the sound
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
142 card. They are enabled using the <CODE>-aop</CODE> switch which takes a
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
143 <CODE>list=plugin1,plugin2,...</CODE> argument. The <CODE>list</CODE> argument
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
144 is required and determines which plugins should be used and in which order they
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
145 should be executed. Example:
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
146 </P>
3879
ed33540a982b "updated documentation.html (and new chapter translated in it),
gabucino
parents: 3523
diff changeset
147
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
148 <P>&nbsp;&nbsp;<CODE>mplayer media.avi -aop list=resample,format</CODE></P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
149
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
150 <P>would run the sound through the resampling plugin followed by the format
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
151 plugin.
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
152 </P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
153
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
154 <P>The plugins can also have switches that change their behavior. These
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
155 switches are explained in detail in the sections below. A plugin will execute
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
156 using default settings if its switches are omitted. Here is an example of how
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
157 to use plugins in combination with plugin specific switches:
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
158 </P>
3879
ed33540a982b "updated documentation.html (and new chapter translated in it),
gabucino
parents: 3523
diff changeset
159
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
160 <P>&nbsp;&nbsp;<CODE>mplayer media.avi -aop
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
161 list=resample,format:fout=44100:format=0x8</CODE>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
162 </P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
163
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
164 <P>would set the output frequency of the resample plugin to 44100Hz and the
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
165 output format of the format plugin to AFMT_U8.
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
166 </P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
167
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
168 <P>Currently audio plugins can not be used in <B>MEncoder</B>.</P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
169
3879
ed33540a982b "updated documentation.html (and new chapter translated in it),
gabucino
parents: 3523
diff changeset
170
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
171 <P><B><A NAME=2.3.2.2.1>2.3.2.2.1. Up/Downsampling</A></B></P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
172
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
173 <P><B>MPlayer</B> fully supports up/downsampling of the sound. This plugin can
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
174 be used if you have a fixed frequency sound card or if you are
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
175 stuck with an old sound card that is only capable of max 44.1kHz.
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
176 Limitations in your hardware are not auto detected, so you have to specify
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
177 the sample frequency explicitly. This plugin has one switch:
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
178 <CODE>fout</CODE> which is used for setting the desired output sample
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
179 frequency. It defaults to 48kHz, and is given in
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
180 &lt;Hz&gt;.
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
181 </P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
182
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
183 <P>Usage:<BR>
3879
ed33540a982b "updated documentation.html (and new chapter translated in it),
gabucino
parents: 3523
diff changeset
184 &nbsp;&nbsp;<CODE>mplayer media.avi -aop list=resample:fout=&lt;required
ed33540a982b "updated documentation.html (and new chapter translated in it),
gabucino
parents: 3523
diff changeset
185 frequency in Hz, like 44100&gt;</CODE></P>
ed33540a982b "updated documentation.html (and new chapter translated in it),
gabucino
parents: 3523
diff changeset
186
6040
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
187 <P>Note that the output frequency should not be scaled up from the default value.
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
188 Scaling up will cause the audio and video streams to be played in slow motion
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
189 in addition to audio distortion.</P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
190
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
191 <P><B><A NAME=2.3.2.2.2>2.3.2.2.2. Surround Sound decoding</A></B></P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
192
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
193 <P><B>MPlayer</B> has an audio plugin that can decode matrix encoded
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
194 surround sound. Dolby Surround is an example of a matrix encoded format.
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
195 Many files with 2 channel audio actually contain matrixed surround sound.
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
196 To use this feature you need a sound card supporting at least 4 channels.</P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
197
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
198 <P>Usage:<BR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
199 &nbsp;&nbsp;<CODE>mplayer media.avi -aop list=surround</CODE></P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
200
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
201
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
202 <P><B><A NAME=2.3.2.2.3>2.3.2.2.3. Sample format converter</A></B></P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
203
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
204 <P>If your sound card driver does not support signed 16bit <CODE>int</CODE> data type,
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
205 this plugin can
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
206 be used to change the format to one which your sound card can understand. It
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
207 has one switch, <CODE>format</CODE>, which can be set to one of the numbers
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
208 found in <CODE>libao2/afmt.h</CODE>. This plugin is hardly ever needed and is
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
209 intended for advanced users. Keep in mind that this plugin only changes the
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
210 sample format and not the sample frequency or the number of channels.
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
211 </P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
212
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
213 <P>Usage:<BR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
214 &nbsp;&nbsp;<CODE>mplayer media.avi -aop
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
215 list=format:format=&lt;required output format&gt;</CODE>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
216 </P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
217
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
218
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
219 <P><B><A NAME=2.3.2.2.4>2.3.2.2.4. Delay</A></B></P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
220
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
221 <P>This plugin delays the sound and is intended as an example of how to develop
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
222 new plugins. It can not be used for anything useful from a users perspective
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
223 and is mentioned here for the sake of completeness only. Do not use this
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
224 plugin unless you are a developer.</P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
225
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
226 <P><B><A NAME=2.3.2.2.5>2.3.2.2.5. Software volume control</A></B></P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
227
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
228 <P>This plugin is a software replacement for the volume control, and
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
229 can be used on machines with a broken mixer device. It can also be
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
230 used if one wants to change the output volume of <B>MPlayer</B>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
231 without changing the PCM volume setting in the mixer. It has one
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
232 switch <CODE>volume</CODE> that is used for setting the initial
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
233 sound level. The initial sound level can be set to values between 0
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
234 and 255 and defaults to 101 which equals 0dB amplification. Use this
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
235 plugin with caution since it can reduce the signal to noise ratio of
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
236 the sound. In most cases it is best to set the level for the PCM
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
237 sound to max, leave this plugin out and control the output level to
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
238 your speakers with the master volume control of the mixer. If there is an
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
239 external amplifier connected to the computer (this is almost always
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
240 the case), the noise level can be minimized by adjusting the master
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
241 level and the volume knob on the amplifier until the hissing noise
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
242 in the background is gone.
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
243 </P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
244
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
245 <P>Usage:<BR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
246 &nbsp;&nbsp;<CODE>mplayer media.avi -aop
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
247 list=volume:volume=&lt;0-255&gt;</CODE>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
248 </P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
249
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
250 <P>This plugin also has compressor or "soft-clipping" capabilities.
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
251 Compression can be used if the dynamic range of the sound is very
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
252 high or if the dynamic range of the loudspeakers is very
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
253 low. Be aware that this feature creates distortion and should be
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
254 considered a last resort.
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
255 </P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
256
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
257 <P>Usage:<BR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
258 &nbsp;&nbsp;<CODE>mplayer media.avi -aop
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
259 list=volume:softclip</CODE>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
260 </P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
261
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
262
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
263 <P><B><A NAME=2.3.2.2.6>2.3.2.2.6. Extrastereo</A></B></P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
264
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
265 <P>This plugin (linearly) increases the difference between left and right
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
266 channels (like the XMMS extrastereo plugin) which gives some sort of "live"
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
267 effect to playback.
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
268 </P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
269
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
270 <P>Usage:<BR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
271 &nbsp;&nbsp;<CODE>mplayer media.avi -aop list=extrastereo</CODE><BR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
272 &nbsp;&nbsp;<CODE>mplayer media.avi -aop list=extrastereo:mul=3.45</CODE></P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
273
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
274 <P>The default coefficient (<CODE>mul</CODE>) is a float number that defaults
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
275 to 2.5. If you set it to 0.0, you will have mono sound (average of both
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
276 channels). If you set it to 1.0, sound will be unchanged.</P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
277
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
278
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
279 <P><B><A NAME=2.3.2.2.7>2.3.2.2.7. Volume normalizer</A></B></P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
280
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
281 <P>This plugin maximizes the volume without distorting the sound.</P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
282
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
283 <P>Usage:<BR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
284 &nbsp;&nbsp;<CODE>mplayer media.avi -aop list=volnorm</CODE><BR>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
285
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
286
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
287 <P><B><A NAME=2.3.2.2.8>2.3.2.2.8. Surround</A></B></P>
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
288
d5c692754cf2 refresh and charset settings
nell
parents: 3879
diff changeset
289 <P>Someone should document something, sometime.</P>
3879
ed33540a982b "updated documentation.html (and new chapter translated in it),
gabucino
parents: 3523
diff changeset
290
3523
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
291 </BODY>
dadab20dc2b4 began updated translation by <nell@skrzynka.pl> (work-in-progress)
gabucino
parents:
diff changeset
292 </HTML>