aboutsummaryrefslogtreecommitdiffstats
path: root/doc/bitstream_filters.texi
diff options
context:
space:
mode:
authorZhao Zhili <zhilizhao@tencent.com>2024-05-23 15:08:54 +0800
committerZhao Zhili <zhilizhao@tencent.com>2024-06-07 13:14:46 +0800
commit680b3cee1f481976cae9787e16f181c1d0e989bd (patch)
tree126dccdbd6894460ea51d191587b0605ba760380 /doc/bitstream_filters.texi
parentd55f5cba7b1fd362beb3b0322c5674016a85e859 (diff)
downloadffmpeg-680b3cee1f481976cae9787e16f181c1d0e989bd.tar.gz
avcodec/h265_metadata: Add options to set width/height after crop
It's a common usecase to request a video size after crop. Before this patch, user must know the video size before crop, then set crop_right/crop_bottom accordingly. Since HEVC can have different CTU size, it's not easy to get/deduce the video size before crop. With the new width/height options, there is no such requirement. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'doc/bitstream_filters.texi')
-rw-r--r--doc/bitstream_filters.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi
index 3d4dda04fc..c03f04f858 100644
--- a/doc/bitstream_filters.texi
+++ b/doc/bitstream_filters.texi
@@ -456,6 +456,10 @@ will replace the current ones if the stream is already cropped.
These fields are set in pixels. Note that some sizes may not be
representable if the chroma is subsampled (H.265 section 7.4.3.2.1).
+@item width
+@item height
+Set width and height after crop.
+
@item level
Set the level in the VPS and SPS. See H.265 section A.4 and tables
A.6 and A.7.