What video formats can we use in OpenCV? Can it be used in addition to AVI and camera load? If these are the only supported formats, this is the video converter needed to use other video formats.
I'm not sure how relevant this is, but this Wiki page for OpenCV gives a good overview of which codecs are supported. If it looks like AVI, this is the only format with decent cross-platform support. Your options are to either perform the conversion using an external converter (for example, you suggest), or write code that uses the video library to load the image and create the appropriate header cv::Mator IplImage *for the data.
cv::Mat
IplImage *
If you don’t process a huge amount of video, I suggest you go the path of least resistance and just convert the video to AVI (see the link above to find out what OpenCV supports). Just be careful to avoid lossy compression: this will destroy the chaos with a lot of image processing algorithms.
OpenCV "" (, ffmpeg VFW). , highgui , VideoCapture ( cap_* ). AVI - , , OpenCV. AVI , . . . , .
highgui
VideoCapture
cap_*
, Linux, , ffmpeg , . , ffmpeg, :
ffmpeg -formats
Windows , , , K-Lite Codec Pack.