Re: [libdc] 2.0.3 and juju: trouble with grab_color_image2
Capture and control API for IIDC compliant cameras
Brought to you by:
ddouxchamps,
gordp
From: David M. <dcm@MIT.EDU> - 2008-12-29 21:28:26
|
On Mon, 2008-12-29 at 15:02 -0500, David J. Schuller wrote: > Camera is a Sony DFW-X710. > I've played with these Sony cameras a few times -- as I recall they can be sluggish to respond to commands, and maybe that's what you are seeing here. Nevertheless, I'd like to fix libdc1394 so that we cope with it. > hard-set the video mode: > uint32_t selected_mode = DC1394_VIDEO_MODE_1024x768_YUV422; > > commented out the lines for > dc1394_video_set_mode and > dc1394_video_set_framerate > Why are you commenting out the dc1394_video_set_mode() command? Wouldn't that make the value of selected_mode mostly irrelevant? > schuller@titan> ./grab_new2 > Using camera with GUID 8004602000e09ae > libdc1394 warning: Warning: iso allocation not implemented yet for juju > drivers, using channel 0... > libdc1394 error: Generic failure: in dc1394_video_get_mode (control.c, > line 644): Could not get video format Could you run your program as: DC1394_DEBUG=1 ./grab_new2 and post the failed output to the list. Hopefully some additional useful details will be revealed. Thanks, David |