0

I'm using BufferedImage to capture the screen images and then JpegImagesToMovie class to convert it to .mov, which I found online.

When I run the output file, it's at a super speed and not the original speed I recorded at. Can someone tell me what need to do in order to get a real-time speed video?

4

2 回答 2

0

您可能正在使用 Oracle 的示例将图像转换为.mov. 问题是生成的文件的大小非常非常大。你需要转向更高效、更抽象的东西。Xuggler用于制作屏幕录像机怎么样 ?

现在,关于让电影变慢的问题。您需要降低帧速率。如果您需要 60 fps,则您的 1 秒需要由 60 帧共享。因此,对于 n fps,您需要(1/n)为线程设置睡眠持续时间。

于 2013-10-13T21:36:50.377 回答
0

您可能需要输入Thread.sleep(1 / fps). 试试看是否有效。

于 2013-10-13T21:19:40.463 回答