[MPlayer-dev-eng] ANNOUNCE: new audio filter layer in use

Arpi arpi at thot.banki.hu
Sun Oct 6 02:54:48 CEST 2002


Hi,

Ok i've finally finished and commited the integration of Anders' new audio
filter library. I have to say it works fine!

But here are some notes:

mplayer's -srate has different function now: it sets the playback samplerate
(actually it's only a hint for the selected -ao driver, it can _and_should_
override if not acceptable)

it depends on the ao_data fields channels,samplerate,bps(bytes per _second_)
and format (see afmt.h), so every -ao driver HAVE TO set up them properly.
please check your ao driver!

the ao driver should not fail if channels/format/rate not acceptable - they
should change them (in ao_data) to the wanted/accepted values. the
conversion will be done automatically by libaf then.

for example, DVB's -ao mpegpes only support 32,44,48,96 khz, only 16bit
big-endian stereo format. the conversion is now happen by libaf.

about mencoder:
-channels option is now common, meaning for both mplayer and mencoder:
number of output channels. note, that it's also a hint only, the encoder/ao
driver may ignore it if not supported value.

-ovc pcm and -ovc mp3lame now initializes and uses libaf for conversion, so
you can convert any audio format. note, that no automatic samplerate
selection for mp3, so if your source is nonstandard samplerate, you have to
choose and set (-srate) one mp3 standard rate.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list