# opentl::output::video::VideoWriter_Backend Class Reference

Inherited by opentl::output::video::VideoWriter_FFmpeg, opentl::output::video::VideoWriter_OpenCV, and opentl::output::video::VideoWriter_QuickTime.

List of all members.

## Protected Member Functions
virtual bool | init (const std::string &filename, int width, int height, double fps, VideoWriter::Codec codec, VideoWriter::ColorMode colorMode)=0
| VideoWriter_Backend ()
virtual void | writeFrame (const opentl::core::cvdata::Image &img)=0
virtual | ~VideoWriter_Backend ()
## Friends
class | opentl::output::VideoWriter

## Detailed Description

Abstract class hiding implementation of VideoWriter Inherit from it wrappers for diffent video writing libraries

## Constructor & Destructor Documentation

opentl::output::video::VideoWriter_Backend::VideoWriter_Backend | ( |  | ) | `[inline, protected]`

virtual opentl::output::video::VideoWriter_Backend::~VideoWriter_Backend | ( |  | ) | `[inline, protected, virtual]`

## Member Function Documentation

virtual bool opentl::output::video::VideoWriter_Backend::init | ( | const std::string & | filename,
|  | int | width,
|  | int | height,
|  | double | fps,
|  | VideoWriter::Codec | codec,
|  | VideoWriter::ColorMode | colorMode |
| ) |  |  | `[protected, pure virtual]`

Implemented in opentl::output::video::VideoWriter_FFmpeg, opentl::output::video::VideoWriter_OpenCV, and opentl::output::video::VideoWriter_QuickTime.

virtual void opentl::output::video::VideoWriter_Backend::writeFrame | ( | const opentl::core::cvdata::Image & | img | ) | `[protected, pure virtual]`

Implemented in opentl::output::video::VideoWriter_FFmpeg, opentl::output::video::VideoWriter_OpenCV, and opentl::output::video::VideoWriter_QuickTime.

## Friends And Related Function Documentation

friend class opentl::output::VideoWriter`[friend]`

Reimplemented in opentl::output::video::VideoWriter_FFmpeg, opentl::output::video::VideoWriter_OpenCV, and opentl::output::video::VideoWriter_QuickTime.