SubtitleFileReading

class SubtitleFileReading(val cues: List<SubtitleCue>, val format: String, val assumedFrameRate: Double? = null)

What SubtitleFileParser.parseOther read from a subtitle file.

Constructors

Link copied to clipboard
constructor(cues: List<SubtitleCue>, format: String, assumedFrameRate: Double? = null)

Properties

Link copied to clipboard

The frame rate the cue times were counted at by assumption, because the file counts frames and does not say how fast they come, as a MicroDVD file without its frame-rate line does; null for a file whose times are times. The engine moves such cues onto the video's own frame rate.

Link copied to clipboard

The cues, sorted by start time.

Link copied to clipboard

The format's short name, as FFmpeg names its reader: sami, microdvd, vobsub. The track's codec is external/ and this name.