[MPlayer-DOCS] mencoder lameopts high/lowpassfriq

Diego Biurrun diego at biurrun.de
Sat Jan 24 03:38:20 CET 2004


Ivan Kalvachev writes:
 > 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. ~

OK, so how about

highpassfreq=<freq>
  Set a highpass filtering frequency in Hz.
  Frequencies below the specified one will be cut off.
  A value of -1 will disable filtering, a value of 'auto'
  will let lame choose values automatically.

lowpassfreq=<freq>
  Set a lowpass filtering frequency in Hz.
  Frequencies above the specified one will be cut off.
  A value of -1 will disable filtering, a value of 'auto'
  will let lame choose values automatically.

Diego




More information about the MPlayer-DOCS mailing list