Download python_embeded/Lib/site-packages/av/subtitles/subtitle.pyi from hxrron/VTONmodels: direct link, hf CLI and curl.
- Browser
- Download file 841 Bytes
-
https://huggingface.co/hxrron/VTONmodels/resolve/main/python_embeded/Lib/site-packages/av/subtitles/subtitle.pyi
- Command line
-
hf download hf://hxrron/VTONmodels/python_embeded/Lib/site-packages/av/subtitles/subtitle.pyi
-
curl -L -o subtitle.pyi https://huggingface.co/hxrron/VTONmodels/resolve/main/python_embeded/Lib/site-packages/av/subtitles/subtitle.pyi
841 Bytes
| from typing import Iterator, Literal | |
| class SubtitleSet: | |
| format: int | |
| start_display_time: int | |
| end_display_time: int | |
| pts: int | |
| rects: tuple[Subtitle] | |
| 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: ... | |