Buckets:
MisterAI/LocalAI_Demo_backends / cpu-diffusers.upgrade-tmp /venv /lib /python3.10 /site-packages /av /subtitles /subtitle.pyi
| from typing import Iterator, Literal | |
| class SubtitleSet: | |
| format: int | |
| start_display_time: int | |
| end_display_time: int | |
| pts: int | |
| rects: tuple[Subtitle, ...] | |
| def create( | |
| text: bytes, | |
| start: int, | |
| end: int, | |
| pts: int = 0, | |
| subtitle_format: int = 1, | |
| ) -> SubtitleSet: ... | |
| def __len__(self) -> int: ... | |
| def __iter__(self) -> Iterator[Subtitle]: ... | |
| def __getitem__(self, i: int) -> Subtitle: ... | |
| class Subtitle: ... | |
| class BitmapSubtitle(Subtitle): | |
| type: Literal[b"bitmap"] | |
| x: int | |
| y: int | |
| width: int | |
| height: int | |
| nb_colors: int | |
| planes: tuple[BitmapSubtitlePlane, ...] | |
| class BitmapSubtitlePlane: | |
| subtitle: BitmapSubtitle | |
| index: int | |
| buffer_size: int | |
| class AssSubtitle(Subtitle): | |
| type: Literal[b"ass", b"text"] | |
| def ass(self) -> bytes: ... | |
| def dialogue(self) -> bytes: ... | |
| def text(self) -> bytes: ... | |
Xet Storage Details
- Size:
- 984 Bytes
- Xet hash:
- fb4e10f0cc4d7f8028d18b457ef5643ba8931e312a8eebaf1a4309f079ecca34
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.