[英]Overlaying a [PNG] image while recording a video camera api android
我想在使用相机api录制视频时添加png图像,保存视频时,图像必须在视频上充当水印。
One approach which I can suggest is use ffmpeg
for android ( check this ). 我可以建议的一种方法是将ffmpeg
用于android( 请检查此 )。
You will need to compile the library yourself, if you want the latest version. 如果需要最新版本,则需要自己编译该库。
Readily available ffmpeg
for android is this . 可供android轻松使用的ffmpeg
是这个 。 After implementing the ffmpeg
, refer this question for adding watermark. 在实现ffmpeg
,请参考此问题以添加水印。 Hope this helps. 希望这可以帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.