The invention discloses a compressed domain video
watermark embedding method based on a moving object. The compressed domain video
watermark embedding method based on the moving object is characterized by comprising the steps of: performing scrambling
encryption on binary
watermark information to obtain encrypted binary watermark information, obtaining a moving object
labelling graph of each frameof image of a video by using a video object tracking method based on a compressed domain, obtaining a corresponding moving object in each frame of image according to the moving object
labelling graph, furthermore, obtaining a corresponding
motion vector from the extracted moving object in each frame of image, obtaining module values of all motion vectors of the moving object in each frame of image by calculation, and furthermore, performing cycle
watermark embedding operation on the
motion vector corresponding to the module value, which is greater than or equal to a pre-set threshold value inall the module values, by using the obtained binary watermark information, so that a video embedded with the watermark is obtained. By means of the compressed domain video
watermark embedding and extracting methods based on the moving object disclosed by the invention, the technical problem that the watermark can be damaged after the video with the watermark is re-coded in the existing video digital
watermark embedding method based on the compressed domain can be solved.