[FFmpeg-devel] [PATCH v7] avcodec/libvpxenc: add a way to explicitly set temporal layer id

James Zern jzern at google.com
Mon Feb 10 22:58:28 EET 2020


On Mon, Feb 10, 2020 at 10:30 AM Wonkap Jang
<wonkap-at-google.com at ffmpeg.org> wrote:
>
> In order for rate control to correctly allocate bitrate to each temporal
> layer, correct temporal layer id has to be set to each frame. This
> commit provides the ability to set correct temporal layer id for each
> frame.
> ---
>  doc/encoders.texi      |  9 ++++++++-
>  libavcodec/libvpxenc.c | 13 ++++++++++++-
>  2 files changed, 20 insertions(+), 2 deletions(-)
>

lgtm. I'll apply this soon.

> diff --git a/doc/encoders.texi b/doc/encoders.texi
> index 7bae39435e..56fe208fef 100644
> --- a/doc/encoders.texi
> +++ b/doc/encoders.texi
> @@ -1918,7 +1918,14 @@ Currently supports the following options.
>  @table @option
>  @item 0
>  No temporal layering flags are provided internally,
> -relies on flags being passed in using metadata in AVFrame.
> +relies on flags being passed in using @code{metadata} field in @code{AVFrame} with following keys.

I wrapped these lines at 80 characters locally.


More information about the ffmpeg-devel mailing list