Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Videocapture cap not working

Hello. For some reason my (!cap.isOpened()) is always true in my code. I have my videocapture cap with the path inside it. The error I get is attached. Thank you for the help.C:\fakepath\Capture.PNG

click to hide/show revision 2
None

updated 2018-10-11 08:52:15 -0600

berak gravatar image

Videocapture cap not working

Hello. For some reason my (!cap.isOpened()) is always true in my code. I have my videocapture cap with the path inside it. The error I get is attached. Thank you for the help.C:\fakepath\Capture.PNG

Videocapture cap not working

Hello. For some reason my (!cap.isOpened()) is always true in my code. I have my videocapture cap with the path inside it. The error I get is attached. as follows: [ INFO:0] VIDEOIO: Enabled backends(6, sorted by priority): FFMPEG(1000); MSMF(990); DSHOW(980); VFW(970); CV_IMAGES(960); CV_MJPEG(950) warning: Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:856) warning: Documents/MRC/objectTrackingTut/x64/Debug/RobotX_2018_Ring_Recovery_Capture2.avi (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:857) Error opening video stream or file

Thank you for the help.

click to hide/show revision 4
None

updated 2018-10-11 09:24:37 -0600

berak gravatar image

Videocapture cap not working

Hello. For some reason my (!cap.isOpened()) is always true in my code. I have my videocapture cap with the path inside it. The error I get is as follows: follows:

[ INFO:0] VIDEOIO: Enabled backends(6, sorted by priority): FFMPEG(1000); MSMF(990); DSHOW(980); VFW(970); CV_IMAGES(960); CV_MJPEG(950)
warning: Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:856)
warning: Documents/MRC/objectTrackingTut/x64/Debug/RobotX_2018_Ring_Recovery_Capture2.avi (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:857)
Error opening video stream or file

file

Thank you for the help.