从HTML上的图像序列创建视频

发布于 2025-02-13 13:36:16 字数 105 浏览 0 评论 0原文

我想从HTML上显示的一系列图像中创建视频。

FFMPEG可能是可能的,但需要sharedArrayBuffer支持,是否可以使用opencv.js?

I want to create a video from sequence of images displayed on HTML.

ffmpeg may be possible but need SharedArrayBuffer support, is it possible by using OpenCV.js?

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

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

发布评论

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

评论(1

一江春梦 2025-02-20 13:36:16

Xring听起来像是为了获得屏幕上的技术上是一项技术的工作。 OpenCV是为了AI风格的工作,为此目的有点过分杀伤。

从图像中创建视频在您的应用程序的后端并将其托管在您的页面上。还有一些示例,说明您如何做到这一点来制作GIF。

在linux上,我会在文件夹中猫来ffmpeg这样的所有图像

cat *.png | ffmpeg -f image2pipe -i - output.mp4

Xring that sounds like a lot of work just to get what is technically a Gif on screen. OpenCV is meant for AI styled work it's a bit overkill for this purpose.

How about Creating videos from images on the backend of your app and hosting that on your page. There are also a few examples of how you could do this to make gifs.

On Linux I'd cat all the images in a folder to ffmpeg like this

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