Error opening file (/home/vaibhav/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:553) in openCV

后端 未结 8 704
挽巷
挽巷 2020-12-30 15:10

I am using OpenCV to display a video my code is as

#include
#include
#include
#include

        
8条回答
  •  情书的邮戳
    2020-12-30 15:40

    After having the same issue, I added one more header, opencv/ml.h, which is for machine learning. With this header and the Path variable C:\opencv\sources\3rdparty\ffmpeg\ your code works on my machine.

提交回复
热议问题