Re: [libdc] Frame Capturing
Capture and control API for IIDC compliant cameras
Brought to you by:
ddouxchamps,
gordp
From: Michael J. <mjo...@gm...> - 2010-12-08 12:51:56
|
If you want you can send me this source and I can check what I get with my dc camera. 2010/12/8 Josh Nijenhuis <jo...@ni...> > yes with > fclose(imagefile); > > i get files just look weird, i can upload one tomorrow i have to go home, > > thanks for the reply i will elaborate more on this also, sorry for the > rush question > > On 12/07/2010 07:09 AM, Michael Joachimiak wrote: > > Do you close your files? > > > > 2010/12/6 Josh Nijenhuis <jo...@ni... <mailto:jo...@ni...>> > > > > Ok having some problems that i cant seem to figure out > > > > I am trying to save to an ppm image with > > > > fprintf(imagefile,"P%u\n#Created by Filmer\n%d %d\n%u\n", 6, > > frameWidth, frameHeight, 255); // Copied example in thread_save.c in > > coriander > > fwrite(outputBuffer.frame_ptr(), 3 * frameWidth * frameHeight, > 1, > > imagefile); > > > > I am capturing with DC1394_COLOR_CODING_YUV422 1280x960, this get > > converted to RGB, and I test for that with > > outputBuffer.frame_ptr()->color_coding == DC1394_COLOR_CODING_RGB8 > and > > get TRUE, int frameWidth = outputBuffer.frame_ptr()->size[0]; int > > frameHeight = outputBuffer.frame_ptr()->size[1]; are set correctly > > > > I get an image write out but no matter what I do, I can't get it > > right, > > in my other program it worked but the image size was 3.5MB and now > > its 2.4MB > > > > If you need an image sample please email me and i will email you one > > directly. > > > > Any clues for me? > > > > Thanks > > > > > > > ------------------------------------------------------------------------------ > > What happens now with your Lotus Notes apps - do you make another > > costly > > upgrade, or settle for being marooned without product support? > > Time to move > > off Lotus Notes and onto the cloud with Force.com, apps are easier > > to build, > > use, and manage than apps on traditional platforms. Sign up for > > the Lotus > > Notes Migration Kit to learn more. > http://p.sf.net/sfu/salesforce-d2d > > _______________________________________________ > > Mailing list for libdc1394-devel > > lib...@li... > > <mailto:lib...@li...> > > https://lists.sourceforge.net/lists/listinfo/libdc1394-devel > > > > > > > > > > -- > > Your Sincerely > > Michael Joachimiak > > > > > > > ------------------------------------------------------------------------------ > > What happens now with your Lotus Notes apps - do you make another costly > > upgrade, or settle for being marooned without product support? Time to > move > > off Lotus Notes and onto the cloud with Force.com, apps are easier to > build, > > use, and manage than apps on traditional platforms. Sign up for the Lotus > > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d > > > > > > _______________________________________________ > > Mailing list for libdc1394-devel > > lib...@li... > > https://lists.sourceforge.net/lists/listinfo/libdc1394-devel > > > > > ------------------------------------------------------------------------------ > What happens now with your Lotus Notes apps - do you make another costly > upgrade, or settle for being marooned without product support? Time to move > off Lotus Notes and onto the cloud with Force.com, apps are easier to > build, > use, and manage than apps on traditional platforms. Sign up for the Lotus > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d > _______________________________________________ > Mailing list for libdc1394-devel > lib...@li... > https://lists.sourceforge.net/lists/listinfo/libdc1394-devel > -- Your Sincerely Michael Joachimiak |