diff options
author | Ard Oerlemans <ardoerlemans-at-google.com@ffmpeg.org> | 2018-11-14 12:56:31 -0800 |
---|---|---|
committer | James Zern <jzern@google.com> | 2018-11-19 11:33:43 -0800 |
commit | 95107af314620fc79d9efaa708f3d03bb27e884d (patch) | |
tree | 64b0a9039a7aeb0189b1c0764f0e6448f4ca5138 /doc/encoders.texi | |
parent | bddcbb932f4cfaa622fb5f4bb217a338cde5ac8e (diff) | |
download | ffmpeg-95107af314620fc79d9efaa708f3d03bb27e884d.tar.gz |
avcodec/libvpxenc: add VP8 temporal scalability config options
This commit adds configuration options to libvpxenc.c that can be used to
enable VP8 temporal scalability. It also adds a way to programmatically set the
per-frame encoding flags which can be used to control usage and updates of
reference frames while encoding with temporal scalability enabled.
Signed-off-by: James Zern <jzern@google.com>
Diffstat (limited to 'doc/encoders.texi')
-rw-r--r-- | doc/encoders.texi | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/encoders.texi b/doc/encoders.texi index bc5772ad38..4db7764f4d 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -1764,6 +1764,34 @@ Set number of frames to look ahead for frametype and ratecontrol. @item error-resilient Enable error resiliency features. +@item VP8-specific options +@table @option +@item ts-parameters +Sets the temporal scalability configuration using a :-separated list of +key=value pairs. For example, to specify temporal scalability parameters +with @code{ffmpeg}: +@example +ffmpeg -i INPUT -c:v libvpx -ts-parameters ts_number_layers=3:\ +ts_target_bitrate=250000,500000,1000000:ts_rate_decimator=4,2,1:\ +ts_periodicity=4:ts_layer_id=0,2,1,2 OUTPUT +@end example +Below is a brief explanation of each of the parameters, please +refer to @code{struct vpx_codec_enc_cfg} in @code{vpx/vpx_encoder.h} for more +details. +@table @option +@item ts_number_layers +Number of temporal coding layers. +@item ts_target_bitrate +Target bitrate for each temporal layer. +@item ts_rate_decimator +Frame rate decimation factor for each temporal layer. +@item ts_periodicity +Length of the sequence defining frame temporal layer membership. +@item ts_layer_id +Template defining the membership of frames to temporal layers. +@end table +@end table + @item VP9-specific options @table @option @item lossless |