|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#16
|
||||
|
||||
|
Re: Recording with the Camera
We were able to save video from the camera to the crio's 2GBish drive, and then copy it to a computer and assemble it into a avi on a laptop. in the code we used imaqSaveImage or imaqWriteImage (look in nivision.h) to save to a folder, and just ftp'ed to ftp://10.xx.yy.2/ and copied it off after matches. we used a simple C# program that i wrote to play it back, and vidshot capture to save it to avi. here are some of ours:
http://thecatattack.org/VOB/Practice...ilermaker2009/ http://thecatattack.org/VOB/Practice...ilermaker2009/ http://thecatattack.org/VOB/Match4Boilermaker2009/ |
|
#17
|
|
you can make the videos directly on the cRio
(it probably takes more space to store though) AVISession imaqCreateAVI(const char* fileName, const char* compressionFilter, int quality, unsigned int framesPerSecond, unsigned int maxDataSize); int imaqWriteAVIFrame(Image* image, AVISession session, const void* data, unsigned int dataLength); int imaqCloseAVI(AVISession session); |
|
#18
|
|||
|
|||
|
Re: Recording with the Camera
Quote:
Greg McKaskle |
|
#19
|
|
|
Quote:
just throwing around ideas, as i have enough time to sift through the huge NIvision.h (Really 200 defines, 150 typedefs and 50 functions in 1 file ) i think NI should refactor that thing i did have ours take pictures when a button was pushed on the joystick though (image taken at LA regional during camera calibration time) |
|
#20
|
||||
|
||||
|
Re: Recording with the Camera
Quote:
http://decibel.ni.com/content/thread/2473?tstart=30 Quote:
Last edited by byteit101 : 06-07-2009 at 14:21. |
|
#21
|
|||
|
|||
|
Re: Recording with the Camera
The AVI stuff will work on a desktop development computer running Windows. It will not work on the PPC cRIO running vxWorks.
The second part about choppy is valid, but the times listed aren't. The camera will not return images faster than one every 33ms, and even that is dependent upon the lighting, size, etc. I'm not that knowledgeable of codecs for video encoding. Ideally, you'd select one that allows for arbitrary timings on the frames. I'm not sure which support that. Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with the camera | frcchile | NI LabVIEW | 5 | 11-02-2009 20:20 |
| PROBLEMS WITH THE CAMERA | RDD | Programming | 2 | 18-02-2007 15:12 |
| problems mounting the camera to the 'bot with the default servo/mount set up | Redneck | Programming | 0 | 16-02-2005 20:53 |
| I need help with the camera | WesleyBalmer | Programming | 7 | 15-01-2005 17:25 |
| Problem with recording, help | Animentor | 3D Animation and Competition | 2 | 22-01-2003 18:21 |