Ask Your Question

video opening problem

asked 2013-04-11 10:14:53 -0500

am gravatar image

Hello i am trying to read a avi file other files open when using the same program and they work fine. Also this file open when used exe of the program but wont run inside visual studio while getting this error error opening file cap_ffmpeg_impl.hpp can someone plz help me

edit retag flag offensive close merge delete


Did you used the command line parameter to read your video? (basically argv[1]) In this case, you have to specify the path to the video inside Visual Editor.

Mathieu Barnachon gravatar imageMathieu Barnachon ( 2013-04-11 10:28:19 -0500 )edit

no i read it inside main with full path

am gravatar imageam ( 2013-04-12 03:25:22 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-04-12 03:29:44 -0500

Do you use openCV 2.4.5? The new downloadable code has had many updates concerning video problems and bugs that were fixed.

If that doesn't work go to the ffmpeg website and download the latest ffmpeg version. Install it manually and extract the newer libraries to the openCV folder, then build the library yourself.

edit flag offensive delete link more



off: StevenPuttemans' day ;) All actual answers are from you on my screen. 100 answers altogether. Keep on!

rics gravatar imagerics ( 2013-04-12 03:39:10 -0500 )edit

I have just finished a work project and was reading around topics. I am interested in solving problems, since it helps me to actually find solutions for my own problems. And it helps me to get more insight into the matter. Basically it will help me to write useful guides for this forum and the openCV website once I got spare time :)

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-12 03:46:25 -0500 )edit

i am new to opencv so can u plz explain how to manually install and extract libraries to opencv folder and then bilding the libraries. i sall be gratefull

am gravatar imageam ( 2013-04-12 04:30:18 -0500 )edit --> enter : build opencv -version- -operating system- --> click a link with a decent guide. I am not going to copy these guides into the answering section. This is a forum that motivates people to go head on with their problem, so please try and ask help if you need it, after you have tried it.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-12 04:32:09 -0500 )edit

i am not able to find a guide

am gravatar imageam ( 2013-04-12 04:43:22 -0500 )edit

since you are doing no effort, this is my last post in your topic. If you want any more help, you will need to depend on others. You are placing no effort at all in this ...

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-12 04:48:54 -0500 )edit

Question Tools


Asked: 2013-04-11 10:14:53 -0500

Seen: 247 times

Last updated: Apr 12 '13