Add --audio-streams flag to configure number of audio streams for .ts output
Since videos with translations appear to require at least as many audio streams in the intro/outro as there are audio streams in the main video, this allows to create intro/outro files for videos with more than one translation (so far, the code already created 2 streams).
This commit is contained in:
parent
edf8624da4
commit
af310d7e3e
2 changed files with 10 additions and 4 deletions
4
make.py
4
make.py
|
@ -56,6 +56,10 @@ parser.add_argument('--resvg', action="store_true", default=False, help='''
|
|||
Render frames using resvg instead of Inkscape.
|
||||
Usage: ./make.py yourproject/ --resvg
|
||||
''')
|
||||
parser.add_argument('--audio-streams', action="store", default=2, type=int, help='''
|
||||
Number of audio streams to generate.
|
||||
Usage: ./make.py yourproject/ --audio-streams 4
|
||||
''')
|
||||
|
||||
if len(sys.argv) < 2:
|
||||
parser.print_help()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue