Ask Your Question

Pran Mukherjee's profile - activity

2016-07-14 07:50:49 -0600 received badge  Famous Question (source)
2015-06-23 01:01:46 -0600 received badge  Notable Question (source)
2015-02-05 05:31:24 -0600 received badge  Popular Question (source)
2013-04-09 21:33:41 -0600 asked a question OpenCV 2.4.4 build always fails at ffmpeg portion

This is the start of the error messages:

[ 19%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o

In file included from home/opencv-2.4.5/modules/highgui/src/cap_ffmpeg_impl.hpp:60:0, from home/opencv-2.4.5/modules/highgui/src/cap_ffmpeg.cpp:45: home/Desktop/opencv-2.4.5/modules/highgui/src/ffmpeg_codecs.hpp:104:7: error: ‘CODEC_ID_H264’ was not declared in this scope

There are then about 100+ very similar lines saying that codecs were not declared in this scope. What's going on? I even installed all of the codec libraries recommended by the installation guide here: http://docs.opencv.org/trunk/doc/tutorials/introduction/linux_install/linux_install.html

Any ideas?