Add circumcision support to annna. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit 9b45a3a6ef87dc46c0b3e313fb79ba35fb583dc1 DIR parent 153c6bd8cf26f561fb0da0824974ec80d1202b02 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Tue, 21 Sep 2021 14:23:45 +0200 Add circumcision support to annna. Thanks Bob! Diffstat: A meme-circumcision | 10 ++++++++++ 1 file changed, 10 insertions(+), 0 deletions(-) --- DIR diff --git a/meme-circumcision b/meme-circumcision @@ -0,0 +1,10 @@ +#!/bin/sh +# small wrapper script to simplify cutting part of a video. +# Dependencies: ffmpeg + +if test "$1" = "" -o "$2" = "" -o "$3" = ""; then + echo "usage: $0 <infile> <outfile> <from> <duration>" >&2 + exit 1 +fi + +ffmpeg -i "$1" -ss "$3" -t "$4" "$2"