|
发表于 2008-12-22 01:56:32
|
显示全部楼层
你说的对,应该用 -af volume 。
用法是
- mplayer −af volume=10.1:0 media.avi
复制代码
单位是分贝,在默认值上加减音量。
- volume[=v[:sc]]
-
- Implements software volume control. Use this filter with caution since it can reduce the signal to noise ratio of the sound. In most cases it is best to set the level for the PCM sound to max, leave this filter out and control the output level to your speakers with the master volume control of the mixer. In case your sound card has a digital PCM mixer instead of an analog one, and you hear distortion, use the MASTER mixer instead. If there is an external amplifier connected to the computer (this is almost always the case), the noise level can be minimized by adjusting the master level and the volume knob on the amplifier until the hissing noise in the background is gone.
- This filter has a second feature: It measures the overall maximum sound level and prints out that level when MPlayer exits. This volume estimate can be used for setting the sound level in MEncoder such that the maximum dynamic range is utilized.
- NOTE: This filter is not reentrant and can therefore only be enabled once for every audio stream.
-
- <v>
-
- Sets 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.
- WARNING: This feature creates distortion and should be considered a last resort.
-
- EXAMPLE:
-
- mplayer −af volume=10.1:0 media.avi
-
- Would amplify the sound by 10.1dB and hard-clip if the sound level is too high.
复制代码
http://www.mplayerhq.hu/DOCS/man ... tml#AUDIO%20FILTERS
复杂啊。 |
|