framerate must be greater than 0