Police have been accused of using excessive force after a video of an officer arresting a man in the street was posted online.