From 3fac3065c98c26e97c21d3b4f22819a2cdcf8c38 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 16 Apr 2017 13:35:22 +0200 Subject: Drop loop: Bogusly treats audio track in main input as video track. --- bin/decode+edit | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bin/decode+edit') 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" -- cgit v1.2.3