From 5640c426624eea37767836556a563f6d505e6932 Mon Sep 17 00:00:00 2001 From: mmattmcw Date: Fri, 10 Sep 2021 00:36:46 -0400 Subject: [PATCH] rename image_seq to seq --- image_seq.sh => seq.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) rename image_seq.sh => seq.sh (59%) diff --git a/image_seq.sh b/seq.sh similarity index 59% rename from image_seq.sh rename to seq.sh index abbebd4..6c577e8 100644 --- a/image_seq.sh +++ b/seq.sh @@ -11,14 +11,13 @@ WIDTH=323 HEIGHT=242 if [[ "${INVERT}" != "" ]]; then - INVERT="-vf negate" + INVERT="negate," fi mkdir -p "${OUTPUT}" -ffmpeg -re -i "${INPUT}" \ +ffmpeg -y -re -i "${INPUT}" \ -f image2 \ -r ${RATE} \ - "${INVERT}" \ - -vf crop=in_h/3*4:in_h,scale=$WIDTH:$HEIGHT,setsar=1:1 \ + -vf ${INVERT}crop=in_h/3*4:in_h,scale=$WIDTH:$HEIGHT,setsar=1:1 \ "${OUTPUT}/image_%06d.png" \ No newline at end of file