From: Anton Khirnov <[email protected]>

Adapted from the author's blag.

Signed-off-by: Luca Barbato <[email protected]>
---

Reshaped it a bit.

 doc/encoders.texi | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/doc/encoders.texi b/doc/encoders.texi
index a7cf248..8809352 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -594,4 +594,62 @@ Override the x264 configuration using a :-separated list 
of key=value parameters
 Encoding avpresets for common usages are provided so they can be used with the
 general presets system (e.g. passing the @code{-pre} option).
 
+@section ProRes
+
+Apple ProRes encoder.
+
+@subsection Private Options
+
+@table @option
+@item profile @var{integer}
+Select the ProRes profile to encode
+@table @samp
+@item proxy
+@item lt
+@item standard
+@item hq
+@end table
+
+@item quant_mat @var{integer}
+Select quantization matrix.
+@table @samp
+@item auto
+@item default
+@item proxy
+@item lt
+@item standard
+@item hq
+@end table
+If set to @var{auto}, the matrix matching the profile will be picked.
+If not set the matrix providing the highest quality, @var{default}, will be
+picked.
+
+@item bits_per_mb @var{integer}
+How many bits to give for coding one macroblock, different profiles use
+from 200 bits per macroblock to 2400, one can set it up to 8000.
+
+@item mbs_per_slice @var{integer}
+How many macroblocks are there in slice, 1-8. Default value of eight
+should be good for almost all situations though.
+
+@item vendor @var{string}
+Override the 4 byte vendor ID.
+One can put custom vendor ID into frame like @var{apl0} to claim it was
+produced by Apple encoder.
+
+@end table
+
+@subsection Speed considerations
+
+In default mode of operation encoder has to honour frame constraints (i.e. not
+producing frames with size bigger than requested) while still making output
+picture as good as possible.
+A frame containing lots of small details is harder to compress and the encoder
+would spend more time in searching for appropriate quantizers for each slice.
+
+Setting higher @option{bits_per_mb} limit will improve the speed.
+
+For the fastest encoding speed set the @option{qscale} parameter (4 is the
+recommended value) and do not set a size constraint.
+
 @c man end VIDEO ENCODERS
-- 
1.8.1.5

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to