@@ -31,7 +31,7 @@ class VideoWebmLow(Config):
3131 """Low Quality webm video
3232
3333 480:h format with height adjusted to keep aspect ratio
34- 200k target, 300k max video bitrate
34+ 128k target video bitrate but stay within quality boundaries.
3535 48k audio bitrate"""
3636
3737 VERSION = 1
@@ -42,10 +42,9 @@ class VideoWebmLow(Config):
4242 options = {
4343 "-codec:v" : "libvpx" , # video codec
4444 "-quality" : "best" , # codec preset
45- "-b:v" : "200k" , # target video bitrate
46- "-maxrate" : "300k" , # max video bitrate
47- "-bufsize" : "512k" , # target bitrate window
48- "-qmax" : "30" , # Max quantizer scale. Cap loss to reduce VP8 shimmer bug.
45+ "-b:v" : "128k" , # Adjust quantizer within min/max to target this bitrate
46+ "-qmin" : "18" , # Reduce the bitrate on very still videos once the quality is good enough.
47+ "-qmax" : "40" , # Increase the bitrate on very busy videos once the quality degrades too much. Also reduce key shimmer bug.
4948 "-vf" : "scale='480:trunc(ow/a/2)*2'" , # frame size
5049 "-codec:a" : "libvorbis" , # audio codec
5150 "-ar" : "44100" , # audio sampling rate
0 commit comments