Webcam video capture on Windows and Linux?
Carsten A. Arnholm
arnholm at offline.no
Fri Apr 6 10:51:52 PDT 2007
Carsten A. Arnholm wrote:
> "John Labenski" wrote:
>> You can look at wxVidCap, it currently works well in MS Windows using
>> VFW and has some code to barely work in Linux using V4L2. I have not
>> finished the Linux side and won't have time to work on it anytime
>> soon, but you may find it to be a useful starting point. I would of
>> course welcome your code to complete it.
>>
>> http://wxcode.sourceforge.net/complist.php?compperpage=1000&viewmode=full&browseby=category§ion=graphics&page=1
>> You can get it from The sourceforge CVS respository.
>
> Ok, thanks a lot. I presume it is the same thing as "wxVideoCapture"
> in that link? I had to download each file manually (I am not familiar with
> CVS), but presumably I have it all now.
>
> As you say, this could be a useful starting point at least. I will
> have a look and maybe try it on Windows first, and then look at the linux
> port. I know VfW more or less but V4L2 is unknown territory.
For the record, I have looked at this now and it is a good reference, along
with others I found. A small problem was that it did too much so I had
difficulties following it :-) My need is limited to webcams only so I have
sort of "started from scratch" and made some shortcuts doing that. I now
have a very basic prototype running with streaming webcam video preview on
Windows (VfW) and Kubuntu (V4L2). I think it is a good start, but much too
early to share with others.
>>> Is it possible to access parallel or serial ports via wxWidgets?
>>
>> I think wxCTB does this.
>
> Thank you, that was perhaps the pointer I was looking for. I will
> look at that if and when I can get wxVidCap to work.
>
> I will let you know if I am successful and/or have modified code to
> contribute.
It looks like wxCTB does serial ports but not parallel ports. Although
serial ports would be ok for many, my devices (USB modified webcams using
parallel ports for long exposure control) need parallel port access.
Can I assume parallel port access is non-existent in wxWidgets? I can only
find references to people having thoughts about implementing it.
Best regards
Carsten A. Arnholm
http://arnholm.org/
N59.776 E10.457
More information about the wx-users
mailing list