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