frame section is  [startFrame, endFrame).