Creation of a waveform method in FFMpeg\Media\Video
This commit is contained in:
parent
b7a8be46aa
commit
9f970c5d5a
4 changed files with 16 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue