Limiting bit rate.
--- a/ffmpeg.rst Sun Jun 28 14:36:31 2020 +0300
+++ b/ffmpeg.rst Sun Jun 28 14:49:46 2020 +0300
@@ -5,6 +5,18 @@
.. contents::
:local:
+Docs
+====
+
+https://ffmpeg.org/documentation.html
+ Docs index.
+http://ffmpeg.org/ffmpeg-all.html
+ Common options.
+https://ffmpeg.org/faq.html
+ FAQ.
+https://ffmpeg.org/ffmpeg.html
+ Syntax overview.
+
Print supported options
=======================
@@ -16,5 +28,29 @@
ffmpeg -pix_fmts
+Limiting bit rate
+=================
+``-maxrate`` should be accompanied with ``-bufsize`` option like::
+ -maxrate 800k -bufsize 1200k
+
+otherwise you'll get warning:
+
+> VBV maxrate specified, but no bufsize, ignored
+
+``-b:v RATE`` allows to specify average bitrate for video.
+
+To specify video stream use syntax like::
+
+ -c:v:0 libx264 -b:v:0 2000k -maxrate:v:0 2200k -bufsize:v:0 3000k
+
+https://trac.ffmpeg.org/wiki/Limiting%20the%20output%20bitrate
+ Limiting the output bitrate.
+https://trac.ffmpeg.org/wiki/EncodingForStreamingSites
+ Encoding for streaming sites.
+
+H.264
+=====
+
+https://trac.ffmpeg.org/wiki/Encode/H.264