UN Secretary General Ban Ki-moon has said he is “shocked” after Hungarian police fired tear gas and water cannon to force migrants back from its border.
Mr Ban said such treatment of asylum seekers was “unacceptable”.
Hundreds were involved in clashes at the Hungary-Serbia border on Wednesday, trying to breach a razor-wire fence.
More than 5,000 migrants have entered Croatia so far, avoiding Hungary, Police say, and another 7,266 entered Germany on Wednesday.
German Police said this was more than double the number that crossed the previous day, adding that most were picked up on the border with Austria.
Germany is the final goal of many migrants, as the European Union remains divided over how to deal with the crisis.