You are here

public function PHPVideoToolkit::setVideoBitRate in Video 7

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

* Sets the video bitrate * * @access public *

Parameters

integer $bitrate : * @return boolean

File

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

Class

PHPVideoToolkit

Code

public function setVideoBitRate($bitrate) {
  $bitrate = intval($bitrate);
  return $this
    ->addCommand('-b', $bitrate . 'k');
}