Patent ID: 11930202
Assignee: BEIJING MICROLIVE VISION TECHNOLOGY CO., LTD
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 4:
5. An apparatus for video watermarking, comprising:
a processor and a memory; wherein the memory is configured to store at least one program which, when executed by the processor, implements:
determining, from an original video, a video frame to be watermarked in a preset manner to be a target video frame, wherein the preset manner comprises one of the following: extracting a video frame every predetermined number of frames, extracting all video frames within a preset time period, or extracting a video frame through a random algorithm;
converting image data of the target video frame from a red-green-blue (RGB) format to a luma and chroma (YUV) format;
superimposing, in the YUV format, an offset with a preset value on a pixel value of a pixel point corresponding to a shape to be watermarked on the target video frame; and
encoding the target video frame on which the offset is superimposed to output the original video containing the encoded target video frame;
wherein the at least one program, when executed by the processor, implements superimposing the offset with the preset value on the pixel value of the pixel point corresponding to the shape to be watermarked on the target video frame by:
determining a target area to be watermarked on the target video frame, wherein the target area is a corresponding area on an image of the target video frame determined according to a display content on a user operation interface displaying the target video frame; and
superimposing the offset with the preset value on the pixel value of the pixel point corresponding to the shape to be watermarked on the target area of the target video frame.