ScreencastOptions interface
Signature
export interface ScreencastOptions
Properties
|
Property |
Modifiers |
Type |
Description |
Default |
|---|---|---|---|---|
|
colors |
|
number |
Specifies the maximum number of palette colors to quantize, with GIF limited to |
|
|
crop |
|
Specifies the region of the viewport to crop. | ||
|
delay |
|
number |
Specifies the delay between iterations of a loop, in ms. |
|
|
ffmpegPath |
|
string |
Path to the ffmpeg. Required if |
|
|
format |
|
Specifies the output file format. |
| |
|
fps |
|
number |
Specifies the frame rate in frames per second. |
|
|
loop |
|
number |
Specifies the number of times to loop playback, from |
|
|
overwrite |
|
boolean |
Specifies whether to overwrite output file, or exit immediately if it already exists. |
|
|
path |
|
`${string}.${VideoFormat}` |
File path to save the screencast to. | |
|
quality |
|
number |
Specifies the recording quality Constant Rate Factor between |
|
|
scale |
|
number |
Scales the output video. For example, |
|
|
speed |
|
number |
Specifies the speed to record at. For example, |
|