写入视频帧

构造函数:

VideoWriter(const string& filename,//文件名 
int fourcc, //所用编码器
double fps,//帧的速率
Size frameSize, //帧的尺寸
bool isColor=true);//是否是彩色视频

写入:

VideoWriter::write(src);

 

posted @ 2021-05-14 22:51  KAVEI  阅读(41)  评论(0编辑  收藏  举报