Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix path to temporary title slide image - bitreich-memestats - Bitreich meme st…
git clone git://bitreich.org/bitreich-memestats git://hg6vgqziawt5s4dj.onion/bi…
Log
Files
Refs
Tags
LICENSE
---
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
@@ -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
You are viewing proxied material from bitreich.org. 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.