mirror of
https://github.com/kkroening/ffmpeg-python.git
synced 2025-04-06 04:15:44 +08:00
Allow output to be created without mapped streams
This commit is contained in:
parent
db83137f53
commit
b4503a183c
@ -61,9 +61,6 @@ def output(*streams_and_filename, **kwargs):
|
||||
kwargs['filename'] = streams_and_filename.pop(-1)
|
||||
streams = streams_and_filename
|
||||
|
||||
if len(streams) < 1:
|
||||
raise ValueError("You must specify at least one stream to produce an output")
|
||||
|
||||
fmt = kwargs.pop('f', None)
|
||||
if fmt:
|
||||
if 'format' in kwargs:
|
||||
|
Loading…
x
Reference in New Issue
Block a user