以编程方式为视频添加水印

发布于 2024-09-25 07:32:28 字数 186 浏览 8 评论 0原文

因此,我正在寻找一种方法,以编程方式为上传到我的网站的视频添加水印。我已经查看了 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

毁梦 2024-10-02 07:32:28

除非他们提供 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文