@@ -32,7 +32,7 @@ class VideoWebmLow(Config):
32
32
"""Low Quality webm video
33
33
34
34
480:h format with height adjusted to keep aspect ratio
35
- 200k target, 300k max video bitrate
35
+ 128k target video bitrate but stay within quality boundaries.
36
36
48k audio bitrate"""
37
37
38
38
VERSION = 1
@@ -43,10 +43,9 @@ class VideoWebmLow(Config):
43
43
options : ClassVar [Dict [str , Optional [Union [str , bool , int ]]]] = {
44
44
"-codec:v" : "libvpx" , # video codec
45
45
"-quality" : "best" , # codec preset
46
- "-b:v" : "200k" , # target video bitrate
47
- "-maxrate" : "300k" , # max video bitrate
48
- "-bufsize" : "512k" , # target bitrate window
49
- "-qmax" : "30" , # Max quantizer scale. Cap loss to reduce VP8 shimmer bug.
46
+ "-b:v" : "128k" , # Adjust quantizer within min/max to target this bitrate
47
+ "-qmin" : "18" , # Reduce the bitrate on very still videos once the quality is good enough.
48
+ "-qmax" : "40" , # Increase the bitrate on very busy videos once the quality degrades too much. Also reduce key shimmer bug.
50
49
"-vf" : "scale='480:trunc(ow/a/2)*2'" , # frame size
51
50
"-codec:a" : "libvorbis" , # audio codec
52
51
"-ar" : "44100" , # audio sampling rate
0 commit comments