This is an essential process for the A/B type forensic watermarking solution. While pre-processing, invisible information (0/1) is inserted into one original video to generate two versions of A/B watermarking. Then the A/B versions of the source video are packaged in a DASH/HLS stream each, and combined with the CDN edge in real time at the time of playback to apply unique watermark information.