PrismCore / API reference / Probing and input
Structure
SubtitleTrackInfo
struct SubtitleTrackInfoDeclared in Sources/PrismCore/Probe/SourceProbe.swift · PrismCore 3.5.4
No documentation comment in the source.
Instance properties
let isOCRReadable: BoolWhether PrismCoreSession.requestBitmapSubtitleOCR(streamIndex:) can turn this track into text here: a PGS / DVB / DVD stream on a platform with Vision. Always false for text tracks, which need no OCR.
Enumeration
SubtitleTrackInfo.Kind
enum KindWhat PrismCore can do with the track.
Cases
case textRenditionText codec (SubRip / ASS / SSA / WebVTT / mov_text): carried as a WebVTT SUBTITLES rendition, so it survives PiP and AirPlay.
case bitmapHostOnlyBitmap codec (PGS / DVB / DVD / XSUB) or teletext. Not carried as pixels; a rendition only through OCR, and only when the source has no text track. See isOCRReadable for whether the host can have it read into its cue tap with requestBitmapSubtitleOCR.
Generated from the public symbols of PrismCore 3.5.4. All types