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.3.420.0 (24.3.420.0)
Syntax public void StartRecording(
string fileDirectory,
string filePrefix,
CameraVideoFormat videoFormat,
int videoBitRate,
int videoFrameRate
)
Public Sub StartRecording (
fileDirectory As String,
filePrefix As String,
videoFormat As CameraVideoFormat,
videoBitRate As Integer,
videoFrameRate As Integer
)
public:
void StartRecording(
String^ fileDirectory,
String^ filePrefix,
CameraVideoFormat videoFormat,
int videoBitRate,
int videoFrameRate
)
member StartRecording :
fileDirectory : string *
filePrefix : string *
videoFormat : CameraVideoFormat *
videoBitRate : int *
videoFrameRate : int -> unit
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