summaryrefslogtreecommitdiff
path: root/doc/encoders.texi
diff options
context:
space:
mode:
authorMichael Graczyk <mgraczyk@google.com>2016-06-14 18:33:15 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2016-07-02 23:31:16 +0200
commit37941878f193a2316c514bd5ba55bfe9d2dfdfcf (patch)
treec29097b85dc064a31b8ffc7f589597dfa26c57ff /doc/encoders.texi
parenta1e3c7cf0fd982d4d82146c4cbe78f6255ae9ca2 (diff)
libopusenc: Add channel mapping family argument
The default value of -1 indicates that ffmpeg should determine the channel mapping automatically, which was the behavior before this commit. Unless the -mapping_family argument is provided, behavior is unchanged. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc/encoders.texi')
-rw-r--r--doc/encoders.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/encoders.texi b/doc/encoders.texi
index f38cad3e23..d0caa77ee3 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -1184,6 +1184,17 @@ following: 4000, 6000, 8000, 12000, or 20000, corresponding to
narrowband, mediumband, wideband, super wideband, and fullband
respectively. The default is 0 (cutoff disabled).
+@item mapping_family (@emph{mapping_family})
+Set channel mapping family to be used by the encoder. The default value of -1
+uses mapping family 0 for mono and stereo inputs, and mapping family 1
+otherwise. The default also disables the surround masking and LFE bandwidth
+optimzations in libopus, and requires that the input contains 8 channels or
+fewer.
+
+Other values include 0 for mono and stereo, 1 for surround sound with masking
+and LFE bandwidth optimizations, and 255 for independent streams with an
+unspecified channel layout.
+
@end table
@section libvorbis