Use bestaudio (if available) to speedup conversions
This commit is contained in:
parent
c3237251da
commit
59291b4b8c
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ class FrontController
|
||||||
$url = $this->download->getURL($params["url"], 'mp3[protocol^=http]');
|
$url = $this->download->getURL($params["url"], 'mp3[protocol^=http]');
|
||||||
return $response->withRedirect($url);
|
return $response->withRedirect($url);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
$video = $this->download->getJSON($params["url"], 'best');
|
$video = $this->download->getJSON($params["url"], 'bestaudio/best');
|
||||||
|
|
||||||
$avconvProc = ProcessBuilder::create(
|
$avconvProc = ProcessBuilder::create(
|
||||||
array(
|
array(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue