We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bdc839 commit ca8eea7Copy full SHA for ca8eea7
src/FFMpeg/Filters/Video/ExtractMultipleFramesFilter.php
@@ -81,7 +81,7 @@ public function apply(Video $video, VideoInterface $format)
81
82
try {
83
// Get the duration of the video
84
- $duration = $this->getFormat()->get('duration');
+ $duration = $format()->get('duration');
85
86
// Get the number of frames per second we have to extract.
87
if(preg_match('/(\d+)(?:\s*)([\+\-\*\/])(?:\s*)(\d+)/', $this->frameRate, $matches) !== FALSE){
0 commit comments