How to make opencv support custom codes for videos for reading
Hi, I wrote a small test sample program to open an avi file. The program is as show when i tried to open the file, it is always failing. I tried another file downloaded from the internet and that successfully opened. It is because the file that i was initially trying to open is created with a custom code and the second one( which opened successfully), was written with a codec IV41. I want to know how can i make my OpenCV to support custom built codecs.
VideoCapture input;// = VideoCapture( filename );
bool status = input.open( filename);
if (!input.isOpened()) return 0;