You are here

public function TranscoderAbstractionFactoryFfmpeg::__construct in Video 7.2

Overrides TranscoderAbstractionFactory::__construct

File

transcoders/TranscoderAbstractionFactoryFfmpeg.inc, line 23
File containing class TranscoderAbstractionFactoryFfmpeg

Class

TranscoderAbstractionFactoryFfmpeg
Class that handles FFmpeg transcoding.

Code

public function __construct() {
  $this->transcoder = new PHPVideoToolkit(variable_get('video_ffmpeg_path', '/usr/bin/ffmpeg'), realpath(file_directory_temp()) . '/');
  PHPVideoToolkit::$ffmpeg_info = $this
    ->getCachedFFmpegInfo();
  parent::__construct();
}