parent
a8cd915f01
commit
003452909a
2 changed files with 22 additions and 22 deletions
|
@ -270,7 +270,7 @@ class VideoDownload
|
|||
private function getAvconvProcess(stdClass $video, $audioBitrate, $filetype = 'mp3', $audioOnly = true)
|
||||
{
|
||||
if (!$this->checkCommand([$this->config->avconv, '-version'])) {
|
||||
throw new Exception(_('Can\'t find avconv or ffmpeg.'));
|
||||
throw new Exception(_('Can\'t find avconv or ffmpeg at ').$this->config->avconv.'.');
|
||||
}
|
||||
|
||||
if ($video->protocol == 'rtmp') {
|
||||
|
@ -353,7 +353,7 @@ class VideoDownload
|
|||
public function getM3uStream(stdClass $video)
|
||||
{
|
||||
if (!$this->checkCommand([$this->config->avconv, '-version'])) {
|
||||
throw new Exception(_('Can\'t find avconv or ffmpeg.'));
|
||||
throw new Exception(_('Can\'t find avconv or ffmpeg at ').$this->config->avconv.'.');
|
||||
}
|
||||
|
||||
$process = new Process(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue