Buckets:
MisterAI/LocalAI_Demo_backends / cpu-diffusers /venv /lib /python3.10 /site-packages /av /video /stream.pyi
| from collections.abc import Sequence | |
| from fractions import Fraction | |
| from typing import Iterator, Literal | |
| from av.codec.context import ThreadType | |
| from av.packet import Packet | |
| from av.stream import Stream | |
| from .codeccontext import VideoCodecContext | |
| from .format import VideoFormat | |
| from .frame import VideoFrame | |
| class VideoStream(Stream): | |
| bit_rate: int | None | |
| max_bit_rate: int | None | |
| bit_rate_tolerance: int | |
| sample_aspect_ratio: Fraction | None | |
| display_aspect_ratio: Fraction | None | |
| codec_context: VideoCodecContext | |
| def encode(self, frame: VideoFrame | None = None) -> list[Packet]: ... | |
| def encode_lazy(self, frame: VideoFrame | None = None) -> Iterator[Packet]: ... | |
| def decode(self, packet: Packet | None = None) -> list[VideoFrame]: ... | |
| def set_display_matrix(self, matrix: Sequence[int] | None) -> None: ... | |
| def set_display_rotation( | |
| self, degrees: float, hflip: bool = ..., vflip: bool = ... | |
| ) -> None: ... | |
| # from codec context | |
| format: VideoFormat | |
| thread_count: int | |
| thread_type: ThreadType | |
| width: int | |
| height: int | |
| bits_per_coded_sample: int | |
| pix_fmt: str | None | |
| framerate: Fraction | |
| rate: Fraction | |
| gop_size: int | |
| has_b_frames: bool | |
| max_b_frames: int | |
| coded_width: int | |
| coded_height: int | |
| color_range: int | |
| color_primaries: int | |
| color_trc: int | |
| colorspace: int | |
| type: Literal["video"] | |
Xet Storage Details
- Size:
- 1.42 kB
- Xet hash:
- 4c4ecdfaadca112809aea6a452e085cb5f459d299f9469ef55ab1a35108b0e6b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.