OpenRAVE Documentation

ViewerRecorder - logging

Type:module
Plugin:logging
Interface Author:
 Rosen Diankov

Records the images produced from a viewer into video file. The recordings can be synchronized to real-time or simulation time, by default simulation time is used. Each instance can record only one file at a time. To record multiple files simultaneously, create multiple VideoRecorder instances

ViewerRecorder Commands

GetCodecs

Return all the possible codecs, one codec per line:[video_codec id] [name]


help

display help commands.


SetWatermark

Set a WxHx4 image as a watermark. Each color is an unsigned integer ordered as A|B|G|R. The origin should be the top left corner


Start

Starts recording a file, this will stop all previous recordings and overwrite any previous files stored in this location. Format:

Start [width] [height] [framerate] codec [codec] timing [simtime/realtime/controlsimtim[=timestepmult]] viewer [name]\n filename [filename]\n

Because the viewer and filenames can have spaces, the names are ready until a newline is encountered


Stop

Stops recording and saves the file. Format:

Stop

Questions/Feedback

Having problems with OpenRAVE?