00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _MOVIECAPTURE_H_
00011 #define _MOVIECAPTURE_H_
00012
00013 #include <string>
00014
00015
00016 class MovieCapture
00017 {
00018 public:
00019 MovieCapture() {};
00020 virtual ~MovieCapture() {};
00021
00022 virtual bool start(const std::string& filename,
00023 int width, int height,
00024 float fps) = 0;
00025 virtual bool end() = 0;
00026 virtual bool captureFrame() = 0;
00027
00028 virtual int getFrameCount() const = 0;
00029 virtual int getWidth() const = 0;
00030 virtual int getHeight() const = 0;
00031 virtual float getFrameRate() const = 0;
00032 };
00033
00034 #endif // _MOVIECAPTURE_H_
00035