Game asset processing3 min read

Check Video Timestamps Before Exporting Sprite Frames

Use frame timestamps and a fixed-rate comparison to diagnose uneven motion in a video-to-sprite export.

Check Video Timestamps Before Exporting Sprite Frames
Animation frames sit at unequal intervals on a teal filmstrip
Concept illustration

Phone and screen recordings can present frames at uneven intervals. If an exported sprite sequence gives every image the same hold time, a movement may speed up or slow down. Check the input timestamps before changing playback speed or deleting duplicates.

Measure one short action in the source

Choose a clear event, such as a ball contacting the ground. Use a media tool that exposes presentation timestamps and compare adjacent frames. For example, three gaps could be 0.033, 0.033 and 0.067 seconds. A frame index divided by the advertised rate would miss the longer gap.

Compare a fixed-rate copy

  1. Keep the original. Make a copy at the intended playback rate. FFmpeg’s fps filter can duplicate or drop frames to produce constant spacing.
  2. Extract the same time interval from both copies. Temporarily disable optional deduplication or loop selection and preview both at a fixed hold time.
  3. Compare the timing of the contact pose, the total duration and the loop seam. If the fixed-rate pass loses a crucial pose, test another crop interval or sample rate.

Record the source interval, output rate, frame count and measured playback duration. If matching the source cadence is essential, check whether the receiving pipeline accepts per-frame durations.

Prepare a sample with the Tooliva tool and run the comparison in your target environment.

Ready to try "Check Video Timestamps Before Exporting Sprite Frames"?

Use our online tools to apply this tutorial to your indie game project right away.