[FFmpeg-devel] [PATCH v6] avcodec/libvpxenc: add a way to explicitly set temporal layer id
James Zern
jzern at google.com
Sat Feb 8 03:20:16 EET 2020
On Fri, Feb 7, 2020 at 10:44 AM Wonkap Jang
<wonkap-at-google.com at ffmpeg.org> wrote:
>
> Hi James,
>
> On Fri, Feb 7, 2020 at 10:36 AM Wonkap Jang <wonkap at google.com> 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 | 8 +++++++-
> > libavcodec/libvpxenc.c | 13 ++++++++++++-
> > 2 files changed, 19 insertions(+), 2 deletions(-)
> >
> > diff --git a/doc/encoders.texi b/doc/encoders.texi
> > index 7bae39435e..b1c4740fe9 100644
> > --- a/doc/encoders.texi
> > +++ b/doc/encoders.texi
> > @@ -1918,7 +1918,13 @@ 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 metadata in AVFrame with following
> > keys.
you can use @code{AVFrame}.
> > + at table @option
> > + at item vp8-flags
> > +Sets the flags passed into the encoder to indicate the referencing scheme
> > for the current frame.
it would be good to add a reference to the related vpx header like is
done earlier in this section with:
refer to @code{struct vpx_codec_enc_cfg} in @code{vpx/vpx_encoder.h} for more
More information about the ffmpeg-devel
mailing list