Opencv: anyone used CAP_PROP_FOURCC 4-character code of video codec successfully?

Hi

Had anyone ever gotten successfully the 4-character code of the videocodec through CAP_PROP_FOURCC of opencv? It seems that I do not get anything other back then ‘0’ when calling

double f = movieFile.get(CV_CAP_PROP_FOURCC);

All other properties return the correct values, just not CV_CAP_PROP_FOURCC. I had tried it with various video files, always with the same result. AFAIK should every video file have this property.

I have also read that the conversion of this double is a bit more complicated, but as I always get ‘0’ I do not think that this is the problem.

I am using openframeworks 0.9.2 and also use @kylemcdonald s https://github.com/kylemcdonald/ofxCv
I believe that the opencv version is 3.1, but I am not sure.

Not sure what else to do? Any ideas?