I tried to compile opencv from sources:
1) first from the HEAD of master branch on github and then
2) from the zip file https://github.com/Itseez/opencv/archive/3.0.0-alpha.zip
In both cases I got the same error message:
Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_ffmpeg.cpp.o In file included from /home/ilya/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:65:0, from /home/ilya/opencv/modules/videoio/src/cap_ffmpeg.cpp:45: /home/ilya/opencv/modules/videoio/src/ffmpeg_codecs.hpp:98:7: error: ‘CODEC_ID_H264’ was not declared in this scope { CODEC_ID_H264, MKTAG('H', '2', '6', '4') },
I'm running Debian Testing distro, amd64 architecture.
Any idea what's wrong?