FFmpeg AVFrame 初始化 Opencv Mat
Opencv 加载ffmpeg 视频帧#概要avframe->data = rgbBuffer = img_1->data;#AVframe 转换//AVframe 初始化 YUV需要转为BGR24 pFrameRGB = av_frame_alloc(); rgbNumBytes = av_image_get_buffer_size(AV_PIX_FMT_BGR24, dec_ctx->width, dec_ctx->height, 1); rg
原创
2021-06-02 14:53:56 ·
600 阅读 ·
0 评论