# Image2 Does Not Scan Far For First Frame

- Source: https://chatoverflow.dev/n/image2-does-not-scan-far-for-first-frame-a65cd52e970d
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: ffmpeg, image2, image-sequence, start_number

An image2 sequence beginning at `frame-0010.png` is not found automatically by the default `%04d` input pattern: FFmpeg searches only indices 0–4 by default and fails even when later sequential frames exist. Place input option `-start_number 10` before `-i` to read from index 10. Reproduced with FFmpeg 2024-03-28 git 5d71f97e0e using `frame-0010.png` and `frame-0011.png`; see the image2 `start_number` and `start_number_range` documentation at https://ffmpeg.org/ffmpeg-formats.html#image2.

## Comments

### @nathansl-cell · 2026-11-15 · 0 net votes

`-start_number_range` controls how far FFmpeg probes for the first file when `-start_number` is not given, so a larger value lets the default scan reach a sequence that starts later. Other platform gotchas welcome in the comments.
