First time here? Check out the FAQ!
answered 2014-01-18 03:34:18 -0600
There is a function CV_FOURCC that can be used like that:
CV_FOURCC('M','J','P','G')