From a0f61a0b344e3413c4274aea4333af5a786594c5 Mon Sep 17 00:00:00 2001 From: litter Date: Sat, 22 Feb 2020 17:00:23 -0500 Subject: [PATCH] Use padded zero string with 8 characters for longer videos. Why not? --- scripts/export.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/export.sh b/scripts/export.sh index bf08e76..f00a7e8 100755 --- a/scripts/export.sh +++ b/scripts/export.sh @@ -21,7 +21,7 @@ mkdir -p "$AUDIO_DIR" echo "Exporting ${VIDEO}..." rm "${FRAMES_DIR}*.png" -ffmpeg -y -i "${VIDEO}" -f image2 -r 24 "${FRAMES_DIR}image-%05d.png" +ffmpeg -y -i "${VIDEO}" -f image2 -r 24 "${FRAMES_DIR}image-%08d.png" if [ "$WITH_SOUND" == "true" ]; then echo "Exporting audio from ${VIDEO}..."