mplayer.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 09 Oct 2017 10:49:36 +0300
changeset 2188 e95731eef030
parent 1912 8b81a8f0f692
permissions -rw-r--r--
Fixed: NameError: name 'locale_encoding' is not defined File /bin/rst2html.py, line 17, in <module> from docutils.core import publish_cmdline, default_description File /usr/lib/python2.7/site-packages/docutils/core.py, line 20, in <module> from docutils import frontend, io, utils, readers, writers File /usr/lib/python2.7/site-packages/docutils/frontend.py, line 41, in <module> import docutils.utils File /usr/lib/python2.7/site-packages/docutils/utils/__init__.py, line 20, in <module> import docutils.io File /usr/lib/python2.7/site-packages/docutils/io.py, line 18, in <module> from docutils.utils.error_reporting import locale_encoding, ErrorString, ErrorOutput File /usr/lib/python2.7/site-packages/docutils/utils/error_reporting.py, line 60, in <module> codecs.lookup(locale_encoding or '') # None -> '' NameError: name 'locale_encoding' is not defined

.. -*- coding: utf-8; -*-

==========
 mplayer.
==========
.. contents::
   :local:

Increase volume above sound cards maximum volume.
=================================================
::

  $ mplayer -af volume=<v>:<sc> media.avi

``<v>`` is the desired gain in dB for all channels in the stream from -200dB to
+60dB, where -200dB mutes the sound completely and +60dB equals a gain of 1000
(default: 0).

``<sc>`` Turns soft clipping on (1) or off (0). Soft-clipping can make the sound
more smooth if very high volume levels are used. Enable this option if the
dynamic range of the loudspeakers is very low.

Maximizes the volume without distorting the sound::

  $ mplayer −af volnorm media.avi