A quick test of creating the timelapse from the automagically created still images

n=1
for file in [0-9]*-??-??-????.jpg; do
    printf -v new_name "%04d.jpg" "$n"
    mv -- "$file" "$new_name"
    ((n++))
done