Content index and analysis of surveillance videos