title: How to watermark a mp4 video?
body: <p>I have used ffmpeg to decompose the mp4 video into number of frames, and used OpenCV to add a invisible watermark into those frames, but the extracted watermark cannot resist the lossy compression way. Hence, I found it is not possible to embed an invisible watermark into mp4 video directly, as the distortion is too much, which I used DCT-based watermarking method. </p>
  
  <p>And I have tried to convert mp4 video to yuv using ffmpeg in order to watermark the Y component, but it seems the produced YUV file cannot play properly.</p>
  
  <p>Is there any way to embed an invisible watermark into the mp4 file?</p>
  
  <p>What I mean is not to embed a transparent watermark (The watermark is not needed to adjust its transparency), but to embed a visible watermark to make the watermarked image seem that it does not contain any watermark, in other words, which is called invisible watermarking. </p>