将一系列 BufferedImages 转换为 Java 中的视频? [英] Converting a series of BufferedImages to a video in Java?

查看:31
本文介绍了将一系列 BufferedImages 转换为 Java 中的视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将一组 BufferedImages 转换为视频?我正在制作屏幕录像机.

How would I convert an an array of BufferedImages into a video? I'm making a screen recorder.

之后我将如何压缩视频?

How would I compress the video afterward?

推荐答案

您可以使用 Xuggler(在 Windows、Mac 或 Linux 上)来执行此操作,以及以下 教程 将向您展示具体的操作方法.特别是,请参阅(我不是在开玩笑)How to Grow Some Balls"教程,该教程使用一系列 BufferedImages(和一些音频)制作视频.

You can use Xuggler (on Windows, Mac or Linux) to do this, and the following tutorials will show you exactly how to do it. In particular, see the (I'm not kidding) "How to Grow Some Balls" tutorial for a program that makes a video out of a series of BufferedImages (and some audio).

这篇关于将一系列 BufferedImages 转换为 Java 中的视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆