From d953121bbba1229330e7d7dad725e4c6dcacf333 Mon Sep 17 00:00:00 2001 From: katherine Date: Sun, 19 Feb 2017 05:08:57 -0700 Subject: add gifsicle support to make-gif also allow selecting specific subtitle tracks --- .config/init/funcs/make-gif | 168 ++++++++++++++++++++++++++++++-------------- 1 file changed, 117 insertions(+), 51 deletions(-) (limited to '.config/init/funcs/make-gif') diff --git a/.config/init/funcs/make-gif b/.config/init/funcs/make-gif index 7b3145c..3221e97 100755 --- a/.config/init/funcs/make-gif +++ b/.config/init/funcs/make-gif @@ -2,18 +2,21 @@ # export a clip from a video as a gif local callstr="$0" +local hasgsic=$(whence gifsicle) usage() { [[ "$1" != "" ]] && echo -e "\e[1;31merror:\e[0m $1\n" echo "Usage: $callstr [OPTIONS...] " echo "" - echo "description option default val" - echo "start time -s