fbvideoclass (Windows 32/64-bit)

For issues with communication ports, protocols, etc.
Stonemonkey
Posts: 598
Joined: Jun 09, 2005 0:08

Re: fbvideoclass (Windows 32/64-bit)

Postby Stonemonkey » Jan 03, 2020 19:13

@Joshy thanks, I've installed the 32 bit compiler now and im_capture is working on that, both streams and not too much lag but I'm not sure how my project will work with even a little lag, might just end up with motion sickness or something.
D.J.Peters
Posts: 7945
Joined: May 28, 2005 3:28

Re: fbvideoclass (Windows 32/64-bit)

Postby D.J.Peters » Jan 03, 2020 19:58

I downloaded the mingw 32/64-bit im dll's from here: https://sourceforge.net/projects/imtool ... s/Dynamic/
but there isn't any 32/64-bit im_capture.dll anymore !

I will google for it !

Joshy
D.J.Peters
Posts: 7945
Joined: May 28, 2005 3:28

Re: fbvideoclass (Windows 32/64-bit)

Postby D.J.Peters » Jan 03, 2020 20:00

here is the 64-bit version of im_capture.dll included in: https://sourceforge.net/projects/imtool ... p/download

But the 32-bit assembler stuff must be changed !

Joshy
D.J.Peters
Posts: 7945
Joined: May 28, 2005 3:28

Re: fbvideoclass (Windows 32/64-bit)

Postby D.J.Peters » Jan 03, 2020 21:01

I don't get it on Windows 64-bit I downloaded ESCAPI V3.0 (32/64-bit) https://sol.gfxile.net/escapi/index.html also.

The device manager shows the connected USB cameras and the Windows 10 camera app (64-bit) works OK.

im_capture.dll 64-bit and escapi.dll 64-bit enumerate the device names of my cameras but opening the devices fails !

Sorry I don't know why :-(

Joshy
Stonemonkey
Posts: 598
Joined: Jun 09, 2005 0:08

Re: fbvideoclass (Windows 32/64-bit)

Postby Stonemonkey » Jan 03, 2020 23:32

Thanks, and no worries, I can do it in 32 bit, it's just a test to see what sort of results I can get.
Got some coloured LEDs ordered, but now wondering if IR might be better, tried out an LED light and it results in bad reflection off screen, and with an IR pass filter it would be easier to track.
D.J.Peters
Posts: 7945
Joined: May 28, 2005 3:28

Re: fbvideoclass (Windows 32/64-bit)

Postby D.J.Peters » Jan 05, 2020 17:09

I don't understand the differences between Video capturing 32-bit vs 64-bit on Windows 10 64-bit !

My posted Video Class is "normal" windows API code and should work with both FreeBASIC 32 and 64-bit.

I found out the VLC player 64-bit list my USB cameras also but can't open or use it !
Same with "im_cpture.dll" (64-bit) and "escapi.dll" (64-bit) and my FreeBASIC video class (64-bit).

Normaly I never give up and solve any coding problem's but in this windows 10 64-bit case I don't see the problem.

I tryed to open the devices as admin also without success but again the windows 10 video app works with my devices/drivers !

May be there are a none documented "trick/flag" to open old 32-bit devices in 64-bit mode !

Joshy
Stonemonkey
Posts: 598
Joined: Jun 09, 2005 0:08

Re: fbvideoclass (Windows 32/64-bit)

Postby Stonemonkey » Jan 05, 2020 19:36

I have something kind of working now (in 32bit) and the effect is quite good even though its all pretty rough so far. The lag to the screen is there but it's not too bad but there seems to be a slight lag between the cameras, so when triangulating head position if I move my head to one side it thinks I'm also moving forward and if I move my head to the other side it thinks I'm also moving backwards.
Do you know if I could have 2 threads running to capture from each camera and trigger them simultaneously? (I don't know much about multi threading or video devices)
D.J.Peters
Posts: 7945
Joined: May 28, 2005 3:28

Re: fbvideoclass (Windows 32/64-bit)

Postby D.J.Peters » Jan 15, 2020 14:45

No once here gave me a hint !

To allow FreeBASIC or VLC to access all my capture devices
I must enable in the Windows 10 data security settings
camera access for "other apps" thats all ;-)

With other words camera access for the Windows OS camera app was enabled by default !

Joshy

edit: New upload see first post !

Return to “Hardware Interfaces / Communication”

Who is online

Users browsing this forum: No registered users and 1 guest