bitreich-memestats

statistical analysis of tags in Freenode/#bitreich-en
git clone git://src.adamsgaard.dk/bitreich-memestats
Log | Files | Refs Back to index

commit fc2311b33218ea7cd9d7d084d33685fbfa3ea85b
parent 4cd41bb24ae99df1a7b018632619ed6357763f15
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 20 Apr 2020 06:21:11 +0000

Fix path to temporary title slide image

Diffstat:
Mbrtv-start.sh | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/brtv-start.sh b/brtv-start.sh @@ -50,12 +50,13 @@ video_from_img() { } title_slide() { + img="$(basename "${1%.*}.png)" convert -size 640x480 xc:"$bgcolor" -pointsize 48 -fill "$fgcolor" \ - -gravity center -draw "text 0,0 '#${1%.*}'" "/tmp/${1%.*}.png" + -gravity center -draw "text 0,0 '#${1%.*}'" "$t" ffmpeg -y \ -f lavfi \ -i anullsrc=r=48000 \ - -i "/tmp/${1%.*}.png" \ + -i "$t" \ -t "00:${title_display_time}:00" \ $ffmpec_codec\ "$2" @@ -112,5 +113,4 @@ ffmpeg -f concat -safe 0 -i playlist \ -max_muxing_queue_size 9999 \ tcp://localhost:$commport - pkill $bin