From 691c956e91def9842dce3022503f53efc5044be8 Mon Sep 17 00:00:00 2001 From: Nitay Megides Date: Tue, 10 Dec 2019 22:07:33 +0200 Subject: [PATCH] Changed the order of the argumets for output to appear last --- ffmpeg/_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg/_run.py b/ffmpeg/_run.py index c9cbb7c..2998844 100644 --- a/ffmpeg/_run.py +++ b/ffmpeg/_run.py @@ -162,10 +162,10 @@ def get_args(stream_spec, overwrite_output=False): args += reduce(operator.add, [_get_input_args(node) for node in input_nodes]) if filter_arg: args += ['-filter_complex', filter_arg] + args += reduce(operator.add, [_get_global_args(node) for node in global_nodes], []) args += reduce( operator.add, [_get_output_args(node, stream_name_map) for node in output_nodes] ) - args += reduce(operator.add, [_get_global_args(node) for node in global_nodes], []) if overwrite_output: args += ['-y'] return args