Motion detection of RTSP streams