18 lines
330 B
C++
18 lines
330 B
C++
|
#ifndef VIDEO_WRITER_HH_
|
||
|
# define VIDEO_WRITER_HH_
|
||
|
|
||
|
# include <string>
|
||
|
# include "video.hh"
|
||
|
|
||
|
class VideoWriter: public Video
|
||
|
{
|
||
|
public:
|
||
|
void write();
|
||
|
bool open(std::string filename, std::string enc,
|
||
|
int fps, int width, int height);
|
||
|
private:
|
||
|
cv::VideoWriter writer_;
|
||
|
};
|
||
|
|
||
|
#endif /* !VIDEO_WRITER_HH_ */
|