2006-10-31 12:23:38 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2003-09-21 13:05:42 +00:00
|
|
|
<!-- $Revision$ -->
|
2006-01-05 23:32:18 +00:00
|
|
|
<chapter id="audio">
|
2003-03-23 23:35:12 +00:00
|
|
|
<title>Audio output devices</title>
|
2006-01-05 23:32:18 +00:00
|
|
|
<sect1 id="sync">
|
2005-01-10 00:34:39 +00:00
|
|
|
<title>Audio/Video synchronization</title>
|
2003-03-23 23:35:12 +00:00
|
|
|
|
|
|
|
<para>
|
|
|
|
Linux sound card drivers have compatibility problems. This is because
|
|
|
|
<application>MPlayer</application> relies on an in-built feature of
|
|
|
|
<emphasis>properly</emphasis> coded sound drivers that enable them to
|
|
|
|
maintain correct audio/video sync. Regrettably, some driver authors
|
|
|
|
don't take the care to code this feature since it is not needed for
|
|
|
|
playing MP3s or sound effects.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2004-11-19 12:03:41 +00:00
|
|
|
Other media players like <ulink url="http://avifile.sf.net">aviplay</ulink>
|
|
|
|
or <ulink url="http://xinehq.de">xine</ulink> possibly work
|
2003-03-23 23:35:12 +00:00
|
|
|
out-of-the-box with these drivers because they use "simple" methods
|
|
|
|
with internal timing. Measuring showed that their methods are not as
|
|
|
|
efficient as <application>MPlayer</application>'s.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Using <application>MPlayer</application> with a properly written audio
|
|
|
|
driver will never result in A/V desyncs related to the audio, except
|
|
|
|
only with very badly created files (check the man page for workarounds).
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
If you happen to have a bad audio driver, try the <option>-autosync</option>
|
|
|
|
option, it should sort out your problems. See the man page for detailed
|
|
|
|
information.
|
|
|
|
</para>
|
2006-01-05 23:32:18 +00:00
|
|
|
</sect1>
|
2005-02-01 13:07:00 +00:00
|
|
|
|
2006-12-08 11:38:06 +00:00
|
|
|
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
|
|
|
|
|
2006-01-05 23:32:18 +00:00
|
|
|
<sect1 id="troubleshooting">
|
2005-02-01 13:07:00 +00:00
|
|
|
<title>Troubleshooting</title>
|
2003-03-23 23:35:12 +00:00
|
|
|
|
2005-02-01 13:07:00 +00:00
|
|
|
<para>Some notes:</para>
|
|
|
|
|
|
|
|
<para>
|
2006-12-08 11:38:06 +00:00
|
|
|
If you have ALSA version 0.5, then you almost always have to use
|
|
|
|
<option>-ao alsa5</option>, since ALSA 0.5 has buggy OSS emulation code,
|
|
|
|
and will <emphasis role="bold">crash <application>MPlayer</application></emphasis>
|
|
|
|
with a message like this:
|
|
|
|
<screen>
|
|
|
|
DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!
|
|
|
|
</screen>
|
2005-02-01 13:07:00 +00:00
|
|
|
</para>
|
2006-12-08 11:38:06 +00:00
|
|
|
|
2005-02-01 13:07:00 +00:00
|
|
|
<para>
|
2006-12-08 11:38:06 +00:00
|
|
|
If the sound clicks when playing from CD-ROM, turn on IRQ unmasking as
|
|
|
|
described in the <link linkend="drives">CD-ROM</link> section.
|
2005-02-01 13:07:00 +00:00
|
|
|
</para>
|
2004-11-11 02:09:15 +00:00
|
|
|
</sect1>
|
2006-01-05 23:32:18 +00:00
|
|
|
|
|
|
|
</chapter>
|