public function PHPVideoToolkit::setVideoBitRate in Video 7.2
Same name and namespace in other branches
- 7 libraries/phpvideotoolkit/phpvideotoolkit.php5.php \PHPVideoToolkit::setVideoBitRate()
Sets the video bitrate
@access public
Parameters
integer $bitrate:
Return value
boolean
File
- libraries/
phpvideotoolkit/ phpvideotoolkit.php5.php, line 1585 - Libary to access FFmpeg
Class
Code
public function setVideoBitRate($bitrate) {
$bitrate = intval($bitrate);
return $this
->addCommand('-b', $bitrate . 'k');
}