Only one of those properties may be set: fontSize, fontSizeExpression.

Export

TextFilter

Hierarchy (view full)

Constructors

Properties

alpha?: number

If set, alpha blending for the text is applied. Values are valid between 0.0 and 1.0.

Memberof

TextFilter

borderWidth?: number

Width of the border around the text

Memberof

TextFilter

box?: boolean

If set to true a box is drawn around the text using the background color.

Memberof

TextFilter

boxBorderWidth?: number

The width of the box drawn around the text.

Memberof

TextFilter

boxColor?: string

The background color to be used for drawing the box.

Memberof

TextFilter

createdAt?: Date

Creation timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ

Memberof

BitmovinResource

customData?: {
    [key: string]: any;
}

User-specific meta data. This can hold anything.

Type declaration

  • [key: string]: any

Memberof

BitmovinResource

description?: string

Description of the resource. Can be freely chosen by the user.

Memberof

BitmovinResource

fixBounds?: boolean

If set to true, it will fix text coordinates to avoid clipping if necessary

Memberof

TextFilter

Memberof

TextFilter

fontColor?: string

The color to be used to draw the text

Memberof

TextFilter

fontSize?: number

Font size to be used to draw the text

Memberof

TextFilter

fontSizeExpression?: string

An expression for the Font size. Either fontSize or fontSizeExpression can be set at the same time. The following variables are valid: main_h, h, H for input height and main_w, w, W for the input_width

Memberof

TextFilter

id?: string

Id of the resource (required)

Memberof

BitmovinResponse

lineSpacing?: number

Line spacing of the border around the box in pixels

Memberof

TextFilter

modifiedAt?: Date

Modified timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ

Memberof

BitmovinResource

name?: string

Name of the resource. Can be freely chosen by the user.

Memberof

BitmovinResource

rate?: string

Video frame rate

Memberof

TextFilter

shadowColor?: string

Color of the shadow

Memberof

TextFilter

shadowX?: number

X offset of the shadow

Memberof

TextFilter

shadowY?: number

Y offset of the shadow

Memberof

TextFilter

text?: string

String to be drawn

Memberof

TextFilter

timecode?: string

If set, the timecode representation in "hh:mm:ss[:;.]ff" format will be applied. Drop-frame timecodes (containing ";" or ".") must only be used with video frame rates of 29.97, 30, 59.94 or 60 FPS, according to the SMPTE standard

Memberof

TextFilter

type: FilterType = FilterType.TEXT

Discriminator property for Filter

Memberof

TextFilter

x?: string

X position of the text. Also an expression can be used. The following variables are valid: line_h - height of each text line; main_h - input height; main_w - input width; n - number of input frame; text_h - Text height; text_w - Text width (required)

Memberof

TextFilter

y?: string

Y position of the text. Also an expression can be used. The following variables are valid: line_h - height of each text line; main_h - input height; main_w - input width; n - number of input frame; text_h - Text height; text_w - Text width (required)

Memberof

TextFilter

_discriminatorMapping: {
    AUDIO_MIX: string;
    AUDIO_VOLUME: string;
    CONFORM: string;
    CROP: string;
    DEINTERLACE: string;
    DENOISE_HQDN3D: string;
    EBU_R128_SINGLE_PASS: string;
    ENHANCED_DEINTERLACE: string;
    ENHANCED_WATERMARK: string;
    INTERLACE: string;
    ROTATE: string;
    SCALE: string;
    TEXT: string;
    UNSHARP: string;
    WATERMARK: string;
} = ...

Type declaration

  • AUDIO_MIX: string
  • AUDIO_VOLUME: string
  • CONFORM: string
  • CROP: string
  • DEINTERLACE: string
  • DENOISE_HQDN3D: string
  • EBU_R128_SINGLE_PASS: string
  • ENHANCED_DEINTERLACE: string
  • ENHANCED_WATERMARK: string
  • INTERLACE: string
  • ROTATE: string
  • SCALE: string
  • TEXT: string
  • UNSHARP: string
  • WATERMARK: string
_discriminatorName: "type" = 'type'