There is a code example. The answer to the question stackoverflow.com https://goo.gl/DUt6d3
The example shows how to apply the logo (watermark) and text to the video in real time using the library GPUImage and save the result to disk.
Run "pod install" after cloning