Watermark encoder.