Mercurial > mplayer.hg
comparison DOCS/sound.html @ 7047:4f87cd0f642f
Converted the docs to use proper headings tags.
Headings start at <H1> for sections and decrease one size for each level in
the section hierarchy, thus 2.3.4 is <H3>. Headings without numbering are
<H4> unless they are in a <H5> section, then <H5> also.
author | diego |
---|---|
date | Tue, 20 Aug 2002 00:33:04 +0000 |
parents | 83a386e88f9e |
children | 3275af5787e0 |
comparison
equal
deleted
inserted
replaced
7046:e6cab2610139 | 7047:4f87cd0f642f |
---|---|
8 </HEAD> | 8 </HEAD> |
9 | 9 |
10 <BODY> | 10 <BODY> |
11 | 11 |
12 | 12 |
13 <P><B><A NAME="audio">2.3.2 Audio output devices</A></B></P> | 13 <H3><A NAME="audio">2.3.2 Audio output devices</A></H3> |
14 | 14 |
15 <P><B>MPlayer</B>'s audio interface is called <I>libao2</I>. It currently | 15 <P><B>MPlayer</B>'s audio interface is called <I>libao2</I>. It currently |
16 contains these drivers:</P> | 16 contains these drivers:</P> |
17 | 17 |
18 <TABLE BORDER=0> | 18 <TABLE BORDER=0> |
47 </UL> | 47 </UL> |
48 | 48 |
49 <P>On <B>Solaris/FreeBSD</B> systems, use the SUN audio driver with the | 49 <P>On <B>Solaris/FreeBSD</B> systems, use the SUN audio driver with the |
50 <CODE>-ao sun</CODE> option, otherwise neither video nor audio will work.</P> | 50 <CODE>-ao sun</CODE> option, otherwise neither video nor audio will work.</P> |
51 | 51 |
52 <P><B><A NAME="experiences">2.3.2.1 Sound Card experiences, recommendations</A></B></P> | 52 |
53 <H4><A NAME="experiences">2.3.2.1 Sound Card experiences, recommendations</A></H4> | |
53 | 54 |
54 <TABLE BORDER=0 WIDTH="100%"> | 55 <TABLE BORDER=0 WIDTH="100%"> |
55 <TR><TD COLSPAN=3><B>VIA onboard chipset (via82cxxx) 48kHz only</B></TD></TR> | 56 <TR><TD COLSPAN=3><B>VIA onboard chipset (via82cxxx) 48kHz only</B></TD></TR> |
56 <TR><TD></TD><TD>Driver:</TD><TD> from <A HREF="http://sourceforge.net/project/showfiles.php?group_id=3242&release_id=59602">here</A></TD></TR> | 57 <TR><TD></TD><TD>Driver:</TD><TD> from <A HREF="http://sourceforge.net/project/showfiles.php?group_id=3242&release_id=59602">here</A></TD></TR> |
57 | 58 |
132 <LI>Feedback to this document is welcome. Please tell us how <B>MPlayer</B> | 133 <LI>Feedback to this document is welcome. Please tell us how <B>MPlayer</B> |
133 and your sound card(s) worked together.</LI> | 134 and your sound card(s) worked together.</LI> |
134 </UL> | 135 </UL> |
135 | 136 |
136 | 137 |
137 <P><B><A NAME="plugins">2.3.2.2 Audio plugins</A></B></P> | 138 <H4><A NAME="plugins">2.3.2.2 Audio plugins</A></H4> |
138 | 139 |
139 <P><B>MPlayer</B> has support for audio plugins. Audio plugins can be used for | 140 <P><B>MPlayer</B> has support for audio plugins. Audio plugins can be used for |
140 changing the properties of the audio data before the sound reaches the sound | 141 changing the properties of the audio data before the sound reaches the sound |
141 card. They are enabled using the <CODE>-aop</CODE> switch which takes a | 142 card. They are enabled using the <CODE>-aop</CODE> switch which takes a |
142 <CODE>list=plugin1,plugin2,...</CODE> argument. The <CODE>list</CODE> argument | 143 <CODE>list=plugin1,plugin2,...</CODE> argument. The <CODE>list</CODE> argument |
160 output format of the format plugin to AFMT_U8.</P> | 161 output format of the format plugin to AFMT_U8.</P> |
161 | 162 |
162 <P>Currently audio plugins can not be used in <B>MEncoder</B>.</P> | 163 <P>Currently audio plugins can not be used in <B>MEncoder</B>.</P> |
163 | 164 |
164 | 165 |
165 <P><B><A NAME="resample">2.3.2.2.1 Up/Downsampling</A></B></P> | 166 <H5><A NAME="resample">2.3.2.2.1 Up/Downsampling</A></H5> |
166 | 167 |
167 <P><B>MPlayer</B> fully supports up/downsampling of the sound. This plugin can | 168 <P><B>MPlayer</B> fully supports up/downsampling of the sound. This plugin can |
168 be used if you have a fixed frequency sound card or if you are | 169 be used if you have a fixed frequency sound card or if you are |
169 stuck with an old sound card that is only capable of max 44.1kHz. | 170 stuck with an old sound card that is only capable of max 44.1kHz. |
170 Limitations in your hardware are not auto detected, so you have to specify | 171 Limitations in your hardware are not auto detected, so you have to specify |
180 <P>Note that the output frequency should not be scaled up from the default value. | 181 <P>Note that the output frequency should not be scaled up from the default value. |
181 Scaling up will cause the audio and video streams to be played in slow motion | 182 Scaling up will cause the audio and video streams to be played in slow motion |
182 in addition to audio distortion.</P> | 183 in addition to audio distortion.</P> |
183 | 184 |
184 | 185 |
185 <P><B><A NAME="surround_decoding">2.3.2.2.2 Surround Sound decoding</A></B></P> | 186 <H5><A NAME="surround_decoding">2.3.2.2.2 Surround Sound decoding</A></H5> |
186 | 187 |
187 <P><B>MPlayer</B> has an audio plugin that can decode matrix encoded | 188 <P><B>MPlayer</B> has an audio plugin that can decode matrix encoded |
188 surround sound. Dolby Surround is an example of a matrix encoded format. | 189 surround sound. Dolby Surround is an example of a matrix encoded format. |
189 Many files with 2 channel audio actually contain matrixed surround sound. | 190 Many files with 2 channel audio actually contain matrixed surround sound. |
190 To use this feature you need a sound card supporting at least 4 channels.</P> | 191 To use this feature you need a sound card supporting at least 4 channels.</P> |
191 | 192 |
192 <P>Usage:<BR> | 193 <P>Usage:<BR> |
193 <CODE>mplayer media.avi -aop list=surround</CODE></P> | 194 <CODE>mplayer media.avi -aop list=surround</CODE></P> |
194 | 195 |
195 | 196 |
196 <P><B><A NAME="format">2.3.2.2.3 Sample format converter</A></B></P> | 197 <H5><A NAME="format">2.3.2.2.3 Sample format converter</A></H5> |
197 | 198 |
198 <P>If your sound card driver does not support signed 16bit <CODE>int</CODE> data type, | 199 <P>If your sound card driver does not support signed 16bit <CODE>int</CODE> data type, |
199 this plugin can | 200 this plugin can |
200 be used to change the format to one which your sound card can understand. It | 201 be used to change the format to one which your sound card can understand. It |
201 has one switch, <CODE>format</CODE>, which can be set to one of the numbers | 202 has one switch, <CODE>format</CODE>, which can be set to one of the numbers |
206 <P>Usage:<BR> | 207 <P>Usage:<BR> |
207 <CODE>mplayer media.avi -aop | 208 <CODE>mplayer media.avi -aop |
208 list=format:format=<required output format></CODE></P> | 209 list=format:format=<required output format></CODE></P> |
209 | 210 |
210 | 211 |
211 <P><B><A NAME="delay">2.3.2.2.4 Delay</A></B></P> | 212 <H5><A NAME="delay">2.3.2.2.4 Delay</A></H5> |
212 | 213 |
213 <P>This plugin delays the sound and is intended as an example of how to develop | 214 <P>This plugin delays the sound and is intended as an example of how to develop |
214 new plugins. It can not be used for anything useful from a users perspective | 215 new plugins. It can not be used for anything useful from a users perspective |
215 and is mentioned here for the sake of completeness only. Do not use this | 216 and is mentioned here for the sake of completeness only. Do not use this |
216 plugin unless you are a developer.</P> | 217 plugin unless you are a developer.</P> |
217 | 218 |
218 <P><B><A NAME="volume">2.3.2.2.5 Software volume control</A></B></P> | 219 |
220 <H5><A NAME="volume">2.3.2.2.5 Software volume control</A></H5> | |
219 | 221 |
220 <P>This plugin is a software replacement for the volume control, and | 222 <P>This plugin is a software replacement for the volume control, and |
221 can be used on machines with a broken mixer device. It can also be | 223 can be used on machines with a broken mixer device. It can also be |
222 used if one wants to change the output volume of <B>MPlayer</B> | 224 used if one wants to change the output volume of <B>MPlayer</B> |
223 without changing the PCM volume setting in the mixer. It has one | 225 without changing the PCM volume setting in the mixer. It has one |
246 <P>Usage:<BR> | 248 <P>Usage:<BR> |
247 <CODE>mplayer media.avi -aop | 249 <CODE>mplayer media.avi -aop |
248 list=volume:softclip</CODE></P> | 250 list=volume:softclip</CODE></P> |
249 | 251 |
250 | 252 |
251 <P><B><A NAME="extrastereo">2.3.2.2.6 Extrastereo</A></B></P> | 253 <H5><A NAME="extrastereo">2.3.2.2.6 Extrastereo</A></H5> |
252 | 254 |
253 <P>This plugin (linearly) increases the difference between left and right | 255 <P>This plugin (linearly) increases the difference between left and right |
254 channels (like the XMMS extrastereo plugin) which gives some sort of "live" | 256 channels (like the XMMS extrastereo plugin) which gives some sort of "live" |
255 effect to playback.</P> | 257 effect to playback.</P> |
256 | 258 |
262 to 2.5. If you set it to 0.0, you will have mono sound (average of both | 264 to 2.5. If you set it to 0.0, you will have mono sound (average of both |
263 channels). If you set it to 1.0, sound will be unchanged, if you set it to | 265 channels). If you set it to 1.0, sound will be unchanged, if you set it to |
264 -1.0, left and right channels will be swapped.</P> | 266 -1.0, left and right channels will be swapped.</P> |
265 | 267 |
266 | 268 |
267 <P><B><A NAME="normalizer">2.3.2.2.7 Volume normalizer</A></B></P> | 269 <H5><A NAME="normalizer">2.3.2.2.7 Volume normalizer</A></H5> |
268 | 270 |
269 <P>This plugin maximizes the volume without distorting the sound.</P> | 271 <P>This plugin maximizes the volume without distorting the sound.</P> |
270 | 272 |
271 <P>Usage:<BR> | 273 <P>Usage:<BR> |
272 <CODE>mplayer media.avi -aop list=volnorm</CODE><BR> | 274 <CODE>mplayer media.avi -aop list=volnorm</CODE><BR> |
273 | 275 |
274 | 276 |
275 <P><B><A NAME="surround">2.3.2.2.8 Surround</A></B></P> | 277 <H5><A NAME="surround">2.3.2.2.8 Surround</A></H5> |
276 | 278 |
277 <P>Someone should document something, sometime.</P> | 279 <P>Someone should document something, sometime.</P> |
278 | 280 |
279 </BODY> | 281 </BODY> |
280 </HTML> | 282 </HTML> |