#include "EncodeVideo.h" EncodeVideo::EncodeVideo(): videoEncoderElement(cv::Size(1920, 1080), 8, 0) { } EncodeVideo::~EncodeVideo() { } void EncodeVideo::threadFunc() { // std::string tmp="threadFunc"; // ClockTimer cl(tmp); std::string src_path=getProperty("src_path"); if(src_path.empty()) { DBG("src_path.empty()"); return ; } int size=m_hiredisTool.getSize(src_path); bool fileCreate = false; for(int i=0;i