diff options
Diffstat (limited to 'bin/decode+edit')
-rwxr-xr-x | bin/decode+edit | 4 |
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" |