Skip to content

EncodeSpec

ts
type EncodeSpec: object;

Configures transformation to use when encoding.

Type declaration

blur?

ts
optional blur: number;

Apply blur with intensity in 0.0 to 1.0 range.

codec?

ts
optional codec: string;

Video codec to use; detects automatically based on container when not specified.

ext

ts
ext: string;

Media container to use in format of out file extension, w/o dot; eg, mp4.

scale?

ts
optional scale: number;

Scale to the specified ratio preserving the aspect.

select?

ts
optional select: number;

Select frame with specified index (0-based) instead of encoding full stream.

Source

server/config/options.ts:105 ↗