Creation of a waveform method in FFMpeg\Media\Video

This commit is contained in:
Romain Biard 2016-11-16 12:29:56 -03:00
commit 9f970c5d5a
4 changed files with 16 additions and 6 deletions

View file

@ -181,4 +181,14 @@ class Video extends Audio
{
return new Frame($this, $this->driver, $this->ffprobe, $at);
}
/**
* Gets the waveform of the video.
*
* @return Waveform
*/
public function waveform()
{
return new Waveform($this, $this->driver, $this->ffprobe);
}
}