How to convert 16UC4 cv::Mat to AVFrame
I have one cv::Mat with 16UC4 data format. I want to save this matrix data as frame and save to an AVI file
I have one cv::Mat with 16UC4 data format. I want to save this matrix data as frame and save to an AVI file
Asked: 2020-03-03 22:21:24 -0600
Seen: 1,135 times
Last updated: Mar 03 '20
You want to save one image in a video file?Really Is it an RGBA image?
Not one frame it is multiple frames, but each frame will be cv::Mat of 16UC4. Its is RGBA.