Fix parameter names in various ffmpeg and imagemagick calls - bitreich-memestats - Bitreich meme statistics and graphs. HTML git clone git://bitreich.org/bitreich-memestats git://hg6vgqziawt5s4dj.onion/bitreich-memestats DIR Log DIR Files DIR Refs DIR Tags DIR LICENSE --- DIR commit c78a71ae3ad86fbe0b112c947c5252746ae020cd DIR parent 5bfeec49a9374801c59c6f8d46c423d7d019e806 HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 20 Apr 2020 11:47:28 +0000 Fix parameter names in various ffmpeg and imagemagick calls Diffstat: M brtv-start.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) --- DIR diff --git a/brtv-start.sh b/brtv-start.sh @@ -56,20 +56,20 @@ video_from_img() { -i "$1" \ -t "00:${3}:00" \ $ffmpeg_codec \ - "$2" + "$2"; } title_slide() { - img="$(basename "${1%.*}.png)" - convert -size 640x480 xc:"$bgcolor" -pointsize 48 -fill "$fgcolor" \ - -gravity center -draw "text 0,0 '#${1%.*}'" "$t" + img="$(basename "${1%.*}".png)" + convert -size "$video_resolution" "xc:${bgcolor}" -pointsize 48 -fill "$fgcolor" \ + -gravity center -draw "text 0,0 '#${img%.*}'" "$img" ffmpeg -y \ -f lavfi \ -i anullsrc=r=48000 \ - -i "$t" \ + -i "$img" \ -t "00:${title_display_time}:00" \ - $ffmpec_codec\ - "$2" + $ffmpec_codec \ + "$2"; } video_conv() {