added -y property to ffmpeg when generating waveforms
This commit is contained in:
parent
4b1033f8a2
commit
456d9c6485
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ class Waveform extends AbstractMediaType
|
||||||
* @see http://ffmpeg.org/ffmpeg.html#Main-options
|
* @see http://ffmpeg.org/ffmpeg.html#Main-options
|
||||||
*/
|
*/
|
||||||
$commands = array(
|
$commands = array(
|
||||||
'-i', $this->pathfile, '-filter_complex',
|
'-y', '-i', $this->pathfile, '-filter_complex',
|
||||||
'showwavespic=colors='.$this->compileColors().':s='.$this->width.'x'.$this->height,
|
'showwavespic=colors='.$this->compileColors().':s='.$this->width.'x'.$this->height,
|
||||||
'-frames:v', '1'
|
'-frames:v', '1'
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue