Bom dia pessoal.
Estou tentando fazer um programa que filme a minha area de trabalho.
public void takeScreen(Integer i) throws Exception
{
Robot robot = new Robot();
BufferedImage screenCaptured = robot.createScreenCapture(rec);
ImageIO.write(screenCaptured,"png",new File("DIRETORIO/imagem"+i+".png"));
screenCaptured = null;
}
Na classe do JFrame
...
Boolean keepScreen = true;
...
int i = 0;
....
while(keepScreen)
{
serv.takeScreen(i);
i++
}
Para tirar SS’s da tela e salvar em uma pasta.
O que eu queria é saber como transformo esse grupo de imagens em um arquivo de video?
Obrigado.