diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.py index 164c46d143..0f64a9b94e 100644 --- a/yt_dlp/postprocessor/ffmpeg.py +++ b/yt_dlp/postprocessor/ffmpeg.py @@ -972,9 +972,9 @@ def run(self, info): if ext == new_ext: self.to_screen(f'Subtitle file for {new_ext} is already in the requested format') continue - elif ext == 'json': + elif ext not in self.SUPPORTED_EXTS: self.to_screen( - 'You have requested to convert json subtitles into another format, ' + f'You have requested to convert {ext} subtitles into another format, ' 'which is currently not possible') continue old_file = sub['filepath']