From 43a08d907ba765677254b4816f246a8ecfd7ff78 Mon Sep 17 00:00:00 2001 From: Linjie Fu Date: Tue, 12 May 2020 21:47:13 +0800 Subject: lavc/vaapi_encode_h265: add h265 tile encoding support Default to enable uniform_spacing_flag. Guess level by the tile rows/cols. Supported for ICL+ platforms. Also add documentations. To encode with 4 rows 2 columns: ffmpeg ... -c:v hevc_vaapi -tiles 4x2 ... ffmpeg ... -c:v hevc_vaapi -tile_rows 4 -tile_cols 2 ... Suggested-by: Jun Zhao Signed-off-by: Linjie Fu --- doc/encoders.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc') diff --git a/doc/encoders.texi b/doc/encoders.texi index 5406d20c00..23542c8a62 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -3145,6 +3145,19 @@ Include HDR metadata if the input frames have it messages). @end table +@item tiles +Set the number of tiles to encode the input video with, as rows x columns. +Larger numbers allow greater parallelism in both encoding and decoding, but +may decrease coding efficiency. + +@item tile_rows +Selects how many rows of tiles to encode with. For example, 4 tile rows would +be requested by setting the tile_rows option to 4. + +@item tile_cols +Selects how many columns of tiles to encode with. For example, 5 tile columns +would be requested by setting the tile_cols option to 5. + @end table @item mjpeg_vaapi -- cgit v1.2.3