Use padded zero string with 8 characters for longer videos. Why not?

This commit is contained in:
litter 2020-02-22 17:00:23 -05:00
parent 42af9d2fd9
commit a0f61a0b34
1 changed files with 1 additions and 1 deletions

View File

@ -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}..."