function PHPVideoToolkit::__construct in Video 7
Same name and namespace in other branches
- 7.2 libraries/phpvideotoolkit/phpvideotoolkit.php5.php \PHPVideoToolkit::__construct()
* Constructs the class and sets the temporary directory. * * @access protected *
Parameters
string $tmp_directory A full absolute path to you temporary directory:
File
- libraries/
phpvideotoolkit/ phpvideotoolkit.php5.php, line 524
Class
Code
function __construct($ffmpeg_binary = '/usr/bin/ffmpeg', $tmp_dir = '/tmp/') {
// print_r(array(debug_backtrace(), $tmp_dir));
$this->_ffmpeg_binary = $ffmpeg_binary;
$this->_tmp_directory = $tmp_dir;
}