-
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
18bc34b
commit ad5e81b
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, | ||
rate: Fraction | int | float, | ||
template: Stream, | ||
options: dict[str, str], | ||
) -> 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