summaryrefslogtreecommitdiff
path: root/localvideowebencode
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-02-05 21:28:45 +0100
committerJonas Smedegaard <dr@jones.dk>2021-02-05 22:23:36 +0100
commit0486aef300c65941284fb1eaf5c392233cb48103 (patch)
tree86f61f3e3666f03c07c151822c151eeadfa5b94b /localvideowebencode
parent55cad333c41d7201f2d41bf0fdbd8f46c974e6bf (diff)
fix adjust vp8/vp9 default settings, and use Constrained Quality+VBV by default (not VBR)
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-xlocalvideowebencode13
1 files changed, 7 insertions, 6 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 6835515..1966207 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -157,11 +157,12 @@ stillframe=0
samplestart=0
samplelength=150
compression=normal
+
# VP8 is rumored to compress ~20% worse than H.264
factor_vp8=120/100
-# VP9 compresses natural video ~27% worse than H.264 (i.e. excluding animation)
-# <http://infoscience.epfl.ch/record/200925/files/article-vp9-submited-v2.pdf>
-factor_vp9=127/100
+# VP9 compresses ~30% better than H.264 for practical use-cases
+# <https://engineering.fb.com/2018/04/10/video-engineering/av1-beats-x264-and-libvpx-vp9-in-practical-use-case/>
+factor_vp9=70/100
# Mimic ReplayGain level when loudness is enabled (EBU R128: -23LUFS)
# <https://auphonic.com/blog/2013/01/07/loudness-targets-mobile-audio-podcasts-radio-tv/>
lufs=-18
@@ -233,10 +234,10 @@ qkey_vp8=crf
qkey_vp9=crf
qkey_h264=crf
q_theora=5
-#q_vp8=10
+q_vp8=33
cpu_vp8=2
-#q_vp9=10
-cpu_vp9=5
+q_vp9=33
+cpu_vp9=2
q_h264=23
preset_h264=medium
profile_vp8=0