Add keyframe parsing functionality