feat: Add a new convertAdvanced option
It allows user to convert videos to several other audio/video formats Fixes #148
This commit is contained in:
parent
c5e3c618f2
commit
4972c8ab8e
11 changed files with 221 additions and 14 deletions
|
@ -47,6 +47,20 @@ class Config
|
|||
*/
|
||||
public $convert = false;
|
||||
|
||||
/**
|
||||
* Enable advanced conversion mode.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $convertAdvanced = false;
|
||||
|
||||
/**
|
||||
* List of formats available in advanced conversion mode.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $convertAdvancedFormats = ['mp3', 'avi', 'flv', 'wav'];
|
||||
|
||||
/**
|
||||
* avconv or ffmpeg binary path.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue