Download .venv/lib/python3.12/site-packages/av/container/streams.pyi from FaustDerLegende/split: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/datasets/FaustDerLegende/split/resolve/main/.venv/lib/python3.12/site-packages/av/container/streams.pyi
- Command line
-
hf download hf://datasets/FaustDerLegende/split/.venv/lib/python3.12/site-packages/av/container/streams.pyi
-
curl -L -o streams.pyi https://huggingface.co/datasets/FaustDerLegende/split/resolve/main/.venv/lib/python3.12/site-packages/av/container/streams.pyi
1.17 kB
| from collections.abc import Iterator | |
| from typing import Literal, overload | |
| from av.audio.stream import AudioStream | |
| from av.stream import AttachmentStream, DataStream, Stream | |
| from av.subtitles.stream import SubtitleStream | |
| from av.video.stream import VideoStream | |
| class StreamContainer: | |
| video: tuple[VideoStream, ...] | |
| audio: tuple[AudioStream, ...] | |
| subtitles: tuple[SubtitleStream, ...] | |
| attachments: tuple[AttachmentStream, ...] | |
| data: tuple[DataStream, ...] | |
| def __init__(self) -> None: ... | |
| def __len__(self) -> int: ... | |
| def __iter__(self) -> Iterator[Stream]: ... | |
| def __getitem__(self, index: int) -> Stream: ... | |
| def __getitem__(self, index: slice) -> list[Stream]: ... | |
| def __getitem__(self, index: int | slice) -> Stream | list[Stream]: ... | |
| def get( | |
| self, | |
| *args: int | Stream | dict[str, int | tuple[int, ...]], | |
| **kwargs: int | tuple[int, ...], | |
| ) -> list[Stream]: ... | |
| def best( | |
| self, | |
| type: Literal["video", "audio", "subtitle", "data", "attachment"], | |
| /, | |
| related: Stream | None = None, | |
| ) -> Stream | None: ... | |