std::vector< std::basic_string< uint8_t > > encode_frame(const cv::Mat &frame)
First frame will set the resolution and subsequent frames must match the resolution.
Definition H264Encoder.cpp:6
H264Encoder(int fps, int rf)
Uses the h264encoder library to encode webcam frames into encoded video data.
Definition H264Encoder.cpp:4