mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[downloader/external] check for ffmpeg availablity when it used for m3u8 download
This commit is contained in:
parent
6ae27bed01
commit
77dea16ac8
1 changed files with 3 additions and 0 deletions
|
@ -175,6 +175,9 @@ def available(cls):
|
|||
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']
|
||||
|
|
Loading…
Reference in a new issue