콘텐츠로 이동

자막

This content is for v0.4. Switch to the latest version for up-to-date documentation.

이 페이지는 문서 버전에 해당하는 project.v1.schema.json에서 자동 생성되며, 필드 설명은 원문(영어) 그대로입니다. 스키마는 형태만 검사합니다. 범위, 한도, 참조, 키프레임 순서는 엔진 검증 단계에서 검사합니다.

CaptionCue

Text shown over one timeline interval.

FieldTypeDescription
textrequiredstring

The text; \n starts a line. Non-empty, at most MAX_TEXT_CONTENT_BYTES bytes.

timeline_rangerequiredTimeRange

When the cue shows. Non-empty and not before zero.

Captions

What a caption track shows: its cues, in one style.

FieldTypeDescription
cuesrequiredCaptionCue[]

Cues in timeline order, none overlapping another: a track shows one cue at a time. Simultaneous captions take one track each.

styleTextStyle

How every cue of the track looks.

Default: {"align":"center","anchor":{"x":0.5,"y":1},"background":n…