How to embed watermark in an video? Can anyone please share me steps and algorithm?

1 view (last 30 days)
Hi Friends, I need to implement this embedding for my thesis, it would be a great help if someone help me. I really need it.

Accepted Answer

Walter Roberson
Walter Roberson on 6 Mar 2017
  1. open the video file for reading
  2. open a video file for writing
  3. see if there are still frames available; if not, then end the process
  4. read a frame
  5. embed something in the frame
  6. write the modified frame
  7. loop back
For the actual watermarking, see the numerous previous discussions. https://www.mathworks.com/matlabcentral/answers/?term=tag%3A%22watermarking%22
Video watermarking has a couple of special considerations:
  1. It is common for videos to be processed through a lossy compression algorithm. If that is a possibility for you, then you should not assume that the bits you add into any one frame can all be extracted again later. You cannot control which frames will become key frames and which ones will not
  2. Since you have multiple frames in a video, you do not need to embed everything on every frame. For example if you had 100 frames, you could embed the first 1/5th of the data on the first 20 frames, the second 1/5 on the next 20 frames, and so on. With multiple copies of the data being written, you have more opportunities for extracting the data.
  3 Comments
Walter Roberson
Walter Roberson on 16 Mar 2017
For the actual watermarking, see the numerous previous discussions. https://www.mathworks.com/matlabcentral/answers/?term=tag%3A%22watermarking%22 . There are at least 150 discussions already. Searching for watermarking on http://scholar.google.com finds over 100,000 references.
Picking an algorithm is outside of the scope of this Answers resource.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!