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(width=1920, height=1080, format='yuv420p', quiet=True)
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 |