Type
VideoTrackMetadata
Additional metadata for video tracks.
ts
type VideoTrackMetadata = BaseTrackMetadata & {
rotation?: Rotation;
frameRate?: number;
};
See BaseTrackMetadata
and Rotation
.
Used by
Properties
languageCode
ts
languageCode?: string;
The three-letter, ISO 639-2/T language code specifying the language of this track.
name
ts
name?: string;
A user-defined name for this track, like "English" or "Director Commentary".
rotation
ts
rotation?: Rotation;
The angle in degrees by which the track's frames should be rotated (clockwise).
See Rotation
.
frameRate
ts
frameRate?: number;
The expected video frame rate in hertz. If set, all timestamps and durations of this track will be snapped to this frame rate. You should avoid adding more frames than the rate allows, as this will lead to multiple frames with the same timestamp.