Introduction
Introduction Statistics Contact Development Disclaimer Help
tFix path to temporary title slide image - bitreich-memestats - statistical ana…
git clone git://src.adamsgaard.dk/bitreich-memestats
Log
Files
Refs
---
commit fc2311b33218ea7cd9d7d084d33685fbfa3ea85b
parent 4cd41bb24ae99df1a7b018632619ed6357763f15
Author: Anders Damsgaard <[email protected]>
Date: Mon, 20 Apr 2020 06:21:11 +0000
Fix path to temporary title slide image
Diffstat:
M brtv-start.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/brtv-start.sh b/brtv-start.sh
t@@ -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"
t@@ -112,5 +113,4 @@ ffmpeg -f concat -safe 0 -i playlist \
-max_muxing_queue_size 9999 \
tcp://localhost:$commport
-
pkill $bin
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.