You are here

public function PHPVideoToolkit::setVideoFrameRate in Video 7

Same name and namespace in other branches
  1. 7.2 libraries/phpvideotoolkit/phpvideotoolkit.php5.php \PHPVideoToolkit::setVideoFrameRate()

* Sets the frame rate of the video * * @access public *

Parameters

string|integer $fps 1 being 1 frame per second, 1:2 being 0.5 frames per second: * @return boolean

1 call to PHPVideoToolkit::setVideoFrameRate()
PHPVideoToolkit::extractFrames in libraries/phpvideotoolkit/phpvideotoolkit.php5.php
* Extracts frames from a video. * (Note; If set to 1 and the duration set by $extract_begin_timecode and $extract_end_timecode is equal to 1 you get more than one frame. * For example if you set $extract_begin_timecode='00:00:00' and…

File

libraries/phpvideotoolkit/phpvideotoolkit.php5.php, line 1779

Class

PHPVideoToolkit

Code

public function setVideoFrameRate($fps) {
  return $this
    ->addCommand('-r', $fps);
}