comparison DOCS/sound.html @ 7814:988498df1996

<B>MPlayer</B> ---> MPlayer
author diego
date Sun, 20 Oct 2002 12:20:39 +0000
parents 3f00afba3dac
children 1f00a3d29b20
comparison
equal deleted inserted replaced
7813:76940a39405a 7814:988498df1996
10 <BODY> 10 <BODY>
11 11
12 12
13 <H3><A NAME="audio">2.3.2 Audio output devices</A></H3> 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>MPlayer'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>
19 <TR><TD COLSPAN=4><P><B>General:</B></P></TD></TR> 19 <TR><TD COLSPAN=4><P><B>General:</B></P></TD></TR>
20 <TR><TD>&nbsp;&nbsp;</TD><TD VALIGN=top>oss</TD><TD>&nbsp;&nbsp;</TD><TD>OSS (ioctl) driver (supports hardware AC3 passthrough)</TD></TR> 20 <TR><TD>&nbsp;&nbsp;</TD><TD VALIGN=top>oss</TD><TD>&nbsp;&nbsp;</TD><TD>OSS (ioctl) driver (supports hardware AC3 passthrough)</TD></TR>
126 generally beneficial and described more detailed in the <A 126 generally beneficial and described more detailed in the <A
127 HREF="cd-dvd.html#drives">CD-ROM section</A>.</P> 127 HREF="cd-dvd.html#drives">CD-ROM section</A>.</P>
128 128
129 <P>Sharing your sound card with another application like XMMS is <B>strongly 129 <P>Sharing your sound card with another application like XMMS is <B>strongly
130 discouraged</B>! If the other sound application is using ESD, start 130 discouraged</B>! If the other sound application is using ESD, start
131 <B>MPlayer</B> with the <CODE>-vo sdl:esd</CODE> option to combine both 131 MPlayer with the <CODE>-vo sdl:esd</CODE> option to combine both
132 sound streams. In fact, the option <CODE>-vo sdl:esd</CODE> could be used 132 sound streams. In fact, the option <CODE>-vo sdl:esd</CODE> could be used
133 with ESD even when playing <B>Mplayer</B> alone.</P> 133 with ESD even when playing MPlayer alone.</P>
134 134
135 <P>Feedback to this document is welcome. Please tell us how <B>MPlayer</B> 135 <P>Feedback to this document is welcome. Please tell us how MPlayer
136 and your sound card(s) worked together.</P> 136 and your sound card(s) worked together.</P>
137 137
138 138
139 <H4><A NAME="plugins">2.3.2.2 Audio plugins</A></H4> 139 <H4><A NAME="plugins">2.3.2.2 Audio plugins</A></H4>
140 140
141 <P><B>MPlayer</B> has support for audio plugins. Audio plugins can be used for 141 <P>MPlayer 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 142 changing the properties of the audio data before the sound reaches the sound
143 card. They are enabled using the <CODE>-aop</CODE> switch which takes a 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 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 145 is required and determines which plugins should be used and in which order they
146 should be executed. Example:</P> 146 should be executed. Example:</P>
159 list=resample,format:fout=44100:format=0x8</CODE></P> 159 list=resample,format:fout=44100:format=0x8</CODE></P>
160 160
161 <P>would set the output frequency of the resample plugin to 44100Hz and the 161 <P>would set the output frequency of the resample plugin to 44100Hz and the
162 output format of the format plugin to AFMT_U8.</P> 162 output format of the format plugin to AFMT_U8.</P>
163 163
164 <P>Currently audio plugins can not be used in <B>MEncoder</B>.</P> 164 <P>Currently audio plugins can not be used in MEncoder.</P>
165 165
166 166
167 <H5><A NAME="resample">2.3.2.2.1 Up/Downsampling</A></H5> 167 <H5><A NAME="resample">2.3.2.2.1 Up/Downsampling</A></H5>
168 168
169 <P><B>MPlayer</B> fully supports up/downsampling of the sound. This plugin can 169 <P>MPlayer fully supports up/downsampling of the sound. This plugin can
170 be used if you have a fixed frequency sound card or if you are 170 be used if you have a fixed frequency sound card or if you are
171 stuck with an old sound card that is only capable of max 44.1kHz. 171 stuck with an old sound card that is only capable of max 44.1kHz.
172 Limitations in your hardware are not auto detected, so you have to specify 172 Limitations in your hardware are not auto detected, so you have to specify
173 the sample frequency explicitly. This plugin has one switch: 173 the sample frequency explicitly. This plugin has one switch:
174 <CODE>fout</CODE> which is used for setting the desired output sample 174 <CODE>fout</CODE> which is used for setting the desired output sample
184 in addition to audio distortion.</P> 184 in addition to audio distortion.</P>
185 185
186 186
187 <H5><A NAME="surround_decoding">2.3.2.2.2 Surround Sound decoding</A></H5> 187 <H5><A NAME="surround_decoding">2.3.2.2.2 Surround Sound decoding</A></H5>
188 188
189 <P><B>MPlayer</B> has an audio plugin that can decode matrix encoded 189 <P>MPlayer has an audio plugin that can decode matrix encoded
190 surround sound. Dolby Surround is an example of a matrix encoded format. 190 surround sound. Dolby Surround is an example of a matrix encoded format.
191 Many files with 2 channel audio actually contain matrixed surround sound. 191 Many files with 2 channel audio actually contain matrixed surround sound.
192 To use this feature you need a sound card supporting at least 4 channels.</P> 192 To use this feature you need a sound card supporting at least 4 channels.</P>
193 193
194 <P>Usage:<BR> 194 <P>Usage:<BR>
220 220
221 <H5><A NAME="volume">2.3.2.2.5 Software volume control</A></H5> 221 <H5><A NAME="volume">2.3.2.2.5 Software volume control</A></H5>
222 222
223 <P>This plugin is a software replacement for the volume control, and 223 <P>This plugin is a software replacement for the volume control, and
224 can be used on machines with a broken mixer device. It can also be 224 can be used on machines with a broken mixer device. It can also be
225 used if one wants to change the output volume of <B>MPlayer</B> 225 used if one wants to change the output volume of MPlayer
226 without changing the PCM volume setting in the mixer. It has one 226 without changing the PCM volume setting in the mixer. It has one
227 switch <CODE>volume</CODE> that is used for setting the initial 227 switch <CODE>volume</CODE> that is used for setting the initial
228 sound level. The initial sound level can be set to values between 0 228 sound level. The initial sound level can be set to values between 0
229 and 255 and defaults to 101 which equals 0dB amplification. Use this 229 and 255 and defaults to 101 which equals 0dB amplification. Use this
230 plugin with caution since it can reduce the signal to noise ratio of 230 plugin with caution since it can reduce the signal to noise ratio of