summaryrefslogtreecommitdiff
path: root/bin/decode+edit+encode
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-04-27 20:09:46 +0200
committerJonas Smedegaard <dr@jones.dk>2017-04-27 20:09:46 +0200
commit73c58e6cf15a921197a6e85422cb061fe01b0f53 (patch)
tree13c5c821e5037d5783369bdf805aa674778c836d /bin/decode+edit+encode
parent943f0e2f7dcdaccbbfc1a07b4218f97e85d70914 (diff)
Use mapping (not audio/video supporession), and consistently use complex filter (not video filter).
Diffstat (limited to 'bin/decode+edit+encode')
-rwxr-xr-xbin/decode+edit+encode4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/decode+edit+encode b/bin/decode+edit+encode
index 6c00a56..3f733d9 100755
--- a/bin/decode+edit+encode
+++ b/bin/decode+edit+encode
@@ -21,8 +21,8 @@ ffmpeg -hide_banner -threads auto -y -re \
-i "$LOGO" \
-filter_complex \
"[0:v]scale=-1:$HEIGHT[bg];
- [bg][1:v]overlay=main_w-overlay_w-20:main_h-overlay_h-20" \
- -an \
+ [bg][1:v]overlay=main_w-overlay_w-20:main_h-overlay_h-20[v]" \
+ -map '[v]' \
-pix_fmt yuv420p \
-codec:v vp8 -quality realtime -deadline 1000000 -cpu-used 4 \
-b:v "$VBITRATE" -minrate "$VBITRATE" -maxrate "$VBITRATE" \