I want to install opencv on the raspberry pi for image detection on a video I have followed this tutorial but the videos are not to be played or proccessd. I tried to install it again to make sure ffmpeg is enabled error appears during config.
ffmpeg/avformat.h is not found
I have searched and what I found this question the answer is to make sure that ffmpeg is installed on the pi before making the opencv so I installed the ffmpeg went through all the steps till make and sudo make install in the main directory of the pi but still when I
ccmake ../ then press c
to config same error appears I have tried to put the ffmpeg file inside the release file and put the avformat.h just in opencv/release/ffmpeg same error file not found how can I solve this problem.