[MPlayer-DOCS] mencoder lameopts high/lowpassfriq

Ivan Kalvachev ivan at cacad.com
Sat Jan 24 01:07:51 CET 2004


Hi

I have just commit 2 new options for -lameopts
...

{"lowpassfreq",&lame_param_lowpassfreq, CONF_TYPE_INT, CONF_RANGE, -1,
48000,0}
from `man lame`
"
 --lowpass freq
         Set a lowpass filtering frequency in kHz.  Frequen-
         cies above the specified one will be cutoff.
"
With other words, it keeps all frequencies lower than the given one I
think that the freq is in Hz ( i don't have calculations like in lame.c)


{"highpassfreq",&lame_param_highpassfreq, CONF_TYPE_INT, CONF_RANGE, -1,
48000,0
},
from `man lame`
"
 --highpass freq
           Set  an  highpass filtering frequency in kHz.  Fre-
           quencies below the specified one will be cutoff.
"
With other words, it keeps all frequencies higher than given one.


All freq are in Hz, not kHz (I don't have same calculations like in
lame.c). there are 2 special values
-1 - disable filter
  - auto - let lame use auto values.

I add these options becouse this is the only way filters could be
disabled.
If I encode from HiFi source (CD-ROM) I can hear that the filter is too
agressive. Without it I cannot find out what file is the original one. Of
cource this increase the requared bitrate, but I think it worths it. ~

Best Regards
   Ivan Kalvachev
  iive




More information about the MPlayer-DOCS mailing list