mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 16:21:24 +01:00
Compare commits
2 Commits
30355db7ff
...
3a6b0877fc
Author | SHA1 | Date | |
---|---|---|---|
|
3a6b0877fc | ||
|
f3fe2355ee |
|
@ -676,7 +676,7 @@ class FFmpegMetadataPP(FFmpegPostProcessor):
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _options(target_ext):
|
def _options(target_ext):
|
||||||
audio_only = target_ext == 'm4a'
|
audio_only = target_ext in ('opus', 'wav')
|
||||||
yield from FFmpegPostProcessor.stream_copy_opts(not audio_only)
|
yield from FFmpegPostProcessor.stream_copy_opts(not audio_only)
|
||||||
if audio_only:
|
if audio_only:
|
||||||
yield from ('-vn', '-acodec', 'copy')
|
yield from ('-vn', '-acodec', 'copy')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user