mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-25 00:31:26 +01:00
Compare commits
2 Commits
3a6b0877fc
...
dc1d98a253
Author | SHA1 | Date | |
---|---|---|---|
|
dc1d98a253 | ||
|
f3fe2355ee |
|
@ -676,7 +676,7 @@ class FFmpegMetadataPP(FFmpegPostProcessor):
|
|||
|
||||
@staticmethod
|
||||
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)
|
||||
if audio_only:
|
||||
yield from ('-vn', '-acodec', 'copy')
|
||||
|
|
Loading…
Reference in New Issue
Block a user