The invention discloses an H.264 / AVC compressed-domain video
watermark embedding and extracting method. Binaryzation is conducted on
watermark images, and binary
watermark information is obtained through
Arnold transformation; compressed encoding is conducted on original video by using an H.264 / AVC
encoder, 16 4*4 luminance blocks of each
macro block are extracted out according to the H.264 / AVC
video encoding standard, and integer
discrete cosine transformation is conducted on each 4*4 luminance block; according to the coefficient of each 4*4 luminance block obtained after integer
discrete cosine transformation, each 4*4 luminance block is divided into a texture block body and a non-texture block body; according to the binary watermark information, the local energy difference of each
macro block is modulated;
entropy encoding is conducted on the 4*4 luminance blocks obtained after binary watermarks are embedded to obtain
video streaming with the watermarks. According to the H.264 / AVC compressed-domain video
watermark embedding and extracting method, video information (texture and energy) is fully considered, and the robustness and
invisibility of the watermarks are improved;
operational complexity is low, no complex parameter choice exists, and higher real-time performance is achieved; the original video is not needed in the watermark extraction, and the H.264 / AVC compressed-domain video
watermark embedding and extracting method belongs to a blind watermarking method.