Identifying motion intervals