Skip to content

EncodeSpec

ts
type EncodeSpec = object;

Defined in: server/config/options.ts:105 ↗

Configures transformation to use when encoding.

Properties

blur?

ts
optional blur: number;

Defined in: server/config/options.ts:115 ↗

Apply blur with intensity in 0.0 to 1.0 range.


codec?

ts
optional codec: string;

Defined in: server/config/options.ts:109 ↗

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


ext

ts
ext: string;

Defined in: server/config/options.ts:107 ↗

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


scale?

ts
optional scale: number;

Defined in: server/config/options.ts:113 ↗

Scale to the specified ratio preserving the aspect.


select?

ts
optional select: number;

Defined in: server/config/options.ts:111 ↗

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