将水印添加到当前录制的视频中并与水印一起保存 [英] Adding watermark to currently recording video and save with watermark

查看:60
本文介绍了将水印添加到当前录制的视频中并与水印一起保存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以将水印添加到当前正在录制的视频中,并与水印一起保存.(我知道将水印添加到应用程序捆绑包中已经可用的视频文件中,然后将其与水印一起导出).

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水印.

我检查了此链接.接受的答案不是一个好答案.投票最多的答案仅在您的捆绑包中已经有视频文件时适用.(在提出建议之前,请先阅读答案.)

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.)

预先感谢

推荐答案

为此,最好使用 GPUImage 库(Git集线器中提供的开放源代码库),它包含许多过滤器和使用 GPUImageOverlayBlendFilter 可以添加叠加层.其中包含示例 FilterShowCase ,其中说明了有关使用过滤器的很多内容.它使用GPU,以节省处理图像的开销.全部致谢归功于创建了如此出色图书馆的@Brad Larson.

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.

这篇关于将水印添加到当前录制的视频中并与水印一起保存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆