summaryrefslogtreecommitdiff
path: root/bin/decode+edit
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-04-16 13:35:22 +0200
committerJonas Smedegaard <dr@jones.dk>2017-04-16 15:41:43 +0200
commit3fac3065c98c26e97c21d3b4f22819a2cdcf8c38 (patch)
tree24b7dada358309e1649aed3bbe29cb1f2589c387 /bin/decode+edit
parent46ddda9c56187f452b258e45520db0971dd470b4 (diff)
Drop loop: Bogusly treats audio track in main input as video track.
Diffstat (limited to 'bin/decode+edit')
-rwxr-xr-xbin/decode+edit4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/decode+edit b/bin/decode+edit
index c81a8f3..9632b6d 100755
--- a/bin/decode+edit
+++ b/bin/decode+edit
@@ -2,8 +2,6 @@
set -e
-ITERATIONS=${1-1}
-
HEIGHT=360
MOVIE=../src/omni/show0/earth.mp4
@@ -15,7 +13,7 @@ mkdir -p $(dirname "$TMPMOVIE")
# + loop-in-filter trick based on http://video.stackexchange.com/a/16933
ffmpeg -threads auto -y \
- -f lavfi -i "movie=filename=$MOVIE:loop=$ITERATIONS, setpts=N/(FRAME_RATE*TB), scale=-1:$HEIGHT" \
+ -i "$MOVIE" \
-i "$LOGO" -filter_complex 'overlay=main_w-overlay_w-20:main_h-overlay_h-20' \
-an \
-f yuv4mpegpipe "$TMPMOVIE"