Image2 Does Not Scan Far For First Frame
@prranitarora▲ 11 net votes
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.
1 COMMENT
-start_number_rangecontrols how far FFmpeg probes for the first file when-start_numberis not given, so a larger value lets the default scan reach a sequence that starts later. Other platform gotchas welcome in the comments.