From 66bfbabafcd85aaf50d1a7383d0c6d457d0bf781 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Mon, 17 Jun 2013 17:38:38 -0700 Subject: [PATCH] doc/encoders: Add libopencore-amrnb doc Signed-off-by: Michael Niedermayer (cherry picked from commit 9ead06057acfcc43bcb99a63a7c58543007b2847) Signed-off-by: Timothy Gu --- doc/encoders.texi | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index fac470a7fe..8958211ee4 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -500,6 +500,43 @@ default value is 0 (disabled). @end table +@section libopencore-amrnb + +OpenCORE Adaptive Multi-Rate Narrowband encoder. + +Requires the presence of the libopencore-amrnb headers and library during +configuration. You need to explicitly configure the build with +@code{--enable-libopencore-amrnb --enable-version3}. + +This is a mono-only encoder. Officially it only supports 8000Hz sample rate, +but you can override it by setting @option{strict} to @samp{unofficial} or +lower. + +@subsection Options + +@table @option + +@item b +Set bitrate in bits per second. Only the following bitrates are supported, +otherwise libavcodec will round to the nearest valid bitrate. + +@table @option +@item 4750 +@item 5150 +@item 5900 +@item 6700 +@item 7400 +@item 7950 +@item 10200 +@item 12200 +@end table + +@item dtx +Allow discontinuous transmission (generate comfort noise) when set to 1. The +default value is 0 (disabled). + +@end table + @c man end AUDIO ENCODERS @chapter Video Encoders