Specify the aspect ratio of the video. Default value is 4:3.
default
4:3
OptionalReadonly autopad?: { color?: string }
name
autopad
member
PuppeteerScreenRecorderOptions
description
Specify whether autopad option is used and its color. Default to autopad deactivation mode.
Optional color?: string
OptionalReadonly ffmpeg_Path?: string | null
name
ffmpeg_Path
member
PuppeteerScreenRecorderOptions
description
String value pointing to the installation of FFMPEG. Default is null (Automatically install the FFMPEG and use it).
default
null
Readonly followNewTab: boolean
name
followNewTab
member
PuppeteerScreenRecorderOptions
description
Boolean value which is indicate whether to follow the tab or not. Default value is true.
default
true
OptionalReadonly format?: "jpeg" | "png"
name
format
member
PuppeteerScreenRecorderOptions
description
specify the format for recording the video
default
jpeg
OptionalReadonly fps?: number
name
fps
member
PuppeteerScreenRecorderOptions
description
Numeric value which denotes no.of Frames per second in which the video should be recorded. default value is 25.
default
25
OptionalReadonly quality?: number
name
quality
member
PuppeteerScreenRecorderOptions
description
Numeric value which denotes no.of quality of individual frame captured by chrome. Value accepted 0 - 100. 100 denotes the highest quality and 0 denotes the lowest quality
default
100
OptionalReadonly recordDurationLimit?: number
name
recordDurationLimit
member
PuppeteerScreenRecorderOptions
description
Numerical value specify duration (in seconds) to record the video. By default video is recorded till stop method is invoked`. (Note: It's mandatory to invoke Stop() method even if this value is set)
OptionalReadonly videoBitrate?: number
name
videoBitrate
member
PuppeteerScreenRecorderOptions
description
Specify the target bitrate of the final video file in bits/s. The default value is 1000.
OptionalReadonly videoCodec?: string
name
videoCodec
member
PuppeteerScreenRecorderOptions
description
Specify the codec used by FFMPEG when creating the final video file. The default value is libx264.
OptionalReadonly videoCrf?: number
name
videoCrf
member
PuppeteerScreenRecorderOptions
description
Specify the crf of the final video file. The default value is 23.
OptionalReadonly videoFrame?: { height: number | null; width: number | null }
name
videoFrame
member
PuppeteerScreenRecorderOptions
description
An object which is to specify the width and height of the capturing video frame. Default to browser viewport size.
height: number | null
width: number | null
OptionalReadonly videoPixelFormat?: string
name
videoPixelFormat
member
PuppeteerScreenRecorderOptions
description
Specify the pixel format to use when encoding the video file. The default value is 'yuv420p'.
OptionalReadonly videoPreset?: string
name
videoPreset
member
PuppeteerScreenRecorderOptions
description
Specify the preset to use when encoding the video file. The default value is 'ultrafast'.
aspectRatio
PuppeteerScreenRecorderOptions
Specify the aspect ratio of the video. Default value is 4:3.
4:3