diff options
Diffstat (limited to 'yt_dlp/postprocessor')
-rw-r--r-- | yt_dlp/postprocessor/embedthumbnail.py | 2 | ||||
-rw-r--r-- | yt_dlp/postprocessor/ffmpeg.py | 8 | ||||
-rw-r--r-- | yt_dlp/postprocessor/sponskrub.py | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/yt_dlp/postprocessor/embedthumbnail.py b/yt_dlp/postprocessor/embedthumbnail.py index 7f759cc30..905fbeb31 100644 --- a/yt_dlp/postprocessor/embedthumbnail.py +++ b/yt_dlp/postprocessor/embedthumbnail.py @@ -135,7 +135,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor): x for x in ['AtomicParsley', 'atomicparsley'] if check_executable(x, ['-v'])), None) if atomicparsley is None: - raise EmbedThumbnailPPError('AtomicParsley was not found. Please install.') + raise EmbedThumbnailPPError('AtomicParsley was not found. Please install') cmd = [encodeFilename(atomicparsley, True), encodeFilename(filename, True), diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.py index ff06a5c31..ffce98cd5 100644 --- a/yt_dlp/postprocessor/ffmpeg.py +++ b/yt_dlp/postprocessor/ffmpeg.py @@ -61,7 +61,7 @@ class FFmpegPostProcessor(PostProcessor): def check_version(self): if not self.available: - raise FFmpegPostProcessorError('ffmpeg not found. Please install') + raise FFmpegPostProcessorError('ffmpeg not found. Please install or provide the path using --ffmpeg-location') required_version = '10-0' if self.basename == 'avconv' else '1.0' if is_outdated_version( @@ -165,7 +165,7 @@ class FFmpegPostProcessor(PostProcessor): def get_audio_codec(self, path): if not self.probe_available and not self.available: - raise PostProcessingError('ffprobe and ffmpeg not found. Please install') + raise PostProcessingError('ffprobe and ffmpeg not found. Please install or provide the path using --ffmpeg-location') try: if self.probe_available: cmd = [ @@ -207,7 +207,7 @@ class FFmpegPostProcessor(PostProcessor): if self.probe_basename != 'ffprobe': if self.probe_available: self.report_warning('Only ffprobe is supported for metadata extraction') - raise PostProcessingError('ffprobe not found. Please install.') + raise PostProcessingError('ffprobe not found. Please install or provide the path using --ffmpeg-location') self.check_version() cmd = [ @@ -802,7 +802,7 @@ class FFmpegSplitChaptersPP(FFmpegPostProcessor): def run(self, info): chapters = info.get('chapters') or [] if not chapters: - self.report_warning('There are no tracks to extract') + self.report_warning('Chapter information is unavailable') return [], info self.to_screen('Splitting video by chapters; %d chapters found' % len(chapters)) diff --git a/yt_dlp/postprocessor/sponskrub.py b/yt_dlp/postprocessor/sponskrub.py index a55f4150b..51f841ac4 100644 --- a/yt_dlp/postprocessor/sponskrub.py +++ b/yt_dlp/postprocessor/sponskrub.py @@ -32,7 +32,7 @@ class SponSkrubPP(PostProcessor): if path: raise PostProcessingError('sponskrub not found in "%s"' % path) else: - raise PostProcessingError('sponskrub not found. Please install or provide the path using --sponskrub-path.') + raise PostProcessingError('sponskrub not found. Please install or provide the path using --sponskrub-path') def get_exe(self, path=''): if not path or not check_executable(path, ['-h']): |