1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2025-01-03 08:16:20 +00:00
youtube-dl/youtube_dl
d3fault 5831f6feef [postproc/ffmpeg] fix opus using default quality of 5 as bitrate (closes #28389)
Fix #28389. When extracting audio, and the containing format isn't 'opus',
but the requested format is, then youtube-dl will call ffmpeg to do the conversion.
Without specifying the preferred quality, youtube-dl defaults to '5'.
Integers 0-9 are currently sent to ffmpeg as the bitrate for 'opus',
which is clearly an error and this commit fixes that. It uses an arbitrary
(specific to opus) scale to convert 0-9 into reasonable bitrates between
6 kb/s to 210 kb/s.... with 5 (the default) giving 96 kb/s
2022-05-29 00:26:26 -07:00
..
downloader Ignore --external-downloader-args if --external-downloader was rejected 2022-03-25 14:47:26 +00:00
extractor [NHK] Support alphabetic characters in 7-char NhkVod IDs (#29682) 2022-05-09 18:54:41 +01:00
postprocessor [postproc/ffmpeg] fix opus using default quality of 5 as bitrate (closes #28389) 2022-05-29 00:26:26 -07:00
__init__.py Introduce --output-na-placeholder (closes #27896) 2021-01-22 23:54:29 +07:00
__main__.py
aes.py
cache.py
compat.py Back-port JS interpreter upgrade from yt-dlp PR #1437 2022-01-30 00:05:54 +00:00
jsinterp.py Refactor JSInterpreter._separate 2022-01-30 00:05:54 +00:00
options.py [options] Fix thumbnail option group name (closes #29042) 2021-05-16 21:34:10 +07:00
socks.py
swfinterp.py
update.py
utils.py [utils] PEP 8 2021-04-17 03:32:04 +07:00
version.py release 2021.12.17 2021-12-17 01:49:07 +07:00
YoutubeDL.py Ignore --external-downloader-args if --external-downloader was rejected 2022-03-25 14:47:26 +00:00