Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The "native VFW implementation on Windows" binary doesn't seem to work #15

Open
fireattack opened this issue Apr 24, 2019 · 5 comments
Open

Comments

@fireattack
Copy link

fireattack commented Apr 24, 2019

I tried both "cam2ip-1.5-64bit.zip" and "cam2ip-1.5-32bit.zip" version on 4 different computers (2 Win 7 & 2 Win10, all 64-bit) with USB cameras from various vendors, none of them work.

The symptom is: the program started fine, and the camera would be activated for a second and then it immediately went off.

There is no apparent error on the console, until you open http://localhost:56000/mjpeg, when it will start to throw 2019/04/24 14:34:28 mjpeg: read: camera: can not retrieve frame: EOF errors constantly.

The "cam2ip-1.5-64bit-cv2.zip" version works flawlessly.

It is not a big deal to me personally since I can just use CV2 version instead, but think developers may want to know this.

Thanks!

@fireattack
Copy link
Author

Small note: this is under my impression that users don't need to install anything additionally for " Video for Windows (VfW) framework" to run the binary - I didn't find anything to download for that, at least.

If this is not the case please correct me.

@gen2brain
Copy link
Owner

I only tested Video for Windows in VMs, both on Win7 and Win10. It is a very old API but is available via syscalls. Newer versions of Windows have some dll wrappers that wrap new technologies and APIs and make them available for VfW but I don't know all the details. I remember there was some tool from such wrappers to check and maybe enable? support, really not sure.

@Xart3mis
Copy link

Xart3mis commented Nov 2, 2022

same issue here

@ricolk
Copy link

ricolk commented Jan 18, 2023

Also using cam2ip-1.6-64bit-cv, CV version on Win10, I can get only a frame with a http://localhost:56000/jpeg request.
After every further request I get this error message.

jpeg: read: camera: can not retrieve frame

image

Restarting the binary, it works for a single frame only.

@exxxt4zy
Copy link

exxxt4zy commented Oct 8, 2023

use cv2 version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants