View vwcapture
vwcapture is the filter for using VideoWrapper as the capture source. VideoWrapper provides support for Point Grey‘s excellent cameras and also for some other manufacturers.
Availability: only under Windows platforms
Parameters:
videostring - See below for examples. According to the Videowrapper page the format for Point Grey cameras is: “pgr: camNum width frameRate colorMode scale outputMode”
"pgr: 0 320 60 grey8 1 rgb",
"pgr: 0 640 30 grey8 1 rgb",
"pgr: 0 640 30 yuv 1 rgb",
// VidCapture (DirectShow)
"vc: 1 640 30 I420 0",
"vc: 0 640 15 rgb 0",
"vc: 0 320 10 rgb 0",
"vc: 0 320 30 yuv 0",
// DCAM
"dcam: 0 320 30 rgb 2",
"dcam: 0 640 30 rgb 2",
// Canon EOS
"eos: 0",
// replay string
"replay: c:\\savedVideo\\"
on the Mac platform:
"qt: 0 320 30 rgb rgb 2"
The entry for vwcapture in the filterchain element in config.xml could like this:
<vwcapture label="capture1">
<videostring value="pgr: 0 640 60 grey8 1 rgb" />
</vwcapture>
For more info on VideoWrapper, see VideoWrapper API page
back to Touchlib Config Information
Category:Touchlib Filters