Skip to content

Video Capture

Brice Donval edited this page Jan 7, 2020 · 8 revisions

The Greta platform contains modules that allows to take screenshot or make videos of what the Ogre window shows. The modules to use are in the Add menu (figure below) and under the voice Player you can find:

  • CaptureController
  • XuggleVideoCapture

drawing

XuggleVideoCapture

This module represent the open-source Xuggle video engine to read and write video clips using Java Thanks to this module it is possible to choose the format, video and audio codec of the video to take.

drawing

CaptureController

The GUI of this module contain 3 different buttons:

  • Screen Shot for just take a picture of Ogre window
  • Video to record what happens in the Ogre window
  • FML Videos in order to record what happens in the Ogre window when a series of FML are run.

drawing

Screen Shot

Click on the correspondent button a picture of the Ogre window is taken in that istant and stored in the <GRETA_DIR>/bin/ folder as a .png file.

Video

Once click on that button a record of Ogre window is started. The Button label will change in Stop. Once the button is selected againg the video is stopped. During the recording time, the user can decide to run FML or BML file but also use the editors to move the agent.

FML Videos

drawing

To make the "FML Videos" button work it is necessary connect CaptureController to the FMLFileReader in order to send the file to this module that will process the FML and make it perform by the agent while the CaptureControl will record.

This button allows to do the same thing of the previous one. The difference is that, instead of run manually the FML during the recording, the user can select a folder where the FML files are stored and create a video for each oner. Once select the folder, the user can click the button "FML Videos" and, one at time, the FMLs are read, run, recorded and finally stored in the same folder where the FML files are taken.

Getting started with Greta

Greta Architecture

Quick start

Advanced

Functionalities

Core functionality

Auxiliary functionalities

Preview functionality

Nothing to show here

Previous functionality (possibly it still works, but not supported anymore)

Clone this wiki locally