rename image_seq to seq

This commit is contained in:
Matt McWilliams 2021-09-10 00:36:46 -04:00
parent a08078fee0
commit 5640c42662
1 changed files with 3 additions and 4 deletions

View File

@ -11,14 +11,13 @@ WIDTH=323
HEIGHT=242 HEIGHT=242
if [[ "${INVERT}" != "" ]]; then if [[ "${INVERT}" != "" ]]; then
INVERT="-vf negate" INVERT="negate,"
fi fi
mkdir -p "${OUTPUT}" mkdir -p "${OUTPUT}"
ffmpeg -re -i "${INPUT}" \ ffmpeg -y -re -i "${INPUT}" \
-f image2 \ -f image2 \
-r ${RATE} \ -r ${RATE} \
"${INVERT}" \ -vf ${INVERT}crop=in_h/3*4:in_h,scale=$WIDTH:$HEIGHT,setsar=1:1 \
-vf crop=in_h/3*4:in_h,scale=$WIDTH:$HEIGHT,setsar=1:1 \
"${OUTPUT}/image_%06d.png" "${OUTPUT}/image_%06d.png"