Eeliya
Eeliya

Reputation: 1574

How to convert animation to video format?

I have application which simply is an animation (some circles moving around).

I want to know how can I save this animation as video like MP4?

OR is it possible to record(capture) things which happen inside a node and save it as video format?

Upvotes: 2

Views: 1783

Answers (1)

Sergey Grinev
Sergey Grinev

Reputation: 34528

There is no build-in functionality for that.

  1. If you just want to record how your application run there are several tools for that. E.g Fraps

  2. If you want to create your own video programmatically you need to use some 3rd party software (or write one), which allows to encode set of images to video. E.g. Xuggle. Here you can find how to take screenshots in JavaFX: Taking a screenshot of a scene or a portion of a scene in JavaFx 2.2

Upvotes: 1

Related Questions