Author Topic: Webcam Support for OS/2 and eCS!!  (Read 145127 times)

David McKenna

  • Hero Member
  • *****
  • Posts: 742
  • Karma: +24/-0
    • View Profile
Re: Webcam Support for OS/2 and eCS!!
« Reply #30 on: September 26, 2013, 11:20:35 pm »
Wim!

  Webview/Weblook works great here (Logitech C250)... even better than the apps that come with the driver. I can only use the 2 lowest res driver apps with my camera without freezing, but with weblook/webview I get full resolution and no freezing. What a blast...great job!

Regards,

Dave McKenna

Silvan Scherrer

  • Full Member
  • ***
  • Posts: 200
  • Karma: +1/-0
    • View Profile
Re: Webcam Support for OS/2 and eCS!!
« Reply #31 on: September 27, 2013, 02:38:21 pm »
Hi Silvan,

Thanks for the offer. Provide me with the output of lsusb from Paul Smedley for that camera.

https://dl.dropboxusercontent.com/u/76425158/lsusb-20130526.zip

lsusb -d 17ef:480f -v > 17ef480f.txt

Regards, Wim.

Wim,
find attached the output of the lsusb command
kind regards
Silvan
CTO bww bitwise works GmbH

Please help us with donations, so we can further work on OS/2 based projects. Our Shop is at https://www.bitwiseworks.com/shop/index.php

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Webcam Support for OS/2 and eCS!!
« Reply #32 on: September 28, 2013, 01:32:08 am »
glad lsusb is useful :)

Wim Brul

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: +25/-0
    • View Profile
    • Wim's home page
Re: Webcam Support for OS/2 and eCS!!
« Reply #33 on: September 28, 2013, 09:01:13 am »
lsusb (from Paul Smedley - the best - highly recommended for everyone)!

ivan

  • Hero Member
  • *****
  • Posts: 1557
  • Karma: +17/-0
    • View Profile
Re: Webcam Support for OS/2 and eCS!!
« Reply #34 on: September 28, 2013, 07:00:34 pm »
Paul, I have a problem using lsusb.exe.  It works when I use lsusb -h (it shoes the options) but when I try to do anything else I get the following:

[D:\utility]>lsusb -d 04b8:010c -v

Killed by SIGSEGV
pid=0x0076 ppid=0x006e tid=0x0001 slot=0x00b2 pri=0x0200 mc=0x0001
D:\UTILITY\LSUSB.EXE
LSUSB 0:0000f3b6
cs:eip=005b:0001f3b6      ss:esp=0053:0081ff30      ebp=0081ffa0
 ds=0053      es=0053      fs=150b      gs=0000     efl=00012246
eax=00000000 ebx=ffffffff ecx=ffffffff edx=00000000 edi=00000000 esi=0081ffbc
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

The usb.ids is in os2\bin as per your readme.os2 since this is a standard WSeB install.  I assume not finding the usb.ids is the problem so what di I need to do to make it do so?

Wim Brul

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: +25/-0
    • View Profile
    • Wim's home page
Re: Webcam Support for OS/2 and eCS!!
« Reply #35 on: September 29, 2013, 04:41:24 pm »
Hi Silvan,

According to your lsusb output, the camera in your T510 appears to be equal to the one in the X201T.
So try the yet untested http://home.hccnet.nl/w.m.brul/usbvideo/x201wv0.zip and see if it works for you.

Regards, Wim.

David McKenna

  • Hero Member
  • *****
  • Posts: 742
  • Karma: +24/-0
    • View Profile
Re: Webcam Support for OS/2 and eCS!!
« Reply #36 on: September 29, 2013, 06:13:25 pm »
 Has anyone tried Lars' new USB drivers (USBHCD196)? I get freezing in a few seconds with that driver when using weblook/webview. Going back to 195 all is well. Anyone else see that?

Silvan Scherrer

  • Full Member
  • ***
  • Posts: 200
  • Karma: +1/-0
    • View Profile
Re: Webcam Support for OS/2 and eCS!!
« Reply #37 on: September 30, 2013, 12:29:45 pm »
Hi Silvan,

According to your lsusb output, the camera in your T510 appears to be equal to the one in the X201T.
So try the yet untested http://home.hccnet.nl/w.m.brul/usbvideo/x201wv0.zip and see if it works for you.

Regards, Wim.
Wim,

i just tried it. Weblook starts and the camera light goes on. Webview also starts but i only see a black screen.
I started both apps on the T510 w/o parameters.

regards
Silvan
kind regards
Silvan
CTO bww bitwise works GmbH

Please help us with donations, so we can further work on OS/2 based projects. Our Shop is at https://www.bitwiseworks.com/shop/index.php

ydario

  • Guest
Re: Webcam Support for OS/2 and eCS!!
« Reply #38 on: September 30, 2013, 12:55:33 pm »
I compared the descriptor of my Logitech C250 with the descriptor of your Logitech C200 and they are the same.
So try C250WV0.ZIP since it should ;) work with your camera too.

works only for lower resolutions and for a short amount of time... seems some kind of buffer size because lower resolution works longer.

thanks,

Yuri

Wim Brul

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: +25/-0
    • View Profile
    • Wim's home page
Re: Webcam Support for OS/2 and eCS!!
« Reply #39 on: October 03, 2013, 04:49:34 pm »
Hi Silvan,

According to your lsusb output, the camera in your T510 appears to be equal to the one in the X201T.
So try the yet untested http://home.hccnet.nl/w.m.brul/usbvideo/x201wv0.zip and see if it works for you.

Regards, Wim.
Wim,

i just tried it. Weblook starts and the camera light goes on. Webview also starts but i only see a black screen.
I started both apps on the T510 w/o parameters.

regards
Silvan
Hi Silvan,

Alas,  your camera needs more buffers to to work. Some other tester (the one with the X201) had the same result. He tested also http://home.hccnet.nl/w.m.brul/usbvideo/x201tc.zip and those programs did not work either. You might try these as well.

Wim.

Wim Brul

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: +25/-0
    • View Profile
    • Wim's home page
Re: Webcam Support for OS/2 and eCS!!
« Reply #40 on: October 03, 2013, 04:59:10 pm »
I compared the descriptor of my Logitech C250 with the descriptor of your Logitech C200 and they are the same.
So try C250WV0.ZIP since it should ;) work with your camera too.

works only for lower resolutions and for a short amount of time... seems some kind of buffer size because lower resolution works longer.

thanks,

Yuri
Hi Yuri,

The weblook and webview programs in C250WV0.ZIP obtain an MJPG stream whereas the programs in C250TC.ZIP obtain a YUYV stream. Reading your comment 8) I get the impression that you did not even try.

Wim.
« Last Edit: October 07, 2013, 11:57:37 am by Wim Brul »

Silvan Scherrer

  • Full Member
  • ***
  • Posts: 200
  • Karma: +1/-0
    • View Profile
Re: Webcam Support for OS/2 and eCS!!
« Reply #41 on: October 04, 2013, 12:34:48 pm »

Hi Silvan,

Alas,  your camera needs more buffers to to work. Some other tester (the one with the X201) had the same result. He tested also http://home.hccnet.nl/w.m.brul/usbvideo/x201tc.zip and those programs did not work either. You might try these as well.

Wim.

Wim,

I just tried those. And with some exe's I can get some pictures. But only for some seconds before it freezes.

regards
Silvan
kind regards
Silvan
CTO bww bitwise works GmbH

Please help us with donations, so we can further work on OS/2 based projects. Our Shop is at https://www.bitwiseworks.com/shop/index.php

ydario

  • Guest
Re: Webcam Support for OS/2 and eCS!!
« Reply #42 on: October 07, 2013, 10:55:29 am »
Hi Wim,

Reading your comment 8) I get the impression that you did not even try.

you are right, I didn't try webview because I thought it was only a different way to show images, not also using a different stream.

I tested vweblook/webview, and I'm able to see a 320x240 stream for one or two minutes. I just noted that c250tc4 is supposed to show a 320x240 stream, but the PM window is only 160x120 (while webview has a 320x240 window).

Also I noted that other apps are usually freezing at startup while changing the luminance of the stream, e.g. first shot is darker then it gets lighter in smaller frame apps.

This with 10.195 drivers, I will test .196 on next boot.

thanks,

Yuri



Wim Brul

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: +25/-0
    • View Profile
    • Wim's home page
Re: Webcam Support for OS/2 and eCS!!
« Reply #43 on: October 07, 2013, 12:20:11 pm »
Hi Yuri,

I tested vweblook/webview, and I'm able to see a 320x240 stream for one or two minutes. I just noted that c250tc4 is supposed to show a 320x240 stream, but the PM window is only 160x120 (while webview has a 320x240 window).

The mjpg stream obtained by weblook is 640x480 and by default webview shows it as 320x240. When you maximize webview then it shows the 640x480 image in its full glory. Snapshots are always 640x480. Similarly, by default c250tc4 shows the 320x240 image as 160x120. Maximized it shows 320x240. Snapshots are always 320x240.

Quote
Also I noted that other apps are usually freezing at startup while changing the luminance of the stream, e.g. first shot is darker then it gets lighter in smaller frame apps.

The change of the luminance of the stream is done by the hardware in the Logitech C250 Webcam during streaming. If you would restart the same app then it would become lighter as well.

One important correction: I stated earlier in this thread that the programs in c250tc.zip work on my development computer with only usb 1.1 ports. This is definitely NOT true. These are high speed and high bandwidth only!

Regards, Wim.




 
« Last Edit: October 07, 2013, 06:50:32 pm by Wim Brul »

ydario

  • Guest
Re: Webcam Support for OS/2 and eCS!!
« Reply #44 on: October 12, 2013, 05:32:07 pm »
Hi Wim,

The mjpg stream obtained by weblook is 640x480 and by default webview shows it as 320x240. When you maximize webview then it shows the 640x480 image in its full glory. Snapshots are always 640x480. Similarly, by default c250tc4 shows the 320x240 image as 160x120. Maximized it shows 320x240. Snapshots are always 320x240.

ok, maximized window is working, I didn't try it before because window border was fixed. So 640x480 works with C200 too.

thanks,

Yuri