Merge 33c9d53678c6b28023451007305b7f79a83b42d1 into ce06215af50b0781d65dcbaa975d6ed043c7f1ce

This commit is contained in:
Richard Meyers 2018-07-09 03:09:20 +00:00 committed by GitHub
commit dc567691c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,6 +121,10 @@ def _get_output_args(node, stream_name_map):
filename = kwargs.pop('filename')
if 'format' in kwargs:
args += ['-f', kwargs.pop('format')]
if 'video_codec' in kwargs:
args += ['-c:v', str(kwargs.pop('video_codec'))]
if 'audio_codec' in kwargs:
args += ['-c:a', str(kwargs.pop('audio_codec'))]
if 'video_bitrate' in kwargs:
args += ['-b:v', str(kwargs.pop('video_bitrate'))]
if 'audio_bitrate' in kwargs: