Constructors
constructor
- new VideoWriter(filePath, fourccCode, fps, frameSize, isColor?): VideoWriter
Parameters
filePath: string
fourccCode: number
fps: number
frameSize: Size
Optional
isColor: boolean
Methods
get
- get(property): void
Returns void
release
- release(): void
Returns void
set
- set(property, value): void
Parameters
property: number
value: number
Returns void
write
- write(img): void
Returns void
writeAsync
- writeAsync(img): Promise<void>
Returns Promise<void>
- writeAsync(img, callback): void
Returns void
Static
fourcc
- fourcc(fourcc): number
Returns number