ClonerAlliance Capture SDK

Examples

Demo

The sample application is windows GUI, developed with VS2010. It displays SDK’s using method in detail.

https://static.cloner-alliance.com/image/kb/manual_ClonerAlliance-Capture-SDK-2.png

Preview

Device

Capture device list, it will refresh when the device is plugged.

Capacity

Device capacity list.

Render

Render engine selection in the process of previewing the video.

Volume

Volume adjustment in the process of previewing. It won’t affect the recording volume.

Open

Turn on the device and begin to preview.

Close

Turn off the device and stop previewing.

Full screen

Fullscreen preview.

Record

Width

The width of the recording file <= 1920

Height

The height of the recording file <=1080

FPS

The FPS of the recording file <=60

Bitrate

The bitrate of the recording file <=20

Format

select the audio and file format.

Engine

Select H264 encoder engine. Libx264 means that it doesn’t support hardware acceleration function.

Speed

Encoder speed. The bigger the value is, the slower the speed is.

Start

Start recording. Please input the file name first.

Pause

Pause recording.

Stop

Stop recording.

Screenshot

Shot

Screenshot

GIF

gif file

Register

Register

Display registration window. It will check and remind if it is registered.

Un-register

unregister and delete the code information.

DemoCLI

The control program displays how the MP4 files are recorded in background program. At the same time, the control program can also be invoked by other applications to finish recording tasks, like realizing schedule recording in script language or java language.

https://static.cloner-alliance.com/image/kb/manual_ClonerAlliance-Capture-SDK-3.png

Search and list device name

demoCLI –devicelist

Search and list device ability

demoCLI –device xxx –capacity list
  • xxx stands for the device name.

Use the default setting to record

demoCLI –device xxx –outfile yyy
  • xxx stands for device name.

  • yyy stands for MP4 file name.

Customized format recording

demoCLI --device xxx --capacity yyy --width 1920 --height 1080 --fps 30 --duration 10 --speed 1  --outfile zzz
  • xxx stands for device name.

  • yyy stands for device capability.

  • zzz stands for MP4 file name.