Piracy tracing watermarking method applicable to streaming media environment
暂无分享,去创建一个
The invention relates to a piracy tracing watermarking method applicable to streaming media environment, and belongs to the multimedia information safety field. The method comprises the following steps: firstly segmenting video before the watermark embedding procedure; according to content of streaming video, selecting macroblocks meeting the conditions to be embedded with watermarks during the watermark embedding process; and determining the macroblock which is best suited for being embedding with watermark information by adopting a quicksort algorithm. In the piracy tracing watermarking method, based on difference between horizontal direction and vertical direction of motion vector of the macroblock, appropriate motion components are adaptively selected to be embedded with 2-bit watermark information, and the NAL (network abstraction layer) head of a B-frame is modified after the watermark embedding procedure so that the watermark can cope with the situations such as frame loss and the like resulting from network transmission. By adopting the piracy tracing watermarking method, the watermark information can be embedded into the streaming video in real time so as to achieve the purpose of piracy tracing.