[FFmpeg-devel] [PATCH v5 2/2] doc/vaapi_encode: add documentations for max_frame_size

Fei Wang fei.w.wang at intel.com
Fri Apr 22 08:36:15 EEST 2022


From: Linjie Fu <linjie.fu at intel.com>

Add docs for max_frame_size option.

Signed-off-by: Linjie Fu <linjie.fu at intel.com>
Signed-off-by: Fei Wang <fei.w.wang at intel.com>
---
 doc/encoders.texi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/encoders.texi b/doc/encoders.texi
index aac9f25e55..d66713b69f 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -3630,6 +3630,11 @@ performance. This option doesn't work if driver doesn't implement vaSyncBuffer
 function. Please make sure there are enough hw_frames allocated if a large
 number of async_depth is used.
 
+ at item max_frame_size
+Set the allowed max size in bytes for each frame. If the frame size exceeds
+the limitation, encoder will adjust the QP value to control the frame size.
+Invalid in CQP rate control mode.
+
 @item rc_mode
 Set the rate control mode to use.  A given driver may only support a subset of
 modes.
-- 
2.25.1



More information about the ffmpeg-devel mailing list