bitreich-tv

meme tv encoding and streaming
git clone git://src.adamsgaard.dk/bitreich-tv
Log | Files | Refs | LICENSE Back to index

commit 819508532b3a30f49d841418f204ee2a710e94ea
parent 858a02a99c06cbc2d2ff1cbbcbc5fd41ace0cbfb
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 17 Aug 2020 10:18:16 +0200

Treat .gif memes as photos

Diffstat:
Mbin/brtv-imgs-to-video.sh | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

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