Choose timing for a numbered image sequence
An FFmpeg input numbered with a percent pattern usually stops at a gap. An explicit FFconcat list opens each named image in order and sets its duration. This lets a sparse set of renders or burst photographs keep its spacing without changing any image filenames.
Keep the space between two field camera frames at 25 fps
Input
creek_014.jpg
creek_010.jpgOutput
ffconcat version 1.0
file 'creek_010.jpg'
option framerate 25
duration 0.160000
file 'creek_014.jpg'
option framerate 25
duration 0.040000
file 'creek_014.jpg'
option framerate 25Frame 10 plays through frames 11 to 13, for four frames at 25 fps. Frame 14 then plays once. The final list entry allows FFmpeg to include the last image for a full frame. The accompanying command limits this example to five output frames. Compact mode plays each of the two images for one frame.
Check the result
- Pick the frame number inside the basename. For sensor2_take0045.jpg, the second number is the frame number.
- Save the list as sequence.ffconcat where the image paths start. Run the command from the same folder.
- Use PNGs together or JPEGs together, with consistent image dimensions and pixel formats. Set the rate to the rate your frame numbers represent.
Common problems
Timing begins at the first image
If the first available number is 100, playback starts with frame 100. When using Hold to next frame, missing numbers are counted between the first and last images, and the last image plays for one frame.
Holding a frame repeats the image
The video keeps the gaps in time by repeating the preceding frame. To synthesize in-between images, use a motion interpolation tool.
Keep relative paths relative to the list
When using the file picker, choose images from one folder and save the list there. To include subfolders, paste paths relative to where you will save the list. Windows backslashes are converted to forward slashes.
Using Sparse Frame Sequence
Add image names
Paste relative paths or choose images from a folder. Choose the number position if names have several numbers.
Choose the timing
Compact mode uses one frame per image. Hold mode fills gaps by repeating the previous image.
Export the list
Save the FFconcat file by your images, then run the displayed command to create the video.
Offline use
Open the tool once online and let it finish loading. Use the install option in your browser or Add to Home Screen on iPhone. Reopen the tool to process a new input offline.