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.
Not sure what else to do? Any ideas?