-user-agent has been replaced by -user_agent in ffmpeg

This commit is contained in:
Pierre Rudloff 2017-11-12 15:05:47 +01:00
parent 5f7b56e437
commit 383ffca6d4

View file

@ -278,7 +278,7 @@ class VideoDownload
$this->config->avconv,
'-v', 'quiet',
//Vimeo needs a correct user-agent
'-user-agent', $this->getProp(null, null, 'dump-user-agent'),
'-user_agent', $this->getProp(null, null, 'dump-user-agent'),
'-i', $url,
'-f', 'mp3',
'-b:a', $this->config->audioBitrate.'k',