~ubuntu-branches/debian/squeeze/mplayer/squeeze

« back to all changes in this revision

Viewing changes to DOCS/HTML/en/advaudio-volume.html

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2010-07-31 23:44:52 UTC
  • mfrom: (1.1.4 upstream) (8.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100731234452-j7yyrgsh1wustazr
Tags: 2:1.0~rc3++final.dfsg1-1
* upload to unstable
* enable mencoder and mplayer-gui package
* build again against the system FFmpeg 0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>4.3. Software Volume adjustment</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="MPlayer - The Movie Player"><link rel="up" href="advaudio.html" title="Chapter 4. Advanced audio usage"><link rel="prev" href="advaudio-channels.html" title="4.2. Channel manipulation"><link rel="next" href="cd-dvd.html" title="Chapter 5. CD/DVD usage"><link rel="preface" href="howtoread.html" title="How to read this documentation"><link rel="chapter" href="intro.html" title="Chapter 1. Introduction"><link rel="chapter" href="install.html" title="Chapter 2. Installation"><link rel="chapter" href="usage.html" title="Chapter 3. Usage"><link rel="chapter" href="advaudio.html" title="Chapter 4. Advanced audio usage"><link rel="chapter" href="cd-dvd.html" title="Chapter 5. CD/DVD usage"><link rel="chapter" href="tv.html" title="Chapter 6. TV"><link rel="chapter" href="radio.html" title="Chapter 7. Radio"><link rel="chapter" href="video.html" title="Chapter 8. Video output devices"><link rel="chapter" href="ports.html" title="Chapter 9. Ports"><link rel="chapter" href="mencoder.html" title="Chapter 10. Basic usage of MEncoder"><link rel="chapter" href="encoding-guide.html" title="Chapter 11. Encoding with MEncoder"><link rel="chapter" href="faq.html" title="Chapter 12. Frequently Asked Questions"><link rel="appendix" href="bugreports.html" title="Appendix A. How to report bugs"><link rel="appendix" href="skin.html" title="Appendix B. MPlayer skin format"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">4.3. Software Volume adjustment</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="advaudio-channels.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Advanced audio usage</th><td width="20%" align="right"> <a accesskey="n" href="cd-dvd.html">Next</a></td></tr></table><hr></div><div class="sect1" title="4.3. Software Volume adjustment"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="advaudio-volume"></a>4.3. Software Volume adjustment</h2></div></div></div><p>
 
2
Some audio tracks are too quiet to be heard comfortably without amplification.
 
3
This becomes a problem when your audio equipment cannot amplify the signal for
 
4
you. The <tt class="option">-softvol</tt> option directs
 
5
<span class="application">MPlayer</span> to use an internal mixer. You can then use
 
6
the volume adjustment keys (by default <span class="keycap"><b>9</b></span> and
 
7
<span class="keycap"><b>0</b></span>) to reach much higher volume levels. Note that this does not
 
8
bypass your sound card's mixer; <span class="application">MPlayer</span> only
 
9
amplifies the signal before sending it to your sound card.
 
10
The following example is a good start:
 
11
</p><pre class="screen">
 
12
mplayer <em class="replaceable"><code>quiet-file</code></em> -softvol -softvol-max 300
 
13
</pre><p>
 
14
The <tt class="option">-softvol-max</tt> option specifies the maximum allowable output
 
15
volume as a percentage of the
 
16
original volume. For example, <tt class="option">-softvol-max 200</tt> would allow the
 
17
volume to be adjusted up to twice its original level.
 
18
It is safe to specify a large value with
 
19
<tt class="option">-softvol-max</tt>; the higher volume will not be used until you
 
20
use the volume adjustment keys. The only disadvantage of a large value is that,
 
21
since <span class="application">MPlayer</span> adjusts volume by a percentage of the
 
22
maximum, you will not have as precise control when using the volume adjustment
 
23
keys. Use a lower value with <tt class="option">-softvol-max</tt> and/or specify
 
24
<tt class="option">-volstep 1</tt> if you need higher precision.
 
25
</p><p>
 
26
The <tt class="option">-softvol</tt> option works by controlling the
 
27
<tt class="option">volume</tt> audio filter. If you want to play a file at a certain
 
28
volume from the beginning you can specify <tt class="option">volume</tt> manually:
 
29
</p><pre class="screen">mplayer <em class="replaceable"><code>quiet-file</code></em> -af volume=10</pre><p>
 
30
This will play the file with a ten decibel gain. Be careful when using the
 
31
<tt class="option">volume</tt> filter - you could easily hurt your ears if you use
 
32
too high a value. Start low and work your way up gradually until you get a feel
 
33
for how much adjustment is required. Also, if you specify excessively high
 
34
values, <tt class="option">volume</tt> may need to clip the signal to avoid sending
 
35
your sound card data that is outside the allowable range; this will result in
 
36
distorted audio.
 
37
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="advaudio-channels.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="advaudio.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="cd-dvd.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">4.2. Channel manipulation </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 5. CD/DVD usage</td></tr></table></div></body></html>