diff options
author | pukkandan <pukkandan@gmail.com> | 2021-01-26 23:27:32 +0530 |
---|---|---|
committer | pukkandan <pukkandan@gmail.com> | 2021-01-26 23:27:32 +0530 |
commit | e4172ac903f76dfcc5584a498f7657cde0bf977c (patch) | |
tree | 7f189c869388dade01da0e7b4f04fc2bdce5be56 /youtube_dlc/postprocessor/ffmpeg.py | |
parent | 5bfa48620542d9ee34958d7c96aa45465b058fbd (diff) | |
download | hypervideo-pre-e4172ac903f76dfcc5584a498f7657cde0bf977c.tar.lz hypervideo-pre-e4172ac903f76dfcc5584a498f7657cde0bf977c.tar.xz hypervideo-pre-e4172ac903f76dfcc5584a498f7657cde0bf977c.zip |
Deprecate avconv/avprobe
All current functionality is left untouched. But don't expect any new features to work with avconv
:ci skip all
Diffstat (limited to 'youtube_dlc/postprocessor/ffmpeg.py')
-rw-r--r-- | youtube_dlc/postprocessor/ffmpeg.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/youtube_dlc/postprocessor/ffmpeg.py b/youtube_dlc/postprocessor/ffmpeg.py index 3079d2e72..18696a932 100644 --- a/youtube_dlc/postprocessor/ffmpeg.py +++ b/youtube_dlc/postprocessor/ffmpeg.py @@ -59,7 +59,7 @@ class FFmpegPostProcessor(PostProcessor): def check_version(self): if not self.available: - raise FFmpegPostProcessorError('ffmpeg or avconv not found. Please install one.') + raise FFmpegPostProcessorError('ffmpeg not found. Please install one.') required_version = '10-0' if self.basename == 'avconv' else '1.0' if is_outdated_version( @@ -102,7 +102,7 @@ class FFmpegPostProcessor(PostProcessor): if not os.path.exists(location): self.report_warning( 'ffmpeg-location %s does not exist! ' - 'Continuing without avconv/ffmpeg.' % (location)) + 'Continuing without ffmpeg.' % (location)) self._versions = {} return elif not os.path.isdir(location): @@ -110,7 +110,7 @@ class FFmpegPostProcessor(PostProcessor): if basename not in programs: self.report_warning( 'Cannot identify executable %s, its basename should be one of %s. ' - 'Continuing without avconv/ffmpeg.' % + 'Continuing without ffmpeg.' % (location, ', '.join(programs))) self._versions = {} return None @@ -163,7 +163,7 @@ class FFmpegPostProcessor(PostProcessor): def get_audio_codec(self, path): if not self.probe_available and not self.available: - raise PostProcessingError('ffprobe/avprobe and ffmpeg/avconv not found. Please install one.') + raise PostProcessingError('ffprobe and ffmpeg not found. Please install one.') try: if self.probe_available: cmd = [ |