Add circumcision support to annna. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 9b45a3a6ef87dc46c0b3e313fb79ba35fb583dc1 | |
parent 153c6bd8cf26f561fb0da0824974ec80d1202b02 | |
Author: Annna Robert-Houdin <[email protected]> | |
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(-) | |
--- | |
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" |