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)
How to save a video in computer?
-
- Posts: 609
- Joined: Tue Mar 19, 2013 5:03 pm
Re: How to save a video in computer?
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.
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.
Dustin
Technical Support Engineer
OptiTrack | TrackIR | SmartNav
Technical Support Engineer
OptiTrack | TrackIR | SmartNav
Re: How to save a video in computer?
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
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?
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
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