youtube-dl/youtube_dl/postprocessor
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
..
__init__.py Add fixup for media files produced by HlsNative downloader(fixes #4776) 2016-03-01 21:10:41 +01:00
common.py [postprocessor/common] Use 'self._downloader.params' instead of 'self.params' 2015-09-05 12:11:36 +02:00
embedthumbnail.py [postprocessor/embedthumbnail] Recognize atomicparsley binary in lowercase (#28112) 2021-02-17 03:22:51 +07:00
execafterdownload.py [postprocessor/execafterdownload] Encode command line (closes #13407) 2017-06-17 23:16:53 +07:00
ffmpeg.py [postproc/ffmpeg] fix opus using default quality of 5 as bitrate (closes #28389) 2022-05-29 00:26:26 -07:00
metadatafromtitle.py [postprocessor/metadatafromtitle] Fix missing optional meta fields (closes #13408) 2017-06-17 19:05:10 +07:00
xattrpp.py Fix W504 and disable W503 (closes #20863) 2019-05-11 03:57:40 +07:00