You are here

public static function PHPVideoToolkit::canCodecBeDecoded in Video 7

Same name and namespace in other branches
  1. 7.2 libraries/phpvideotoolkit/phpvideotoolkit.php5.php \PHPVideoToolkit::canCodecBeDecoded()

* Checks to see if a given codec can be decoded by the current ffmpeg binary. * @access public *

Parameters

$codec string The shortcode for the codec to check for.: * @return boolean True if the codec can be decoded by ffmpeg, otherwise false.

File

libraries/phpvideotoolkit/phpvideotoolkit.php5.php, line 2828

Class

PHPVideoToolkit

Code

public static function canCodecBeDecoded($type, $codec) {
  return self::validateCodec($codec, $type, 'decode');
}