diff options
author | remitamine <remitamine@gmail.com> | 2016-03-13 20:30:23 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2016-03-13 20:34:51 +0100 |
commit | 77dea16ac8bb38d735ac6f002eaba7570a67d361 (patch) | |
tree | 763282837efce8830268ba812cc1ead09df39c8c /youtube_dl/downloader | |
parent | 6ae27bed01111ddd3c533fb94ae187306e7cf940 (diff) |
[downloader/external] check for ffmpeg availablity when it used for m3u8 download
Diffstat (limited to 'youtube_dl/downloader')
-rw-r--r-- | youtube_dl/downloader/external.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py index 85cf834c7..845a63e93 100644 --- a/youtube_dl/downloader/external.py +++ b/youtube_dl/downloader/external.py @@ -175,6 +175,9 @@ class FFmpegFD(ExternalFD): def _call_downloader(self, tmpfilename, info_dict): url = info_dict['url'] ffpp = FFmpegPostProcessor(downloader=self) + if not ffpp.available: + self.report_error('m3u8 download detected but ffmpeg or avconv could not be found. Please install one.') + return False ffpp.check_version() args = [ffpp.executable, '-y'] |