ScreencastOptions
Namespace: PuppeteerSharp
public class ScreencastOptionsOptions for ScreencastAsync(ScreencastOptions).
Inheritance: object
Properties
Section titled “Properties”Colors
Section titled “Colors”public int? Colors { get; set; }Specifies the maximum number of palette colors to quantize.
Value: int?
public BoundingBox Crop { get; set; }Specifies the region of the viewport to crop.
Value: BoundingBox
public int? Delay { get; set; }Specifies the delay between iterations of a loop, in ms.
Value: int?
FfmpegPath
Section titled “FfmpegPath”public string FfmpegPath { get; set; }Path to the ffmpeg executable. Required if ffmpeg is not in your PATH.
Value: string
Format
Section titled “Format”public string Format { get; set; }Specifies the output video format.
Value: string
public int? Fps { get; set; }Specifies the frame rate in frames per second.
Value: int?
public double? Loop { get; set; }Specifies the number of times to loop playback.
Value: double?
Overwrite
Section titled “Overwrite”public bool? Overwrite { get; set; }Specifies whether to overwrite the output file if it already exists.
Defaults to true. When false, an existing file causes an IOException.
Value: bool?
public string Path { get; set; }File path to save the screencast to.
Value: string
Quality
Section titled “Quality”public int? Quality { get; set; }Specifies the recording quality (Constant Rate Factor between 0-63).
Value: int?
public decimal? Scale { get; set; }Scales the output video. For example, 0.5 will shrink the width and height of the output video by half. 2 will double the width and height of the output video.
Value: decimal?
public decimal? Speed { get; set; }Specifies the speed to record at. For example, 0.5 will slowdown the output video by 50%. 2 will double the speed of the output video.
Value: decimal?
Made with love by Dario Kondratiuk