Use padded zero string with 8 characters for longer videos. Why not?
This commit is contained in:
parent
42af9d2fd9
commit
a0f61a0b34
|
@ -21,7 +21,7 @@ mkdir -p "$AUDIO_DIR"
|
||||||
echo "Exporting ${VIDEO}..."
|
echo "Exporting ${VIDEO}..."
|
||||||
|
|
||||||
rm "${FRAMES_DIR}*.png"
|
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
|
if [ "$WITH_SOUND" == "true" ]; then
|
||||||
echo "Exporting audio from ${VIDEO}..."
|
echo "Exporting audio from ${VIDEO}..."
|
||||||
|
|
Loading…
Reference in New Issue