public function PHPVideoToolkit::setAudioBitRate in Video 7.2
Same name and namespace in other branches
- 7 libraries/phpvideotoolkit/phpvideotoolkit.php5.php \PHPVideoToolkit::setAudioBitRate()
Sets the audio bitrate
@access public
Parameters
integer $audio_bitrate Valid values are 16, 32, 64:
Return value
boolean FALSE on error encountered, TRUE otherwise
2 calls to PHPVideoToolkit::setAudioBitRate()
- PHPVideoToolkit::extractAudio in libraries/
phpvideotoolkit/ phpvideotoolkit.php5.php - This is an alias for setFormat, but restricts it to audio only formats.
- PHPVideoToolkit::setFormatToFLV in libraries/
phpvideotoolkit/ phpvideotoolkit.php5.php - A shortcut for converting video to FLV.
File
- libraries/
phpvideotoolkit/ phpvideotoolkit.php5.php, line 1507 - Libary to access FFmpeg
Class
Code
public function setAudioBitRate($bitrate) {
return $this
->addCommand('-ab', $bitrate);
}