DRM-protected premium video content hosted on the cloud can be more secure if watermarks are embedded. The watermark’s position and size are determined by a set of parameters that can be applied to the output media object. They aid in overcoming the practical difficulties of determining the best location for a watermark while also ensuring its durability and effectiveness.
As a watermarking scheme, image-based and text-based video watermarking schemes have distinct uses for each parameter in determining the watermark’s position and size. Below, we’ll take a closer look at these parameters.
It is the watermark’s approximate position in relation to the output stream that is known as ReferPos. Upper and lower left, upper right, and lower right are all possible values for the watermark position.
It is the horizontal shift of the watermark relative to the output video image that is represented by Dx. Absolute – positive integer (in pixels, from 8 to 4096) or proportional – positive integer (in pixels, from 8 to 4096) (between 0 to 1). The watermark’s vertical shift on the video image is measured by the Dy value. For example, it can have an absolute value, like Dx. Dx and Dy watermarks are shifted horizontally and/or vertically in proportion to the DRM protected content width and/or height by a value of 0.5. In both Dx and Dy, the default values are 0. In order for the watermark to appear completely, Dx and Dy must be smaller than the size of the final video image.
Similarly, the width and height of the watermark on the output video stream are depicted by these parameters, which can either be absolute or relative. As long as the watermark width is not specified, it will be 0.12 times the video’s actual width. The other parameter is derived from the aspect ratio of the source watermark image if only one of the values is given. Position and size of the output video stream should be set to the video’s proportion values if its resolution changes frequently.
Video stream watermark start and end times are determined by timeline parameters. Both are required, string-type fields, and expressed in seconds. Starting at 0 and lasting until the end of the video are both default values that can be overridden.
Unlike image watermarks, text watermarks have only two parameters: top and left, both of which represent offsets in relation to the watermark’s original location on the page. Only positive integers can be used in either of these systems.
Storage registration is the first step in the registration process for packaging jobs. A job name, a unique Content ID for the content to be packaged, input and output storage registered during the storage setup, the path of the source video file excluding the bucket name, security settings to apply DRM and watermarking to the content, streaming format for packaging, etc. are some of the details for completing the registration process.
In addition, the panel provides access to all pending and currently running packaging tasks. The DASH/HLS watermarked content is stored in the output storage content path that was set during the job registration process after the packaging process is successful. Finished packaging jobs and their associated details can be viewed in a history panel provided by some SaaS providers.