Giter Club home page Giter Club logo

Comments (3)

zshn25 avatar zshn25 commented on June 11, 2024

Same, Please help. It says Can't open Video!. I'm using VS2013. I guess this program doesn't reqquire OpenCV2.4 to be installed. I have OpenCV3.0 by the way.
image

I tried to use cv::VideoCapture capture("dataset/video.avi"); instead of CvCapture *capture = 0; capture = cvCaptureFromAVI("dataset/video.avi");. But, I get this error

IntelliSense: no suitable conversion function from "cv::VideoCapture" to "CvCapture *" exists

Edit: I tweaked a bit and the above error is gone. But, I still can't read the video file. Tried using other video sources but in vain.

from simple_vehicle_counting.

aubryll avatar aubryll commented on June 11, 2024

download klite, it comes with alll necessary codecs, I had the same issue too until i installed klite

from simple_vehicle_counting.

andrewssobral avatar andrewssobral commented on June 11, 2024

Hi @seekerquoc and @zshn25 , sorry for my long delayed response, I was on vacation. Please copy and past the opencv_ffmpeg2410.dll (for OpenCV 2.4.10) or related file for OpenCV3 in your project folder. Another solution is to put the OpenCV bin folder in your system path. Please, let me know if the problem persists. (and check if all necessary codecs are installed, as @aubryll said).

from simple_vehicle_counting.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.