Watermarking on CNN-UM for image and video authentication