projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ae27be
)
[downloader/external] check for ffmpeg availablity when it used for m3u8 download
author
remitamine
<remitamine@gmail.com>
Sun, 13 Mar 2016 19:30:23 +0000
(20:30 +0100)
committer
remitamine
<remitamine@gmail.com>
Sun, 13 Mar 2016 19:34:51 +0000
(20:34 +0100)
youtube_dl/downloader/external.py
patch
|
blob
|
history
diff --git
a/youtube_dl/downloader/external.py
b/youtube_dl/downloader/external.py
index 85cf834c7d69a873141a8ab1ea6299742bd0185f..845a63e931e5f7a6c57e6c19812f156665f460ab 100644
(file)
--- 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']