Ask Your Question

davidtp's profile - activity

2018-10-12 12:53:56 -0600 received badge  Notable Question (source)
2017-03-16 02:45:23 -0600 received badge  Popular Question (source)
2013-06-24 19:13:26 -0600 asked a question Error opening file (../../modules/highgui/src/cap_ffmpeg_impl.hpp)

Hi Folks

Total newbie question. I hhave been on this for days now no progress. probably really simple. Please HELP!

I'm getting the following RUNTIME error while trying to run http://docs.opencv.org/doc/tutorials/highgui/video-input-psnr-ssim/video-input-psnr-ssim.html

warning: Error opening file (../../modules/highgui/src/cap_ffmpeg_impl.hpp:529) warning: Could not find codec parameters (../../modules/highgui/src/cap_ffmpeg_i mpl.hpp:540)

My settings: Windows8 ,OpenCV2.4.5, VS2012 Ultimate

My install directory is C:\opencv\opencv\ (i did not build not interested in that now)

And my VS2012 settings are this:

C/C++

General

Additional include directories: C:\opencv\opencv\modules\core\include;C:\opencv\opencv\modules\video\include;C:\opencv\opencv\modules\highgui\include;C:\opencv\opencv\modules\imgproc\include;C:\opencv\opencv\modules\highgui\src;C:\opencv\opencv\modules\highgui\src;

Linker

Input: opencv_calib3d245d.lib;opencv_contrib245d.lib;opencv_core245d.lib;opencv_features2d245d.lib;opencv_flann245d.lib;opencv_gpu245d.lib;opencv_highgui245d.lib;opencv_imgproc245d.lib;opencv_legacy245d.lib;opencv_ml245d.lib;opencv_nonfree245d.lib;opencv_objdetect245d.lib;opencv_photo245d.lib;opencv_stitching245d.lib;opencv_ts245d.lib;opencv_video245d.lib;opencv_videostab245d.lib;%(AdditionalDependencies)

Additional Lib Directories:C:\opencv\opencv\build\x64\vc11\lib

Link Lib Dependencies: Yes

Use Lib Dependency input : Yes