且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在openCV中打开文件(/home/vaibhav/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:553)时出错

更新时间:2022-03-21 03:03:37

在这里消除一些混乱:

该错误表示它无法找到或打开您的视频文件. (找不到文件或编解码器不存在)

the error means, that it could not find or open your Video file. (either file not found, or codec not present)

"/home/vaibhav/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:553"只是代码的位置,引发了错误.

"/home/vaibhav/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:553" is just the location of the code, where the error is thrown.

(而且,请不要再使用不推荐使用的c-api,他们像5年前一样停止开发它,改用c ++了.)

(and please, don't use the deprecated c-api any longer, they stopped developing it like 5 years ago, switch over to the c++ one. )