PallyCon Watermark Embedder Library is a watermark embedder implemented as a C ++ library so that it can be ported to an encoding solution. By embedding a watermark directly in the video encoding process, you can omit the re-encoding process required for watermark insertion using CLI embedder.
By default, porting to FFMPEG-based encoder/transcoder is supported. To apply embedder library to other commercial solutions, it is required to port the library by the solution vendor. Please contact us if you need more information or want to apply embedder library.
PallyCon watermark embedder library can be applied to encoder/transcoder in the following steps. In the flow chart below, the portion marked in red is the process that requires porting.
Initialize encoder / transcoder
Initialize the embedder library
init()functions for ‘0’ and ‘1’ versions respectively for embedder library initialization.
Load the frame to work from the source video
Decode source frame to image
Insert watermark into decoded image
embed()function of the Embedder library.
Encode the watermarked image as a video frame
Write the encoded frame to the output video
Finalize the embedder library
DestroyEmbedderImplement()function of the embedder library for the ‘0’ and ‘1’ versions.
Finalize encoder / transcoder
Repeat step 3 to 8 of the above procedure until the last frame of the source video to create two output videos with ‘0’ and ‘1’ marks inserted. (For example, output_0.mp4 and output_1.mp4)