19,468
社区成员
发帖
与我相关
我的任务
分享
videoWriter = cvCreateVideoWriter(strVideoName, CV_FOURCC('D','I','V','X'),
iVideoFPS, cSize, isColor);
cvCvtColor(m_ipImg, m_ipImgResize, CV_GRAY2BGR);
int iret = cvWriteFrame(videoWriter, m_ipImgResize); // 将帧添加入视频文件