[ffmpeg] fix encoding mismatch in commandline arguments (fixes #4337)
This commit is contained in:
parent
772fd5cc44
commit
349ed8dcce
@ -80,8 +80,8 @@ class FFmpegPostProcessor(PostProcessor):
|
|||||||
|
|
||||||
files_cmd = []
|
files_cmd = []
|
||||||
for path in input_paths:
|
for path in input_paths:
|
||||||
files_cmd.extend(['-i', encodeFilename(path, True)])
|
files_cmd.extend([encodeArgument('-i'), encodeFilename(path, True)])
|
||||||
cmd = ([self._executable, '-y'] + files_cmd
|
cmd = ([encodeArgument(self._executable), encodeArgument('-y')] + files_cmd
|
||||||
+ [encodeArgument(o) for o in opts] +
|
+ [encodeArgument(o) for o in opts] +
|
||||||
[encodeFilename(self._ffmpeg_filename_argument(out_path), True)])
|
[encodeFilename(self._ffmpeg_filename_argument(out_path), True)])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user