Page 1 of 1

How to save a video in computer?

Posted: Mon Nov 30, 2015 2:02 am
by SKY
I bought a camera, optitrack prime 17w.
And I downloaded a camera SDK and adjusted FPS, exposure.
But I have to save a video to file in my computer T^T Optitrack's Camera SDK include only video viewer without saving.
Could you let me know how to save a video(on window pop-up) to file????????
any extension is OK(avi,mp4,gif)

Re: How to save a video in computer?

Posted: Mon Nov 30, 2015 1:54 pm
by NaturalPoint-Dustin
Hello,

Our Camera SDK does not save videos. However, it does provide camera frame data. Converting the individual frames into a video is possible. We do not offer support for this process.

Re: How to save a video in computer?

Posted: Wed Dec 02, 2015 2:33 am
by SKY
How to get camera frame data?
If I can't save a video, I want to save each camera frame into file.
Could you let me know these function of getting camera frame data?? specific code or function or something....TTT

Re: How to save a video in computer?

Posted: Thu Dec 03, 2015 11:56 am
by beckdo
I would suggest starting with the MJPEGViewer sample application. It demonstrates setting up the camera for video and rasterizing each frame to memory.

From there, I would suggest finding an image library that will save the image to a file. I would suggest http://libjpeg.sourceforge.net/. Then output JPEG images.

For creation of the video I would suggest downloading ffmpeg. It compiles images into a video very easily from the command line. https://www.ffmpeg.org/

Thx,
Doug