Ask Your Question

kapraf's profile - activity

2014-03-27 07:54:44 -0600 received badge  Necromancer (source)
2014-03-27 07:47:49 -0600 answered a question Build problems for openCV 2.4.1 with Ubuntu 12.04 LTS

This error occurs when Opencv and ffmpeg are not fully compatible. In new ffmpeg version CodecID was replaced with AVCodecID so go to your cap_ffmpeg_impl.hpp file and change all occurences of CodecID to AVCodecID. In my case it was three lines. Restart the compilation of openCV and you should be fine :-)