A system for playing videos comprising: a streaming media server, configured to buffer and send a video stream to a real-time video intelligent analysis system and a video surveillance center, and receive and buffer a text stream corresponding to the video stream sent by the real-time video intelligent analysis system, and send the text stream to the video surveillance center; the real-time video intelligent analysis system, configured to perform real-time analysis on the video stream output by the streaming media server, and output the text stream corresponding to the video stream to the streaming media server; the video surveillance center, configured to request and receive the video stream and the text stream output by the streaming media server, compensate for a lost text frame in the text stream according to the video stream, and output mixed videos after overlaying the video stream and the text stream after compensation; wherein the video surveillance center comprises: a matching unit, configured to match the video stream received from the streaming media server with the text stream corresponding to the video stream; a video frame processing format determination unit, configured to: when the video frame in the video stream fails to match with the text frame having equal timestamp to that of the video frame in the text stream, determine that the video frame processing format is either a format without text overlaying or a format with motion compensation of the overlaid text according to a corresponding relationship between the video frame and the text frame; wherein if none of the three consecutive video frames have corresponding text frames, the video frame processing format is the format without text overlaying, otherwise, the video frame processing format is the format with motion compensation; and a text frame compensation unit, configured to compensate for the lost text frame according to a result of determining the processing format. a streaming media server, configured to buffer and send a video stream to a real-time video intelligent analysis system and a video surveillance center, and receive and buffer a text stream corresponding to the video stream sent by the real-time video intelligent analysis system, and send the text stream to the video surveillance center; the real-time video intelligent analysis system, configured to perform real-time analysis on the video stream output by the streaming media server, and output the text stream corresponding to the video stream to the streaming media server; the video surveillance center, configured to request and receive the video stream and the text stream output by the streaming media server, compensate for a lost text frame in the text stream according to the video stream, and output mixed videos after overlaying the video stream and the text stream after compensation; wherein the video surveillance center comprises: a matching unit, configured to match the video stream received from the streaming media server with the text stream corresponding to the video stream; a video frame processing format determination unit, configured to: when the video frame in the video stream fails to match with the text frame having equal timestamp to that of the video frame in the text stream, determine that the video frame processing format is either a format without text overlaying or a format with motion compensation of the overlaid text according to a corresponding relationship between the video frame and the text frame; wherein if none of the three consecutive video frames have corresponding text frames, the video frame processing format is the format without text overlaying, otherwise, the video frame processing format is the format with motion compensation; and a text frame compensation unit, configured to compensate for the lost text frame according to a result of determining the processing format. when the video frame in the video stream fails to match with the text frame having equal timestamp to that of the video frame in the text stream, determine that the video frame processing format is either a format without text overlaying or a format with motion compensation of the overlaid text according to a corresponding relationship between the video frame and the text frame; wherein if none of the three consecutive video frames have corresponding text frames, the video frame processing format is the format without text overlaying, otherwise, the video frame processing format is the format with motion compensation; and a text frame compensation unit, configured to compensate for the lost text frame according to a result of determining the processing format.