Invoke SDK Library file in your project
Example c++ code:
#include "C:\Program Files(x86)\ClonerAlliance Capture SDK\include\ACaptureLib.h"
#pragma comment(lib,"C:\Program Files(x86)\ClonerAlliance Capture SDK\lib\ACaptureLib.lib")
Use SDK API to complete your software
Copy the files in the directory of C:\Program Files(x86)\ClonerAlliance Capture SDK\bin
to your output directory.
Run and debug your application.
Please use the SDK per the steps below:
Initialize library -> Open the device -> Start recording ->Stop recording ->Close the device -> Release library
Change the setting of the device. Please restart your device if you adjust the preview video setting.
If you want to adjust the recording setting, please stop recording first.
For more details, please refer to demo Examples program.
The settings related to video quality are below:
Fps:We recommend to select 60fps to reduce video freeze issue.
Bitrate: We recommend to select 10M bitrate which can save the most of the details.
Speed:Compression speed is the main video quality setting. The higher the value is, the quality is better, but the compression speed is slower. You need an excellent CPU computer to realize it.
In addition, the device’s output is also a factor to affect video quality. YUY2’s quality is better than MJPG.
When developers finish all setting and want to release the software, it can be packed the files in C:\Program Files(x86)\ClonerAlliance Capture SDK\bin
and public directly. Please note that each version needs to use different code to register. To be specific, each version needs a new code to register. Or the code will be invalid.
The steps of registering API:
Initialize library(API:Initialize)-> Register(API:CA_Register)->Release library(API:CA_Release)
You just need to register once, it will record your registration information automatically. You don’t need to register again.
GPU acceleration encoder engine includes cudax26, amdx264, and interx264. Please install the latest video card driver, then you can select accordingly.