summaryrefslogtreecommitdiff
path: root/bin/decode+edit+encode
diff options
context:
space:
mode:
Diffstat (limited to 'bin/decode+edit+encode')
-rwxr-xr-xbin/decode+edit+encode1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/decode+edit+encode b/bin/decode+edit+encode
index 730b6eb..ac0ab7c 100755
--- a/bin/decode+edit+encode
+++ b/bin/decode+edit+encode
@@ -23,6 +23,7 @@ ffmpeg -threads auto -y -re \
"[0:v]scale=-1:$HEIGHT[bg];
[bg][1:v]overlay=main_w-overlay_w-20:main_h-overlay_h-20" \
-an \
+ -pix_fmt yuv420p \
-codec:v vp8 -quality realtime -deadline realtime -cpu-used 4 \
-b:v "$VBITRATE" -minrate "$VBITRATE" -maxrate "$VBITRATE" \
-undershoot-pct 95 -bufsize $((6000*VBITRATE/1000)) -rc_init_occupancy $((4000*VBITRATE/1000)) \