You are here

public function TranscoderAbstractionFactoryFfmpeg::getVersion in Video 7.2

Get the installed transcoder version.

Overrides TranscoderAbstractionFactory::getVersion

File

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

Class

TranscoderAbstractionFactoryFfmpeg
Class that handles FFmpeg transcoding.

Code

public function getVersion() {
  $info = $this
    ->getCachedFFmpegInfo();
  if ($info['ffmpeg-found']) {
    $ffmpegoravconv = NULL;
    return self::getVersionFromOutput($info['raw'], $ffmpegoravconv);
  }
  return FALSE;
}