Mercurial > mplayer.hg
annotate DOCS/sound.html @ 5485:01961295ca10
use -slices
author | arpi |
---|---|
date | Thu, 04 Apr 2002 00:03:44 +0000 |
parents | f999c7c4b08c |
children | b53597b930b1 |
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> |
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
diff
changeset
|
4 <STYLE> |
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 |
2745 | 15 <P><B><A NAME=2.3.2>2.3.2. Audio output devices</A></P></B> |
1612 | 16 |
1892 | 17 <P><B>MPlayer</B>'s audio interface is called <I>libao2</I>. It currently |
18 contains these drivers :</P> | |
19 | |
1905 | 20 <TABLE BORDER=0> |
21 | |
4982
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
diff
changeset
|
22 <TD COLSPAN=4><P><B><FONT CLASS="text">General:</B></P></TD> |
1905 | 23 |
4982
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
diff
changeset
|
24 <TR><TD> </TD><TD VALIGN=top><FONT CLASS="text">oss</TD><TD> </TD><TD><FONT CLASS="text">OSS (ioctl) driver</TD></TR> |
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> |
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
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> |
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
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> |
1905 | 30 |
31 </TABLE> | |
1612 | 32 |
3857 | 33 <P>The fact is, Linux soundcard drivers are usually bad, and always as |
1892 | 34 incompatible as they can be. It MAY take a while to find your optimal settings.</P> |
35 <P><UL> | |
36 <LI>if you have OSS as driver, first try with <I>-ao oss</I> (this is the default). | |
37 If you experience glitches, halts or anything out of the ordinary, have a | |
38 look at <I>-ao sdl</I> (NOTE: of course you'll have to have a new SDL library and its | |
39 devel pair installed). It helps in a lot of cases (it also supports ESD, ARTS, and | |
40 up/downsampling. /esd is GNOME's, arts is KDE's sound daemon/).</LI> | |
41 <LI>if you have ALSA version 0.5, then you ALMOST always have to use <I>-ao alsa5</I> , | |
42 since 0.5 has buggy OSS emulation code, and will <B>crash MPlayer</B> with | |
43 a message like this:<BR> | |
44 <UL> | |
45 <CODE>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</CODE></UL> | |
46 </LI> | |
47 <LI>if you have ALSA version 0.9, use <I>-ao oss</I> or <I>-ao sdl</I> as you | |
2060 | 48 wish. You can also use <I>-ao alsa9</I> as it works now, however it has many |
49 problems (losing sync, disappearing audio, etc).</LI> | |
1892 | 50 </UL></P> |
51 | |
52 <P>On <B>Solaris/FreeBSD</B> systems, use the SUN audio driver with the | |
53 <I>-ao sun</I> option, otherwise you'll have no video, nor audio playing.</P> | |
54 | |
2745 | 55 <P><B><A NAME=2.3.2.1>2.3.2.1. Soundcard experiences, recommendations</A></B></P> |
1612 | 56 |
1682 | 57 <P><TABLE BORDER=0 WIDTH=100%> |
4982
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
diff
changeset
|
58 <TD COLSPAN=3><B><FONT CLASS="text">VIA onboard chipset (via82cxxx) 48Khz only</B></TD><TR> |
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
diff
changeset
|
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> |
5123 | 77 <TD></TD><TD><FONT CLASS="text">OSS:</TD><TD><FONT CLASS="text">Analog OK, SP/DIF won't work</TD><TR> |
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> |
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
diff
changeset
|
83 <TD></TD><TD><FONT CLASS="text">ALSA:</TD><TD><FONT CLASS="text">48kHz sounds shit</TD><TR> |
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> |
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
diff
changeset
|
107 <TD></TD><TD><FONT CLASS="text">OSS:</TD><TD><FONT CLASS="text">not OK (?) (maybe -ao sdl)</TD><TR> |
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
diff
changeset
|
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> <I>-ao sdl</I> (!) (?)</TD><TR> |
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> |
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
diff
changeset
|
118 <TD></TD><TD><FONT CLASS="text">OSS:</TD><TD><FONT CLASS="text">OK (<I>use the SDL driver : -ao sdl</I>)</TD><TR> |
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> |
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
diff
changeset
|
120 <TD></TD><TD><FONT CLASS="text">Max kHz:</TD><TD><FONT CLASS="text">the driver emulates 44.1 maybe more</TD><TR> |
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
diff
changeset
|
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><TR> |
1682 | 122 </TABLE></P> |
1612 | 123 |
1682 | 124 <P><UL> |
1892 | 125 <LI>on Linux, use at least kernel 2.4 if possible, 2.2 isn't tested |
126 <LI>if sound clicks when playing from CD-ROM, turn on IRQ unmasking ! | |
1612 | 127 for example "hdparm -u1 /dev/cdrom" (see "man hdparm" !!!) |
128 This is recommended anyways... (for XMMS, etc...) | |
1682 | 129 Read section <A HREF="cd-dvd.html#4.1">4.1</A>. |
1892 | 130 <LI>don't use your soundcard by other application ( for ex. XMMS ) ! |
2202 | 131 if you use ESD, start MPlayer with the '-vo sdl:esd' option ! |
1892 | 132 <LI>Please tell us how MPlayer and your soundcard(s) worked together! |
1682 | 133 </UL></P> |
1612 | 134 |
3671 | 135 |
4536 | 136 <P><B><A NAME=2.3.2.2>2.3.2.2. Audio plugins</A></B></P> |
3671 | 137 |
4508 | 138 <P><B>MPlayer</B> has support for audio plugins. Audio plugins can be used for |
139 changing the properties of the audio data before the sound reaches the sound | |
140 card. They are enabled using the <CODE>-aop</CODE> switch followed by the | |
141 <CODE>list=plugin1,plugin2,...</CODE> switch. The <CODE>list</CODE> switch is | |
142 required and determines which plugins that should be used and in which order | |
143 they should be executed, example: | |
144 </P> | |
145 | |
146 <P> <CODE>mplayer media.avi -aop list=resample,format</CODE></P> | |
147 | |
148 <P>would run the sound through the resampling plugin followed by the format | |
149 plugin. | |
150 </P> | |
151 | |
152 <P>The plugins can also have switches that changes their behaviour. These | |
153 switches are explained in detail in the sections below. A plugin will execute | |
154 using default settings if it's switches are omitted. Example of how to use | |
155 plugins in combination with plugin specific switches: | |
156 </P> | |
157 | |
158 <P> <CODE>mplayer media.avi -aop | |
159 list=resample,format:fout=48000:format=0x8</CODE> | |
160 </P> | |
161 | |
162 <P>would set the output frequency of the resample plugin to 44100Hz and the | |
163 output format of the format plugin to AFMT_U8. | |
164 </P> | |
165 | |
166 <P>Currently audio plugins can not be used in <B>MEncoder</B>.</P> | |
167 | |
168 | |
4536 | 169 <P><B><A NAME=2.3.2.2.1>2.3.2.2.1. Up/Downsampling</A></B></P> |
3671 | 170 |
4508 | 171 <P><B>MPlayer</B> fully supports up/down sampling of the sound. This plugin can |
172 for example be used if you have a fixed frequency sound card or if you are | |
173 stuck with an olqd sound card that is only capable of max 44.1kHz. | |
174 Limitations in your hardware are not auto detected, so you have to specify | |
175 the sample frequency explicitly. This plugin has one switch: | |
176 <CODE>fout</CODE> which is used for setting the desired output sample | |
177 frequency, it defaults to 48kHz, and is given in | |
178 <Hz>. | |
179 </P> | |
3671 | 180 |
181 <P>Usage :<BR> | |
182 <CODE>mplayer media.avi -aop list=resample:fout=<required | |
183 frequency in Hz, like 44100></CODE></P> | |
184 | |
185 | |
4536 | 186 <P><B><A NAME=2.3.2.2.2>2.3.2.2.2. Surround Sound decoding</A></B></P> |
3931 | 187 |
188 <P><B>MPlayer</b> has an audio plugin that can decode matrix encoded | |
189 surround sound. Dolby Surround is an example of a matrix encoded format.</p> | |
190 | |
191 <P>Many files with 2 channel audio actually contain matrixed surround | |
192 sound.</p> | |
193 | |
194 <P>To use this feature, you will need a sound-card supporting at least 4 channels.</P> | |
195 | |
196 <P>Usage :<BR> | |
197 <CODE>mplayer media.avi -aop list=surround</CODE></P> | |
198 | |
4508 | 199 |
200 <P><B><A NAME=2.3.2.2.3>2.3.2.2.3. Sample format converter</A></B></P> | |
201 | |
202 <P>If your sound card driver doesn't support signed 16bit int, this plugin can | |
203 be used to change the format to one which your sound card can understand. It | |
204 has one switch <CODE>format</CODE> which can be set to one of the numbers | |
205 found in libao2/afmt.h. This plugin is hardly ever needed and is intended for | |
206 advanced users. Observe that this plugin only changes the sample format and | |
207 not the sample frequency or the number of channels. | |
208 </P> | |
209 | |
210 <P>Usage :<BR> | |
211 <CODE>mplayer media.avi -aop | |
212 list=format:format=<required output format></CODE> | |
213 </P> | |
214 | |
215 | |
216 <P><B><A NAME=2.3.2.2.4>2.3.2.2.4. Delay</A></B></P> | |
217 | |
218 <P>This plugin delays the sound and is intended as an example of how to develop | |
219 new plugins. It can not be used for anything useful from users perspective | |
220 and is mentioned here for the sake of completeness only. Do not use this | |
221 plugin unless you are a developer.</P> | |
222 | |
4913 | 223 <P><B><A NAME=2.3.2.2.5>2.3.2.2.5. Software volume control</A></B></P> |
224 | |
225 <P>This plugin is a software replacement for the volume control, and | |
226 can be used in machines with broken mixer device. It can also be | |
227 used if one wants to change the output volume from <B>MPlayer</B> | |
228 without changing the PCM volume setting in the mixer. It has one | |
229 switch <CODE>volume</CODE> that is used for setting the initial | |
230 sound level. The initial sound level can be set to values between 0 | |
5099 | 231 and 255 and defaults to 101 which equals 0dB amplification. Use this |
232 plugin with caution since it can reduce the signal to noise ratio of | |
233 the sound. In most cases it is best to set the level for the PCM | |
234 sound to max, leave this plugin out and control the output level to | |
235 your speakers with the mixers master volume control. If there is an | |
236 external amplifier connected to the computer (this is almost always | |
237 the case), the noise level can be minimized by adjusting the master | |
238 level and the volume knob on the amplifier until the hissing noise | |
239 in the background is gone. | |
4913 | 240 </P> |
241 | |
242 <P>Usage :<BR> | |
243 <CODE>mplayer media.avi -aop | |
244 list=volume:volume=<0-255></CODE> | |
245 </P> | |
246 | |
5099 | 247 <P>This plugin also have a compressor or "soft-clipping" capabilities. |
248 Compression can be used if the dynamic range of the sound is very | |
249 high or if the dynamic range of the loudspeakers is very | |
250 low. Observe that this feature creates distortion and should be | |
251 considered a last resort. | |
252 </P> | |
253 | |
254 <P>Usage :<BR> | |
255 <CODE>mplayer media.avi -aop | |
256 list=volume:softclip</CODE> | |
257 </P> | |
4928
ecf9f93dd9b6
added documentation for "extrastereo" plugin (patch by pl)
gabucino
parents:
4913
diff
changeset
|
258 |
5109 | 259 |
5069 | 260 <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
|
261 |
ecf9f93dd9b6
added documentation for "extrastereo" plugin (patch by pl)
gabucino
parents:
4913
diff
changeset
|
262 <P>This plugin increases (linearly) the difference between left and right |
ecf9f93dd9b6
added documentation for "extrastereo" plugin (patch by pl)
gabucino
parents:
4913
diff
changeset
|
263 channels (as the XMMS extrastereo plugin) which has some of "live" effect |
ecf9f93dd9b6
added documentation for "extrastereo" plugin (patch by pl)
gabucino
parents:
4913
diff
changeset
|
264 on playback. |
ecf9f93dd9b6
added documentation for "extrastereo" plugin (patch by pl)
gabucino
parents:
4913
diff
changeset
|
265 </P> |
ecf9f93dd9b6
added documentation for "extrastereo" plugin (patch by pl)
gabucino
parents:
4913
diff
changeset
|
266 |
ecf9f93dd9b6
added documentation for "extrastereo" plugin (patch by pl)
gabucino
parents:
4913
diff
changeset
|
267 <P>Usage :<BR> |
ecf9f93dd9b6
added documentation for "extrastereo" plugin (patch by pl)
gabucino
parents:
4913
diff
changeset
|
268 <CODE>mplayer media.avi -aop list=extrastereo</CODE><BR> |
ecf9f93dd9b6
added documentation for "extrastereo" plugin (patch by pl)
gabucino
parents:
4913
diff
changeset
|
269 <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
|
270 |
ecf9f93dd9b6
added documentation for "extrastereo" plugin (patch by pl)
gabucino
parents:
4913
diff
changeset
|
271 <P>The default coefficient (<CODE>mul</CODE>) is a float number that defaults |
ecf9f93dd9b6
added documentation for "extrastereo" plugin (patch by pl)
gabucino
parents:
4913
diff
changeset
|
272 to 2.5. If you set it to 0.0, you will have a mono sound (average of both |
ecf9f93dd9b6
added documentation for "extrastereo" plugin (patch by pl)
gabucino
parents:
4913
diff
changeset
|
273 channels), if you set it to 1.0, sound will be unchanged.</P> |
ecf9f93dd9b6
added documentation for "extrastereo" plugin (patch by pl)
gabucino
parents:
4913
diff
changeset
|
274 |
5109 | 275 |
276 <P><B><A NAME=2.3.2.2.7>2.3.2.2.7. Volume normalizer</A></B></P> | |
277 | |
278 <P>This plugin maximizes the volume while maintaining distortionless | |
279 sound. | |
280 </P> | |
281 | |
282 <P>Usage :<BR> | |
283 <CODE>mplayer media.avi -aop list=volnorm</CODE><BR> | |
284 | |
1612 | 285 </BODY> |
286 </HTML> |