TRAJECTORY-BASED VIDEO RETRIEVAL SYSTEM, METHOD AND COMPUTER PROGRAM