Residual-based forensic comparison of video sequences