1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[downloader/external] check for ffmpeg availablity when it used for m3u8 download

This commit is contained in:
remitamine 2016-03-13 20:30:23 +01:00
parent 6ae27bed01
commit 77dea16ac8

View file

@ -175,6 +175,9 @@ class FFmpegFD(ExternalFD):
def _call_downloader(self, tmpfilename, info_dict): def _call_downloader(self, tmpfilename, info_dict):
url = info_dict['url'] url = info_dict['url']
ffpp = FFmpegPostProcessor(downloader=self) 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() ffpp.check_version()
args = [ffpp.executable, '-y'] args = [ffpp.executable, '-y']