1 #ifndef FFMPEG_EXTRACTOR_H
2 #define FFMPEG_EXTRACTOR_H
10 const std::string & _identifier,
11 const std::string & _destination);
18 void extractImpl(
unsigned int _width,
20 unsigned int _bytesPerPixel,
23 zmq::message_t * sourceImage);
24 void extractTeardown();
28 void handleSize(
unsigned int _width,
unsigned int _height,
unsigned int _bytesPerPixel);
30 std::string s_identifier;
31 std::string destination;
33 FILE* ffmpeg =
nullptr;
34 unsigned char * buffer =
nullptr;
38 unsigned int bytesPerPixel;
39 unsigned int reduction = 1;