-
Notifications
You must be signed in to change notification settings - Fork 434
Expand file tree
/
Copy pathstream.pyi
More file actions
48 lines (45 loc) · 1.07 KB
/
stream.pyi
File metadata and controls
48 lines (45 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
from enum import Flag
from fractions import Fraction
from typing import Literal
from .codec import Codec, CodecContext
from .container import Container
class Disposition(Flag):
default: int
dub: int
original: int
comment: int
lyrics: int
karaoke: int
forced: int
hearing_impaired: int
visual_impaired: int
clean_effects: int
attached_pic: int
timed_thumbnails: int
non_diegetic: int
captions: int
descriptions: int
metadata: int
dependent: int
still_image: int
multilayer: int
class Stream:
name: str | None
container: Container
codec: Codec
codec_context: CodecContext
metadata: dict[str, str]
id: int
profiles: list[str]
profile: str | None
index: int
time_base: Fraction | None
average_rate: Fraction | None
base_rate: Fraction | None
guessed_rate: Fraction | None
start_time: int | None
duration: int | None
disposition: Disposition
frames: int
language: str | None
type: Literal["video", "audio", "data", "subtitle", "attachment"]