Ask Your Question
0

videocapture open 64 fails

asked 2014-10-20 13:30:59 -0600

Ropeburn gravatar image

updated 2014-10-20 13:33:13 -0600

How come the 64 bit compile of starter_video fails to open any of the webcams I have, yet the 32 bit compile has no problem seeing any of them? I'm on Windows 8 with VS 2012. Same behavior with OpenCV 2.4.5, 2.4.9 and 3.0 alpha. What gives?

edit retag flag offensive close merge delete

Comments

Did you change target window from x86 to 64 bit ?

FLY gravatar imageFLY ( 2014-10-20 13:41:39 -0600 )edit

I'm building both 32 bit and 64 bit systems with the Cmake generated solutions, so I'm not sure I understand what you are really asking. I've even included /DHAVE_DSHOW /DHAVE_VIDEOINPUT which has no effect.

Ropeburn gravatar imageRopeburn ( 2014-10-20 15:46:44 -0600 )edit

Anybody? Ideas?

Ropeburn gravatar imageRopeburn ( 2014-10-24 15:04:09 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-10-26 01:02:17 -0600

Have you compiled your x64 version of OpenCV with the WITH_DSHOW and (WITH_VFW and/or WITH_FFMPEG) cmake options? It might miss some of the decoders required to stream your webcam.

edit flag offensive delete link more

Comments

Yes, those are all checked. Did not resolve the issue. Thanks though. I am assuming that someone out there is using the 64bit version that they compiled.

Ropeburn gravatar imageRopeburn ( 2014-10-28 09:55:31 -0600 )edit
0

answered 2014-10-28 10:16:56 -0600

Ropeburn gravatar image

I just verified that the 'with' options are the same for the 32 and 64 bit compiles.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-10-20 13:30:59 -0600

Seen: 502 times

Last updated: Oct 28 '14