Method and arrangement for classification of video signals