The invention provides a real-time video watermark method resisting geometric attacks mainly suitable for a video file based on coding. The method directly transforms a partitioning DCT coefficient to an integral DCT coefficient through a quick speed change method, then self-adaptingly modifies a low frequency coefficient value in the integral DCT domain to embedding a watermark signal, transforms a difference value between the watermark embedded integral DCT coefficient and an original coefficient to a difference value of the partitioning DCT coefficient, then rewriting the different value to the partitioning DCT coefficient. The watermark detection is performed in an air space, because a detection process is performed with a video play back, at the same time the video is fully decoded, and is directly performed the integral DCT transformation from the air space, then in order to resist rotary attacks, the detection video is performed a rotary compensation, and is performed a watermark pick-up according to a rule at the embedding time. The results show that the method has very good robustness to a common signal treatment and the conventional geometric attacks (row-column removal, rotation, equal proportion scaling, aspect ratio attack, linear transform, random distortion, cutting and several coalition attacks or the like).