#include "NewEncodeVideo.h" NewEncodeVideo::NewEncodeVideo(): videoEncoderElement(cv::Size(1920, 1080), 8, 0) { } NewEncodeVideo::~NewEncodeVideo() { } void NewEncodeVideo::threadFunc() { std::string src_path=getProperty("src_path"); if(src_path.empty()) { return ; } int size=m_hiredisTool.getSize(src_path); // DBG("buf_size="<