Hello,
I am recieving a stream from rtmpdump of type char*. So, it's an RTMP stream.
I have converted pushed each of the 3518 char items into a std::vector<uchar>
cv::Mat img = cv::imdecode(bufVec,0); cv::Mat img = cv::imdecode(cv::Mat(bufVec),0); cv::Mat img = cv::imdecode(bufVec,1); cv::Mat img = cv::imdecode(cv::Mat(bufVec),1);
All of these attempts yield an empty image.
If i read the uchar array to the console, it has a lot of meta data etc.
This is what i get if i push the data to the console.
Any clues on how to approach this?