Adding watermark to currently recording video and save with watermark

▼魔方 西西 提交于 2020-05-14 07:38:26

问题


I would like to know if there is any way to add a watermark to a video which is currently recording and save it with the watermark. (I know about adding watermarks to video files that are already available in app bundle and exporting it with watermark).

iPhone Watermark on recorded Video.

I checked this link. Accepted answer is not good one. The most voted answer is applicable only if there is already a video file in your bundle. (Please read the answer before suggesting that.)

Thanks in advance


回答1:


For this purpose its better to use GPUImage library (An open source library available in Git hub), It contains so many filter and its possible add overlay using GPUImageOverlayBlendFilter. That contains sample FilterShowCase that explains lot about using the filters. It uses GPU so that it takes the overhead of processing the image. The full credits goes to @Brad Larson the one who created such a great library.



来源:https://stackoverflow.com/questions/20854849/adding-watermark-to-currently-recording-video-and-save-with-watermark

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!