Frame count at a given fps (e.g. 24, 30, 60).
fps
int toFrames(double fps) => (inMilliseconds * fps / 1000).round();