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

/Tomas
From 99c3b511252ba403b1aa7f00d31f9455304c50da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <g...@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}
-- 
2.30.2

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to