Ask Your Question
0

Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:901)

asked 2020-04-18 05:11:16 -0600

mil95 gravatar image

Hi When I created the tracking application using the meanshift algorithm, two errors appeared: "warning: Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:901)" "warning: (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:902)"

Adding the path to the ffmpeg directory in system environment variables did not solve the problem. I'm using Qt Creator 5.14.1 and OpenCV 3.4.5. Does anyone know why these problems occur? Thanks for the quick reply

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-04-18 08:55:07 -0600

berak gravatar image

it simply means, your video file could not be opened (wrong path or corrupt data)

the path in the error msg is the location of the src code, when the opencv libs were built. this is debug information and irrelevant in your case

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-04-18 05:11:16 -0600

Seen: 2,435 times

Last updated: Apr 18 '20