codecs.conf 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. [speex]
  2. ; CBR encoding quality [0..10]
  3. ; used only when vbr = false
  4. quality =>8
  5. ; codec complexity [0..10]
  6. ; tradeoff between cpu/quality
  7. complexity =>1
  8. ; perceptual enhancement [true / false]
  9. ; improves clarity of decoded speech
  10. enhancement => false
  11. ; voice activity detection [true / false]
  12. ; reduces bitrate when no voice detected, used only for CBR
  13. ; (implicit in VBR/ABR)
  14. vad => false
  15. ; variable bit rate [true / false]
  16. ; uses bit rate proportionate to voice complexity
  17. vbr => false
  18. ; available bit rate [bps, 0 = off]
  19. ; encoding quality modulated to match this target bit rate
  20. ; not recommended with dtx or pp_vad - may cause bandwidth spikes
  21. abr => 0
  22. ; VBR encoding quality [0-10]
  23. ; floating-point values allowed
  24. vbr_quality => 4
  25. ; discontinuous transmission [true / false]
  26. ; stops transmitting completely when silence is detected
  27. ; pp_vad is far more effective but more CPU intensive
  28. dtx => false
  29. ; preprocessor configuration
  30. ; these options only affect Speex v1.1.8 or newer
  31. ; enable preprocessor [true / false]
  32. ; allows dsp functionality below but incurs CPU overhead
  33. preprocess => false
  34. ; preproc voice activity detection [true / false]
  35. ; more advanced equivalent of DTX, based on voice frequencies
  36. pp_vad => false
  37. ; preproc automatic gain control [true / false]
  38. pp_agc => false
  39. pp_agc_level => 8000
  40. ; preproc denoiser [true / false]
  41. pp_denoise => false
  42. ; preproc dereverb [true / false]
  43. pp_dereverb => false
  44. pp_dereverb_decay => 0.4
  45. pp_dereverb_level => 0.3
  46. [plc]
  47. ; for all codecs which do not support native PLC
  48. ; this determines whether to perform generic PLC
  49. ; there is a minor performance penalty for this
  50. genericplc => true