[MPlayer-dev-eng] Support for new sample formats
Diego Biurrun
diego at biurrun.de
Wed Nov 13 01:23:53 CET 2002
Hi Anders!
Could you update the man page with the new options, please?
Thanks
Diego
Anders Johansson writes:
>
> 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
> format:
>
> 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:
>
> format=2:be_us_int
>
> 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:
>
> volume=-12.0:...
>
> 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
mailing list