summaryrefslogtreecommitdiff
path: root/localvideowebencode
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-02-05 21:31:05 +0100
committerJonas Smedegaard <dr@jones.dk>2021-02-05 22:23:36 +0100
commitf3cefbc3ad104825edbb863df88d57eb7021a324 (patch)
tree4d8e12f8b6c2031d875c0c7496acb8e8c80d99f1 /localvideowebencode
parentd55f1310f83bde0297f80ac4e55ba82523e6cda7 (diff)
docs: add comment on how to establish/verify rendering settings
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-xlocalvideowebencode28
1 files changed, 28 insertions, 0 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 87b1a64..bb1ce63 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -158,6 +158,34 @@ samplestart=0
samplelength=150
compression=normal
+# establish/verify rendering settings for reference codec
+#
+# 1) pick reference frame:encoding format: 360p30:h.264
+# 2) pick reference codec (incl. normal settings)
+# 3) render reference frame format with --compression=quality
+# * check that bpp is near "refbpp" of 0.12
+# (otherwise adapt settings or do research and update refbpp)
+# 4) render misc. frame formats (esp. modulus 16) with --compression=quality
+# * check that bpp derives from refbpp by "rule of .75"
+# (otherwise adapt settings and/or do research and update rule)
+# 5) render misc. frame formats with --compression=normal
+# * check that bpp derives from refbpp by "rule of .75"
+# 6) optionally pick dirty/hq settings
+# * check that --compression=quality has filesize similar as normal
+
+# establish/verify rendering settings for non-reference codec
+#
+# 1) pick normal settings
+# 2) render reference frame format with --compression=quality
+# * check that this "codec-bpp" deviates reasonably from refbpp
+# 3) render misc. frame formats (esp. modulus 16) with --compression=quality
+# * check that bpp derives from codec-bpp by "rule of .75"
+# (otherwise adapt settings and/or extend rule)
+# 4) render misc. frame formats with --compression=normal
+# * check that bpp derives from codec-bpp by "rule of .75"
+# 5) optionally pick dirty/hq settings
+# * check that --compression=quality has similar filesize as normal
+
# VP8 is rumored to compress ~20% worse than H.264
factor_vp8=120/100
# VP9 compresses ~30% better than H.264 for practical use-cases