Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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 shown VideoCapture input;// = VideoCapture( filename ); bool status = input.open( filename); if (!input.isOpened()) return 0; 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.

Thanks AJAI

How to make opencv support custom codes for videos for reading

Hi, I/ I wrote a small test sample program to open an avi file. The program is as shown VideoCapture input;// = VideoCapture( filename ); bool status = input.open( filename); if (!input.isOpened()) return 0; 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.

Thanks AJAI

     VideoCapture input;// = VideoCapture( filename );
     bool status = input.open( filename);
     if (!input.isOpened()) return 0;