[MPlayer-dev-eng] Support for new sample formats
ajh at watri.uwa.edu.au
Tue Nov 12 13:52:24 CET 2002
There is support for new types of sample formats in the audio
filters. The new types are ima-adpcm, A-law, mu-law and float.
Try this for example:
mplayer -v -af format=4:float_be,format=1:alaw,format=2:int_le -af-adv force=3 movie.avi
The format is read from the command line in (semi) human readable
float or int (default is int)
alaw, mulaw or imaadpcm
le or be - little or big endian (default is native endian)
us or si - unsigned or signed int (default is signed)
define the desired format with _ between the words, example:
would give 16bit big-endian unsigned int.
There is also a change to the volume control the volume is set with
only one parameter that affects all the channels:
would give an attenuation of 12 dB on all channels (the other
parameters are the same as previously).
I will soon fix this with a pan filter.
More information about the MPlayer-dev-eng