Ask Your Question
0

To contribute, want to know how the VideoCapture works.

asked 2016-02-04 04:13:00 -0600

Dear sir or madam.

I'm wondering how the "videocapture" function works

I would like to contribute about these kind of video input output things ( i don't know yet whether they are optimized or not).

so i have tried to check their implementation code but,

actually this is my first time, so i can't recognize what is the code for VideoCapture function.

of course, i m checking video input output module (not video module)

and also src and include files

in include files, definitely, all of them are just interfaces.

and among many source files,

cap.cpp seems like implementation file but i think it also needs other files....

For example, they use some functions that are not implemented in themselves.

so i checked what they include,

precomp.hpp cap_intelperc.hpp cap_dshow.hpp

but these are not also the answer

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-02-04 04:35:41 -0600

cap.cpp has the main video capture/output interface. It basically selects what backend interface should be used. Then from that file the corresponding cap_<technique>.cpp file is called. It is quite straightforward...

edit flag offensive delete link more

Comments

1

oh ... so straightforward.. thank you! -_-;

aloefreshman gravatar imagealoefreshman ( 2016-02-04 22:35:33 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-02-04 04:13:00 -0600

Seen: 147 times

Last updated: Feb 04 '16