Skip to content

VideoSubtitleTrack

VideoSubtitleTrack #

Represents a subtitle track for a video.

album_art #

album_art: bool | None = None

audio_channels #

audio_channels: int | None = None

bitrate #

bitrate: int | None = None

channels #

channels: str | None = None

channels_count #

channels_count: int | None = None

codec #

codec: str | None = None

decoder #

decoder: str | None = None

fps #

fps: Number | None = None

language #

language: str | None = None

The language of the subtitle track, e.g. 'en'.

par #

par: Number | None = None

rotate #

rotate: int | None = None

sample_rate #

sample_rate: int | None = None

src #

src: str

The subtitle source.

Supported values

title #

title: str | None = None

The title of the subtitle track, e.g. 'English'.

auto #

Default subtitle track. Selects the first subtitle track.

none #

No subtitle track. Disables subtitle output.