annotate DOCS/sound.html @ 6393:f9b3d010b35e

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