-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
57b8b61
commit a7202a7
Showing
4 changed files
with
66 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,21 @@ | ||
from fractions import Fraction | ||
from typing import Sequence | ||
|
||
from av.packet import Packet | ||
from av.stream import Stream | ||
|
||
from .core import Container | ||
|
||
class OutputContainer(Container): | ||
def __enter__(self) -> OutputContainer: ... | ||
def add_stream( | ||
self, | ||
codec_name: str | None = None, | ||
rate: Fraction | int | float | None = None, | ||
template: Stream | None = None, | ||
options: dict[str, str] | None = None, | ||
) -> Stream: ... | ||
def start_encoding(self) -> None: ... | ||
def close(self) -> None: ... | ||
def mux(self, packets: Sequence[Packet]) -> None: ... | ||
def mux_one(self, packet: Packet) -> None: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters