[MPlayer-dev-eng] Support for new sample formats

Anders Johansson ajh at watri.uwa.edu.au
Thu Nov 14 10:57:42 CET 2002


Hi 
> Hi Anders!
> 
> Could you update the man page with the new options, please?
> Thanks

Here is a diff. 

BTW:
If anyone feels like enabling the -af switch in mencoder - feel
free to do it, I don't want to poke around in mencoder cause I don't
know it well enough, but there is no reason that it shouldn't work. 

> Diego

//Anders

-------------- next part --------------
Index: DOCS/mplayer.1
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/mplayer.1,v
retrieving revision 1.262
diff -u -r1.262 mplayer.1
--- DOCS/mplayer.1	13 Nov 2002 01:17:58 -0000	1.262
+++ DOCS/mplayer.1	14 Nov 2002 09:55:00 -0000
@@ -910,25 +910,35 @@
 channel is repeated in both of the output channels).
 If the number of output channels is smaller than the number of input channels
 the exceeding channels are truncated.
-.IPs format[=f,bps]
-Select the format f used for output from the filter layer.
-The format is selected according to the defines in libao2/afmt.h.
-The option bps is an integer and denotes bytes per sample and has to conform
-to the chosen format.
-.IPs "volume[=v0:v1:v2:v3:v4:v5:sc:pr:en]"
+.IPs format[=bps,f]
+Select the format f and bits per sample bps used for output from the
+filter layer. The option bps is an integer and denotes bytes per
+sample. The format f is a string containing a concatenated mix of:
+.br
+alaw, mulaw or imaadpcm
+.br
+float or int
+.br
+unsigned or signed
+.br
+le or be (little or big endian)
+.br
+.IPs "volume[=v:sc:pr:en]"
 Select the output volume level.
 This filter is not reentrant and can therefore only be enabled once for every
 audio stream.
 .RSss
-v0 to v5: desired gain in dB for each channel in the stream.
-The gain can be set from -60dB to +20dB (where -60dB equals a gain of 1/1000
-and +20dB equals a gain of 10).
+v: desired gain in dB for all channels in the stream. The gain can be
+set from -200dB to +40dB (where -200dB mutes the sound completely and
++40dB equals a gain of 1000). The default gain is -20dB.
 .br
 sc: enable soft clipping.
 .br
-pr: enable probing of the audio stream instantaneous.
-The maximal volume is probed on a per channel basis and can only be accessed
-through the runtime interface of the filter.
+pr: enable probing of the volume level for each audio stream. Both the
+maximum and instantaneous volume is probed. The instantaneous volume
+can only be accessed through the runtime interface, but the maximum
+volume is printed at the end of the movie. This value can be used when
+transcoding movies to maximize the utilization of the dynamic range.
 .br
 en: enable and disable the volume control.
 .REss


More information about the MPlayer-dev-eng mailing list