Treat .gif memes as photos - bitreich-tv - Meme TV encoding and streaming
(HTM) git clone git://bitreich.org/bitreich-tv git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/bitreich-tv
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) LICENSE
---
(DIR) commit 819508532b3a30f49d841418f204ee2a710e94ea
(DIR) parent 858a02a99c06cbc2d2ff1cbbcbc5fd41ace0cbfb
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 17 Aug 2020 10:18:16 +0200
Treat .gif memes as photos
Diffstat:
M bin/brtv-imgs-to-video.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
(DIR) diff --git a/bin/brtv-imgs-to-video.sh b/bin/brtv-imgs-to-video.sh
@@ -51,9 +51,8 @@ video_from_img() {
mkdir -p "$out_dir"
# generate video from each image
-# TODO: deal with .gif
while read -r tag url; do
- if ! regeximatch "$url" '\.(jpg|jpeg|png)$'; then
+ if ! regeximatch "$url" '\.(jpg|jpeg|png|gif)$'; then
continue
fi