Tool

Timelapse Planner

For a timelapse, once you decide “one photo every so many seconds” and “play back at so many fps,” the photo count and the clip length are fixed. Check the photo count and card capacity before you shoot, then, after shooting, follow on with an ffmpeg command you can use as-is on Windows and the video size (based on measurements). The values you enter are processed only inside your browser.

1. Shoot plan

Playback fps

2,880 photos → 1 min 36 s at 30 fps

Interval 5 s · speed-up about 150.0× (1 second of real time becomes 1/150.0 second of video)

This is the shooting time (4 h) divided by the interval, rounded down.

The photo size is a value you enter, not a measurement (the default 12 is only an example). Check the size of one file from your camera in your file manager and enter it. If you shoot RAW+JPG, add the two.

Original photos total about 34.56 GB · the card holds at most about 10,666 photos (about 14 h 48 min at this interval).

This plan fits on one card (about 27% used).

Card capacity is calculated from the manufacturer's label (1 GB = 10^9 bytes); the usable space shown by Windows Explorer or the camera may be smaller.

Loading measurement data…

3. Windows image sequence → mp4 command

Order to use when renaming

If the camera numbering wrapped from 9999 to 0001, sorting by name will scramble the order. Date order may be right in that case, but it is wrong if the modified dates changed when you moved or edited the files.

Fix the inputs and the command appears.

All calculations happen inside this browser; nothing is sent anywhere.

How does the tool calculate this?

  1. Photo count: in mode 1, it is the shooting time ÷ the interval, rounded down. In mode 2, the photo count is the desired clip length × fps, and the shooting time ÷ the photo count is the interval you need.
  2. Clip length: the photo count ÷ fps. The speed-up factor is the interval × fps; for example, a 5-second interval played at 30 fps makes 150 seconds of real time into 1 second of video.
  3. Card capacity: the size of one photo × the photo count. The photo size is a value you enter, and the card capacity follows the manufacturer’s label (1 GB = 10^9 bytes).
  4. Video size: in this site’s measurement of size and quality by content type, four 10-second (250-frame) 1080p25 clips were encoded with x264, x265 (medium) and SVT-AV1 (preset 8) at eight CRF values each. The tool divides the resulting file sizes by 250 to get the size per frame, then multiplies by the photo count. In a timelapse the number of frames is the number of photos, so converting by frames rather than by time is the natural choice.
  5. The same-quality-target table: for each clip, among the measured CRF values, it picks the smallest file whose mean VMAF is at or above the target. Because the CRF scale differs between encoders, the comparison is matched by VMAF rather than by CRF number. VMAF is a quality metric that compares the original and the encoded result frame by frame and scores it from 0 to 100; a higher score means it is harder to tell apart from the original.

Where converting an image sequence on Windows gets stuck

  • The numbers must be continuous. ffmpeg’s %04d pattern expects files such as img_0001.jpg, img_0002.jpg … with no gaps in the numbering. If you deleted a photo in the middle, or the camera counter wrapped from 9999 to 0001, it is known to stop at the first gap. The rename bat in step 3 reads the photos in name order (or date-modified order) and makes numbered copies in a seq folder. It does not touch the originals, but it needs as much extra space as the photos take.
  • The start number. If your photos begin at a number other than 1, you must specify -start_number. With the rename bat, the numbering always starts at 1.
  • Glob patterns. -pattern_type glob, which reads files with a wildcard (*.jpg), is known to be unsupported in many Windows ffmpeg builds, so this tool does not use it and only builds the numbered-sequence form. To see whether it works in the build you use, try the ffmpeg build capability checker.
  • % versus %%. A command typed directly into a terminal uses %04d; inside a .bat file it is %%04d. If you miss this difference, you get a “file not found” error.
  • Even resolution. Many encoders require an even width and height for yuv420p. The tool makes the height even with something like scale=1920:-2, or builds a crop or pad with the numbers calculated in advance. When you fit a 3:2 photo (for example 6000×4000) into 16:9 video, “center crop to fit” throws away the top and bottom, while “pad with black bars” adds black bars on the left and right.

How do I use the result?

  • Before shooting: get the photo count from the interval and time, then check in the card section whether the capacity falls short. If it does, lengthen the interval, reduce the photo size, or use a larger card. The interval must be longer than the time the camera needs to take and save one photo (shutter speed and write time differ from camera to camera).
  • After shooting: taking the upper values in the video size table (the clips with more change) as your basis gives a safe estimate of the size for sharing and uploading. To fit an upload limit, continue with the video size and bitrate calculator, and to choose a CRF, the CRF recommender.
  • Compare keeping the original photos with the video size. Thousands of photos are usually much larger than one video. Before you delete the photos, first check that the video has the quality you want. For recording video on the camera itself, the SD card speed and capacity planner covers it.

Limits worth knowing

  • Timelapse itself was not measured. The sizes and VMAF are values from four ordinary video clips (blue_sky, pedestrian_area, riverbed, rush_hour). A timelapse made from stitched photos tends to have bigger changes between frames than real-time video, so it may produce a larger file at the same CRF, but this site has not measured how much. That is why it shows a range rather than a single value, and if you are unsure, use the upper end of the range as your basis.
  • Only 1080p25, 8-bit, 10-second clips were measured. Other resolutions are a conversion that assumes size scales with pixel count, not a measurement. It also assumes the size per frame is independent of fps. The real size of a 4K timelapse may differ from this table.
  • Each photo is compressed as a JPEG first and then encoded again. The effect of JPEG damage on the video encode quality was not measured, and the VMAF is based on this site’s clips (y4m originals).
  • The commands were not verified by running them. They were assembled by following the ffmpeg documentation, and the options used are -framerate, -start_number, -vf, -crf, -pix_fmt yuv420p and -movflags +faststart. SVT-AV1 (libsvtav1) and x265 (libx265) must be included in the ffmpeg build you use. The measurements used FFmpeg 9.0.2 (gyan.dev full_build).
  • RAW files (CR2, NEF, ARW and so on) often cannot be read by ffmpeg directly, so the tool assumes photos you have already exported as JPG, PNG or TIFF. Post-processing such as deflicker, stabilization and exposure correction is not covered.
  • It does not include a table of cameras, cards and photo sizes. These differ by model, so values we could not verify were left out, and the size of one photo is a value you enter.