mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-10 10:49:45 +00:00
@@ -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):
|
||||||
|
Reference in New Issue
Block a user