Ask Your Question

Revision history [back]

How can I convert ffmpeg AVFrame to cv::Mat?

I'm newbie in ffmpeg.I can get frame with AVFrame,how can I get cv::Mat and do image processing with OpenCV.