Fixed a bug in the way the input file is passed to the waveform request
This commit is contained in:
parent
18845d406e
commit
4c0b6f3595
1 changed files with 2 additions and 3 deletions
|
|
@ -82,10 +82,9 @@ class Waveform extends AbstractMediaType
|
|||
* @see http://ffmpeg.org/ffmpeg.html#Main-options
|
||||
*/
|
||||
$commands = array(
|
||||
'-i', 'input', '-filter_complex',
|
||||
'-i', $this->pathfile, '-filter_complex',
|
||||
'showwavespic=s='.$this->width.'x'.$this->height,
|
||||
'-frames:v', '1',
|
||||
$this->pathfile
|
||||
'-frames:v', '1'
|
||||
);
|
||||
|
||||
foreach ($this->filters as $filter) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue