Are you sure you're running the executable from the same directory? If your source is in the same directory with the video file and your executable isn't then it won't work.
Feladó: [hidden email] <[hidden email]>, meghatalmazó: [hidden email] [OpenCV] <[hidden email]>
Elküldve: 2017. november 29. 13:59
Címzett: [hidden email] Tárgy: [OpenCV] video files are not open and capture..... Hi, i trying to open the video files but not open files.But the same code works well with webcam.videos have the same path as application.
kindly solve my problem.Thanku.
this the code.
Re: video files are not open and capture..... [1 Attachment]
i tried my best from some days but not get any result.I hope opencv experts solve my problem.And help me in learning opencv. Thanks mr.Fábián Kristóf for giving your important time.And also thanku Bob Davies.
This is the hole project.
It may be you do not have the correct codecs to interpret the file (see how
ffmpeg is linked in). But probably, I assume you are not even finding the
file "ffff.avi" (or is it fffff.avi ... you should also make sure to count
your "f"s or name the file more sensibly), but, of course, give it the full
path to the file to be sure.