Hi all, I just installed a BT848-based framegrabber and am using libbgrab 2.1 to grab images. The framegrabber is recognized by the example program testgrab.c but I have some problems viewing the grabbed images using xutil. The error msg I'm receiving upon running testgrab is "No visual matched". That is traced to the xutil.c source in the setup_xwinbuffer() function. It seems no X visual can be found to display the images. I've attached my short testgrab2.c code - perhaps someone could spot the problem with it with more ease than me. I'm just trying to grab 8-bit greyscale images from an NTSC video source and display them to ensure that the images are properly acquired. Thanks. Rum __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
Attachment:
testgrab2.c
Description: testgrab2.c