You are here

public function video_localcommand::__construct in Video 6.5

File

transcoders/video_localcommand.inc, line 20

Class

video_localcommand

Code

public function __construct() {
  $this->usenice = PHP_OS == 'Linux' && variable_get('video_localcommand_nice_enable', FALSE);
  $this->thumbcmdoptions = variable_get('video_localcommand_thumbnailer_options', '-i !videofile -an -y -f mjpeg -ss !seek -vframes 1 !thumbfile');
  $this->faststartcmd = variable_get('video_localcommand_qtfaststart_cmd', '/usr/bin/qt-faststart');
  $this->flvtoolcmd = variable_get('video_flvtool2_path', '/usr/bin/flvtool2');
  $this->cmdpath = variable_get('video_transcoder_path', '/usr/bin/ffmpeg');
  $this->logcommands = (bool) variable_get('video_localcommand_log_commands', TRUE);
}