Declare ffmpeg binary in composer.json
This commit is contained in:
parent
cafb75a9c1
commit
c74623a9dd
4 changed files with 11 additions and 5 deletions
|
@ -31,7 +31,7 @@ Class Config
|
|||
public $python = '/usr/bin/python';
|
||||
public $params = '--no-playlist --no-warnings -f best';
|
||||
public $convert = false;
|
||||
public $avconv = 'vendor/ffmpeg/ffmpeg/ffmpeg';
|
||||
public $avconv = 'vendor/bin/ffmpeg';
|
||||
|
||||
/**
|
||||
* Config constructor
|
||||
|
|
|
@ -44,7 +44,10 @@
|
|||
"dist": {
|
||||
"url": "http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz",
|
||||
"type": "xz"
|
||||
}
|
||||
},
|
||||
"bin": [
|
||||
"ffmpeg"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
7
composer.lock
generated
7
composer.lock
generated
|
@ -4,8 +4,8 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"hash": "f0413ea9f5a3839553b545d6f8d97a04",
|
||||
"content-hash": "17101d634f04111528073e6c9e5dcb8c",
|
||||
"hash": "a4d07c0b568b699f11966a06bb02c01a",
|
||||
"content-hash": "d44f2b04ee42d003e6c04dbde30106c5",
|
||||
"packages": [
|
||||
{
|
||||
"name": "ffmpeg/ffmpeg",
|
||||
|
@ -16,6 +16,9 @@
|
|||
"reference": null,
|
||||
"shasum": null
|
||||
},
|
||||
"bin": [
|
||||
"ffmpeg"
|
||||
],
|
||||
"type": "library"
|
||||
},
|
||||
{
|
||||
|
|
|
@ -2,4 +2,4 @@ youtubedl: vendor/rg3/youtube-dl/youtube_dl/__main__.py
|
|||
python: /usr/bin/python
|
||||
params: --no-playlist --no-warnings -f best
|
||||
convert: false
|
||||
avconv: vendor/ffmpeg/ffmpeg/ffmpeg
|
||||
avconv: vendor/bin/ffmpeg
|
||||
|
|
Loading…
Reference in a new issue