parent
5cf34021f5
commit
4a3175fc4c
1 changed files with 2 additions and 2 deletions
|
@ -553,9 +553,9 @@ class FFmpegVideoConvertorPP(FFmpegPostProcessor):
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _options(target_ext):
|
def _options(target_ext):
|
||||||
|
yield from FFmpegPostProcessor.stream_copy_opts(False)
|
||||||
if target_ext == 'avi':
|
if target_ext == 'avi':
|
||||||
return ['-c:v', 'libxvid', '-vtag', 'XVID']
|
yield from ('-c:v', 'libxvid', '-vtag', 'XVID')
|
||||||
return []
|
|
||||||
|
|
||||||
@PostProcessor._restrict_to(images=False)
|
@PostProcessor._restrict_to(images=False)
|
||||||
def run(self, info):
|
def run(self, info):
|
||||||
|
|
Loading…
Reference in a new issue