asterisk/codecs.conf

Fri, 22 Oct 2010 13:22:33 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 22 Oct 2010 13:22:33 +0200
changeset 271
f45355418dfd
permissions
-rw-r--r--

Import package vendor original specs for necessary manipulations.

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

mercurial