Initialisation du repository de Beta
This commit is contained in:
commit
14985f6dbb
9469 changed files with 1903273 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
from typing import Literal
|
||||
|
||||
from av.codec.context import CodecContext
|
||||
from av.packet import Packet
|
||||
from av.subtitles.subtitle import SubtitleSet
|
||||
|
||||
class SubtitleCodecContext(CodecContext):
|
||||
type: Literal["subtitle"]
|
||||
subtitle_header: bytes | None
|
||||
def decode2(self, packet: Packet) -> SubtitleSet | None: ...
|
||||
def encode_subtitle(self, subtitle: SubtitleSet) -> Packet: ...
|
||||
Loading…
Add table
Add a link
Reference in a new issue