Some 5,000 migrants rested in a makeshift refugee camp in a stadium to prepare for the next leg of the journey.