47 #ifndef vpVideoWriter_H
48 #define vpVideoWriter_H
50 #include <visp/vpImageIo.h>
51 #include <visp/vpFFMPEG.h>
134 #ifdef VISP_HAVE_FFMPEG
140 unsigned int bit_rate;
156 vpVideoFormatType formatType;
159 char fileName[FILENAME_MAX];
168 unsigned int frameCount;
171 unsigned int firstFrame;
202 #ifdef VISP_HAVE_FFMPEG
210 inline void setBitRate(
const unsigned int bit_rate) {this->bit_rate = bit_rate;}
221 inline void setCodec(
const CodecID codec) {this->codec = codec;}
224 void setFileName(
const char *filename);
232 vpVideoFormatType getFormat(
const char *filename);
233 static std::string getExtension(
const std::string &filename);
void setCodec(const CodecID codec)
void setBitRate(const unsigned int bit_rate)
unsigned int getCurrentFrameIndex() const
Class that enables to write easily a video file or a sequence of images.
This class interfaces the FFmpeg library to enable the reading of video files.
void setFirstFrameIndex(const unsigned int firstFrame)