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