I read the article on http://opencv.willowgarage.com/wiki/VideoCodecs. I have a question regarding colorspaces in opencv.

If I read a video which is encoded in e.g. YUV4:2:2 color format in OpenCV by:

cap = cvCreateFileCapture(“input.avi”);
IplImage *in = cvQueryFrame(cmdl->ifile);

Will in then always be in the BGR colorspace? Or will in be in the YUV4:4:4 colorspace?

I'm guessing that since the page says "usually", then the answer to "always" is going to be no.

It's a good idea to join the actual discussion group which discusses OpenCV every day, rather than pick a random forum based solely on some web search stats.
http://tech.groups.yahoo.com/group/OpenCV/