diff mbox series

[FFmpeg-devel,3/3] doc/encoders.texi: Document updated behavior

Message ID f050d9acaed75caf4f7de67d7450f8a3d17dd139.camel@acc.umu.se
State New
Headers show
Series [FFmpeg-devel,1/3] doc/encoders.texi: Document cinepak encoder | expand


Context Check Description
yinshiyou/configure_loongarch64 warning Failed to apply patch
andriy/configure_x86 warning Failed to apply patch
andriy/configure_armv7_RPi4 warning Failed to apply patch

Commit Message

Tomas Härdin April 9, 2022, 1:37 p.m. UTC
I forgot to comment on the previous patch the change from -keyint_min
to -g. It didn't really make much difference then since the encoder
would put keyframes at fixed interval in addition to any accidental
keyframes that the encoder may deem appropriate

diff mbox series


From 99c3b511252ba403b1aa7f00d31f9455304c50da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
Date: Sat, 9 Apr 2022 14:40:47 +0200
Subject: [PATCH 3/3] doc/encoders.texi: Document updated behavior

Bitrates of akiyo changed slightly.
 doc/encoders.texi | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/doc/encoders.texi b/doc/encoders.texi
index 1adfe382a4..75e49ec359 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -1279,23 +1279,23 @@  Compatible with Windows 3.1 and vintage MacOS.
 @subsection Options
 @table @option
-@item keyint_min @var{integer}
+@item g @var{integer}
 Keyframe interval.
-A keyframe is inserted every @code{-keyint_min}-th frame.
+A keyframe is inserted at least every @code{-g} frames, sometimes sooner.
 @item q:v @var{integer}
 Quality factor. Lower is better. Higher gives lower bitrate.
-The following table lists bitrates when encoding akiyo_cif.y4m for various values of @code{-q:v} with @code{-keyint_min 100}:
+The following table lists bitrates when encoding akiyo_cif.y4m for various values of @code{-q:v} with @code{-g 100}:
 @table @option
 @item @code{-q:v 1} 1918 kb/s
 @item @code{-q:v 2} 1735 kb/s
 @item @code{-q:v 4} 1500 kb/s
-@item @code{-q:v 10} 1064 kb/s
+@item @code{-q:v 10} 1041 kb/s
 @item @code{-q:v 20} 826 kb/s
 @item @code{-q:v 40} 553 kb/s
 @item @code{-q:v 100} 394 kb/s
-@item @code{-q:v 200} 311 kb/s
+@item @code{-q:v 200} 312 kb/s
 @item @code{-q:v 400} 266 kb/s
 @item @code{-q:v 1000} 237 kb/s
 @end table
@@ -1311,6 +1311,7 @@  Avoid wasting bytes, ignore vintage MacOS decoder.
 The minimum and maximum number of strips to use.
 Wider range sometimes improves quality.
 More strips is generally better quality but costs more bits.
+Fewer strips tend to yield more keyframes.
 Vintage compatible is 1..3.
 @item strip_number_adaptivity @var{integer}