Video analysis shows baby birds avoid predators while building strength