[GH-ISSUE #15] The "native VFW implementation on Windows" binary doesn't seem to work #13

Open
opened 2026-03-02 04:08:44 +03:00 by kerem · 5 comments
Owner

Originally created by @fireattack on GitHub (Apr 24, 2019).
Original GitHub issue: https://github.com/gen2brain/cam2ip/issues/15

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!

Originally created by @fireattack on GitHub (Apr 24, 2019). Original GitHub issue: https://github.com/gen2brain/cam2ip/issues/15 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!
Author
Owner

@fireattack commented on GitHub (Apr 24, 2019):

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.

<!-- gh-comment-id:486397632 --> @fireattack commented on GitHub (Apr 24, 2019): 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.
Author
Owner

@gen2brain commented on GitHub (Apr 30, 2019):

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.

<!-- gh-comment-id:488100725 --> @gen2brain commented on GitHub (Apr 30, 2019): 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.
Author
Owner

@Xart3mis commented on GitHub (Nov 2, 2022):

same issue here

<!-- gh-comment-id:1301283346 --> @Xart3mis commented on GitHub (Nov 2, 2022): same issue here
Author
Owner

@ricolk commented on GitHub (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.

<!-- gh-comment-id:1396233644 --> @ricolk commented on GitHub (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](https://user-images.githubusercontent.com/41521602/213318095-4cae702f-e349-41a7-8ee1-94ff67843bde.png) Restarting the binary, it works for a single frame only.
Author
Owner

@exxxt4zy commented on GitHub (Oct 8, 2023):

use cv2 version

<!-- gh-comment-id:1752127795 --> @exxxt4zy commented on GitHub (Oct 8, 2023): use cv2 version
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cam2ip#13
No description provided.