From 45d8b559bccbde5cde1b325faba6177b9b6c6558 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 16 Apr 2017 15:41:15 +0200 Subject: Relabel input/logo/output, and list at top. --- bin/decode+edit | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'bin/decode+edit') diff --git a/bin/decode+edit b/bin/decode+edit index ed4ac8b..9a96210 100755 --- a/bin/decode+edit +++ b/bin/decode+edit @@ -4,18 +4,17 @@ set -e -HEIGHT=360 - -MOVIE=../src/omni/show0/earth.mp4 +INPUT=../src/omni/show0/earth.mp4 LOGO=../../content/icon_small.png +OUTPUT=../tmp/omni/show0/earth.yuv -TMPMOVIE=../tmp/omni/show0/earth.yuv +HEIGHT=360 -mkdir -p $(dirname "$TMPMOVIE") +mkdir -p $(dirname "$OUTPUT") # + loop-in-filter trick based on http://video.stackexchange.com/a/16933 ffmpeg -threads auto -y \ - -i "$MOVIE" \ + -i "$INPUT" \ -i "$LOGO" -filter_complex 'overlay=main_w-overlay_w-20:main_h-overlay_h-20' \ -an \ - -f yuv4mpegpipe "$TMPMOVIE" + -f yuv4mpegpipe "$OUTPUT" -- cgit v1.2.3