Images have the new bitreich-tv background image as background. - bitreich-tv -… | |
git clone git://bitreich.org/bitreich-tv git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfr… | |
Log | |
Files | |
Refs | |
Tags | |
LICENSE | |
--- | |
commit 217b1a3d14b8afc856580ca5c6d24054981f38fa | |
parent 4816391734b121ad5a4cd7146640761d363e88e6 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Sat, 6 Feb 2021 15:57:29 +0100 | |
Images have the new bitreich-tv background image as background. | |
Signed-off-by: Anders Damsgaard <[email protected]> | |
Diffstat: | |
M bin/brtv-imgs-to-video.sh | 7 ++++--- | |
1 file changed, 4 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/bin/brtv-imgs-to-video.sh b/bin/brtv-imgs-to-video.sh | |
@@ -2,7 +2,6 @@ | |
# read hashtags.txt as stdin, download all images, and convert them to videos | |
# requirements: hurl(1), ffmpeg(1), convert(1) | |
- | |
### CONFIGURATION START | |
# dir to contain images as videos | |
@@ -16,7 +15,9 @@ ffmpeg_codec="-loglevel error -acodec libopus -b:a 96K -f web… | |
video_resolution=1280x720 | |
# slide style | |
-bgcolor=magenta | |
+# xc:$color ( https://imagemagick.org/script/color.php ) | |
+# /some/file.png | |
+bgcontent=/br/gopher/tv/bitreich-tv-bg.png | |
# show image memes for this duration [s] | |
image_display_time=10 | |
@@ -35,7 +36,7 @@ regeximatch() { | |
fit_img_16_9() { | |
convert -resize "$video_resolution"\> -size "$video_resolution" "$1" \ | |
- xc:"$bgcolor" +swap -gravity center -composite "$2" | |
+ "$bgcontent" +swap -gravity center -composite "$2" | |
} | |
video_from_img() { |