From 728d56e84f7257e75a0f3824ebb8e53c2444b09b Mon Sep 17 00:00:00 2001
From: James Zern <jzern@google.com>
Date: Fri, 11 Feb 2011 16:02:45 -0800
Subject: [PATCH] documentation: add encoders chapter

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 0fa904c9d845d4a47372e619067e21991bb39b06)
---
 doc/encoders.texi | 20 ++++++++++++++++++++
 doc/ffmpeg.texi   |  1 +
 2 files changed, 21 insertions(+)
 create mode 100644 doc/encoders.texi

diff --git a/doc/encoders.texi b/doc/encoders.texi
new file mode 100644
index 00000000000..cab98fb0bdf
--- /dev/null
+++ b/doc/encoders.texi
@@ -0,0 +1,20 @@
+@chapter Encoders
+@c man begin ENCODERS
+
+Encoders are configured elements in FFmpeg which allow the encoding of
+multimedia streams.
+
+When you configure your FFmpeg build, all the supported native encoders
+are enabled by default. Encoders requiring an external library must be enabled
+manually via the corresponding @code{--enable-lib} option. You can list all
+available encoders using the configure option @code{--list-encoders}.
+
+You can disable all the encoders with the configure option
+@code{--disable-encoders} and selectively enable / disable single encoders
+with the options @code{--enable-encoder=@var{ENCODER}} /
+@code{--disable-encoder=@var{ENCODER}}.
+
+The option @code{-codecs} of the ff* tools will display the list of
+enabled encoders.
+
+@c man end ENCODERS
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 8b8e42f1f6f..f0f3b650845 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -981,6 +981,7 @@ file to which you want to add them.
 @c man end EXAMPLES
 
 @include eval.texi
+@include encoders.texi
 @include demuxers.texi
 @include muxers.texi
 @include indevs.texi
-- 
GitLab