Click or drag to resize

CameraVideoRecordingStartRecording Method (String, String, CameraVideoFormat, Int32, Int32)

Starts recording a video file at the specified bit and frame rate.

Namespace:  AGI.Foundation.Graphics.Advanced
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public void StartRecording(
	string fileDirectory,
	string filePrefix,
	CameraVideoFormat videoFormat,
	int videoBitRate,
	int videoFrameRate
)

Parameters

fileDirectory
Type: SystemString
The directory in which the video will be saved.
filePrefix
Type: SystemString
Used to create the filename of the video. This file prefix should not contain a file extension. The correct file extension will be added based on the specified videoFormat.
videoFormat
Type: AGI.Foundation.Graphics.AdvancedCameraVideoFormat
The file format for the video.
videoBitRate
Type: SystemInt32
A higher value will create larger files with better visual quality than a lower value that will create smaller files with poorer visual quality. A value of 5000 is a good starting point to judge the file size to visual quality trade-off.
videoFrameRate
Type: SystemInt32
The frame rate of the video in frames per second. A value of 30 is typical.
See Also