以编程方式为视频添加水印
因此,我正在寻找一种方法,以编程方式为上传到我的网站的视频添加水印。我已经查看了 ffmpeg-php 但这不起作用,因为我使用的是共享 Linux 托管。我想知道是否有人知道一种可以通过编程方式向 mp4 视频添加水印的方法,就像在 php 中使用 GD 库一样。
有没有人成功地做到了这一点,或者有人知道可以在共享主机上运行的实用程序吗?
So I am looking for a way to watermark videos uploaded to my site programmatically. I have looked at ffmpeg-php however this will not work as I am using shared linux hosting. I'm wondering if anyone knows of a way that I can programmatically add a watermark to mp4 videos kind of how you do with the GD lib in php.
Has anyone successfully done this or does anyone know of a utility that will work on shared hosting?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
除非他们提供 ffmpepg 支持,否则您将无法在共享主机上执行此操作。 Ffmpeg 还必须在启用 vhooks 和 watermark.so 库的情况下进行编译。
You wouldn't be able to do this on shared hosting unless they provided ffmpepg support. Ffmpeg would also have to be compile with vhooks enabled and the watermark.so library.