Analysis of aggressive behaviours of pigs by automatic video recordings