lobot::VideoRecorder Class Reference

Video stream recorder for Lobot/Robolocust project. More...

#include <Robots/LoBot/io/LoVideoRecorder.H>

Collaboration diagram for lobot::VideoRecorder:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 VideoRecorder (const std::string &mpeg_name, const VideoStream *)
void update ()
 ~VideoRecorder ()
 Clean-up.

Detailed Description

Video stream recorder for Lobot/Robolocust project.

This class wraps around INVT's FfmpegEncoder in order to send input video streams to an MPEG file. This is useful for exchanging movies of our robot moving with the Gabbiani team at Baylor so as to get back LGMD spike trains from them.

Definition at line 95 of file LoVideoRecorder.H.


Constructor & Destructor Documentation

lobot::VideoRecorder::VideoRecorder ( const std::string mpeg_name,
const VideoStream S 
)

This constructor sets up a recorder to read input images from the provided video stream and store them in an MPEG file with the given "root" name. The file name extension is appended automatically (by FfmpegEncoder).

Definition at line 82 of file LoVideoRecorder.C.

lobot::VideoRecorder::~VideoRecorder (  ) 

Clean-up.

Definition at line 102 of file LoVideoRecorder.C.


Member Function Documentation

void lobot::VideoRecorder::update (  ) 

This method reads the current frame from its video stream source and writes it to the MPEG file the recorder is recording to.

Definition at line 95 of file LoVideoRecorder.C.

References lobot::VideoStream::readFrame().

Referenced by lobot::App::run().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:44:29 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3