VideoOptions
typedef · Source
Options that can be passed to stream-playing methods: Type: Object
Properties
seek
optional
The time to seek to
Default: 0
fps
optional
Video fps
highWaterMark
optional
The maximum number of opus packets to make and store before they are actually needed. See https://nodejs.org/en/docs/guides/backpressuring-in-streams/. Setting this value to 1 means that changes in volume will be more instant.
Default: 12
presetH26x
optional
ffmpeg preset h264
Default: 'veryfast'
hwAccel
optional
Enables hardware accelerated video decoding. Enabling this option might result in an exception being thrown by Ffmpeg process if your system does not support hardware acceleration
Default: false
inputFFmpegArgs
optional
input ffmpeg Ex: ['-config1', 'value1', '-config2', 'value2']
outputFFmpegArgs
optional
output ffmpeg Ex: ['-config1', 'value1', '-config2', 'value2']
bitrate
optional
The bitrate (quality) of the video in kbps. If set to 'auto', ffmpeg will automatically select
Default: 2000