pwc
[Top] [All Lists]

[pwc] pwc problems

To:
Subject: [pwc] pwc problems
From:
Date: Thu, 16 Jun 2005 10:00:17 +0200 (MEST)
Hallo everyone,

I have a problem by using the Phillips ToUcam Pro II. I would like to get a
connection from this webcam to an other Program. 
By calling the function:

(ioctl(videoFid,VIDIOCMCAPTURE, &gb[(frameCounter)%2]) 

I receive a value of -1 from the function above  with the error message
"invalid argument".
The values of this function are:

videoFid=10, what I guess is somthing like the channel,
VIDIOCAPTURE=1074830627 , which is a const. and specify the ioctl().
gb contains the information about the width and height, which are set to
160x120 and the format which is set to 4 which means an Video_Palette_RGB24.
The frameCounter is always set to 0 and so gdb[0]=4 the format.


This call gives me the right value back if I use an other Kamera connected
to an Haupauge TV Card. Withthis device the call is ok. And the only value
that changes is videoFid. VideoFid in this case is 9 and in gb the values of
width and height: 120x160. 

  

Thanks for any help

-- 
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU