segmentFrames static method
Frames of a preview segment for clip at fps (at least one).
Implementation
static int segmentFrames(VideoEditorClip clip, int fps) =>
math.max(1, (math.max(clip.effectiveDuration.inMilliseconds, 100) * fps / 1000).round());