mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 02:14:32 +01:00
This commit is contained in:
parent
1063b4c707
commit
ce52c7c111
@ -217,9 +217,11 @@ class FFmpegPostProcessor(PostProcessor):
|
|||||||
encodeArgument('-i'),
|
encodeArgument('-i'),
|
||||||
encodeFilename(self._ffmpeg_filename_argument(path), True)
|
encodeFilename(self._ffmpeg_filename_argument(path), True)
|
||||||
])
|
])
|
||||||
cmd = ([encodeFilename(self.executable, True), encodeArgument('-y')] +
|
cmd = [encodeFilename(self.executable, True), encodeArgument('-y')]
|
||||||
[encodeArgument('-loglevel'), encodeArgument('repeat+info')] +
|
# avconv does not have repeat option
|
||||||
files_cmd +
|
if self.basename == 'ffmpeg':
|
||||||
|
cmd += [encodeArgument('-loglevel'), encodeArgument('repeat+info')]
|
||||||
|
cmd += (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…
Reference in New Issue
Block a user