MASTER THESIS Video Watermarking - Computer Graphics Group ...
MASTER THESIS Video Watermarking - Computer Graphics Group ...
MASTER THESIS Video Watermarking - Computer Graphics Group ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
loud speakers.<br />
The watermark plugin stands for an element in a suchlike pipeline. The<br />
plugin can be divided into two parts: the GStreamer part and the main part, and<br />
works in either embedding (see Section 4.2.2) or detection (see Section 4.2.3)<br />
mode.<br />
The GStreamer part implements the GStreamer interface which is<br />
thoroughly documented on the project's website [12], thus the source code is only<br />
briefly commented.<br />
This part parses incoming data blocks of H.264 stream into NAL units<br />
which are further decoded using the codec, mentioned in Section 4.1. As soon as a<br />
slice is decoded, it is forwarded to the main part of the plugin. Then, in<br />
embedding mode, the watermarked slice is encoded again and sent to the output,<br />
or in detection mode, detection statistics are given.<br />
The main part does watermark embedding or detection, depending on the<br />
mode.<br />
The plugin is written as a library in programming language C and the<br />
source code counts about 3 500 lines. The usage of the plugin is described in<br />
Appendix B and the documentation is provided in Appendix C.<br />
4.2.2 Embedding<br />
In the embedding mode, the plugin accepts a H.264 stream as the input,<br />
invokes the embedding process and outputs the same but possibly watermarked<br />
H.264 stream. The embedding pipeline is illustrated in Figure 9.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Figure 9: Watermark pipeline in embedding mode<br />
Non-watermarked slices and other NAL units are passed through without<br />
any changes.<br />
In the current implementation of the plugin, only intra coded slices are<br />
watermarked. This is because inter prediction is quite complicated and is not<br />
necessary for objectiveness of the thesis results.<br />
Inputs to the embedding process are:<br />
22