以编程方式将图片嵌入视频中

发布于 2024-11-30 01:52:35 字数 262 浏览 0 评论 0原文

我正在尝试找出在将用户上传的视频发送到 YouTube 频道之前以编程方式将徽标嵌入到视频中的最佳方法。我想在添加最少的工件的情况下完成此操作。这些文件将上传到服务器,我可以通过命令行和 PHP 访问它。它将位于共享主机上,我预计流量一开始不会很高。

我目前的想法是使用 ffmpeg,但是我不确定它的通用性(有大量的格式)。我认为以高比特率对其进行编码,以最大限度地减少添加的伪影,然后上传到油管。

还有其他人必须以编程方式在 YouTube 视频上添加徽标吗?什么对你有效?

I'm trying to figure out the best method to programmatically embed a logo onto videos uploaded from users before they are sent to a youtube channel. I'd like to do this with minimal artifacts added. The files will be uploaded to a server where I'll have both command-line and PHP access to it. It will be on a shared host, and I expect that the traffic won't be high to start.

My current thought is to use ffmpeg, however I wasn't sure how versatile that would be (with the tons of formats out there). I figured encode it at a high bitrate to minimize artifacts added and then upload to you tube.

Has anyone else programmatically had to get a logo onto youtube videos? What worked well for you?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

妳是的陽光 2024-12-07 01:52:35

ffmpeg 显然有一个用于此目的的插件。然而,当我总体上研究转码时,我认为避免所有神秘的视频排列并避免处理长时间运行的进程带来的额外麻烦会更有趣。所以我决定通过一项服务传输我的视频。 Encoding.com 的 API 似乎支持徽标。

ffmpeg apparently has a plugin for this. However when I was looking into transcoding in general I decided it would be more fun to avoid all the arcane video permutations, and avoid the extra aggravation of dealing with long running processes. So I decided to pipe my videos through a service. Encoding.com's API appears to support logos.

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