muxtools.subtitle.subutils
create_document
Convenience function to create a new ASS Document. With relevant fields already filled in.
Source code in
muxtools/subtitle/subutils.py
dummy_video
dummy_video(width: int = 1920, height: int = 1080, format: str = 'yuv420p', quiet: bool = True) -> Path
Creates a black dummy video using ffmpeg.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
width
|
int
|
Width of the video |
1920
|
height
|
int
|
Height of the video |
1080
|
format
|
str
|
Format of the video
Do |
'yuv420p'
|
quiet
|
bool
|
Enable or disable commandline output |
True
|
Returns:
| Type | Description |
|---|---|
Path
|
Path object of the resulting video |