【目录】郭老二博文之:图像视频汇总 1、方法一,伪代码如下 cv::Mat mat; AVFrame avFrame; const int stride[] = { static_cast<int>(mat.step[0]