Ask Your Question

Revision history [back]

Hi Nate!

I had the same problem, and I created a solution using OpenCV's functions. Do you want know the solution, or this problem is no longer important? In my case, I received raw data (uncompress video, and the data was in an array of char) from multiples camera feeds (this scenario involved channels Y, U and V separated, different values of chroma subsampling and different values of bit rate). When the Bit Depth was equal to 10-bit I had problems with OpenCV. Using cv::Mat( int height, int width, CV_16UC, (unsigned char*) feed_channel_Y) i didn't had a successful results. In my opinion i think if you use the function cv::VideoCapture, you won't get good results.

To get a solution for this problem, I made some conversions on video data. But remember I worked with uncompressed video data, the video didn't have any codec.

Cheers, Victor