mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-08-24 16:21:40 +02:00
parent
5cf34021f5
commit
4a3175fc4c
@ -553,9 +553,9 @@ def _target_ext(self, source_ext):
|
|||||||
|
|
||||||
@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 New Issue
Block a user