MisterAI's picture
download
raw
989 Bytes
from typing import Literal
from av.packet import Packet
from av.stream import Stream
from .codeccontext import AudioCodecContext
from .format import AudioFormat
from .frame import AudioFrame
from .layout import AudioLayout
class _Format:
def __get__(self, i: object | None, owner: type | None = None) -> AudioFormat: ...
def __set__(self, instance: object, value: AudioFormat | str) -> None: ...
class _Layout:
def __get__(self, i: object | None, owner: type | None = None) -> AudioLayout: ...
def __set__(self, instance: object, value: AudioLayout | str) -> None: ...
class AudioStream(Stream):
codec_context: AudioCodecContext
def encode(self, frame: AudioFrame | None = None) -> list[Packet]: ...
def decode(self, packet: Packet | None = None) -> list[AudioFrame]: ...
# From codec context
frame_size: int
sample_rate: int
bit_rate: int
rate: int
channels: int
type: Literal["audio"]
format: _Format
layout: _Layout

Xet Storage Details

Size:
989 Bytes
·
Xet hash:
406b42b77d7316228e336f16f7a5a933d750cf4b761878795373cfb4985cfa94

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.